Skip to content

Commit 2b1b695

Browse files
committed
1 parent 799ec87 commit 2b1b695

21 files changed

+285
-109
lines changed

.github/workflows/python.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,16 @@ name: dofusdude Python package
77

88
on: [push, pull_request]
99

10+
permissions:
11+
contents: read
12+
1013
jobs:
1114
build:
1215

1316
runs-on: ubuntu-latest
1417
strategy:
1518
matrix:
16-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
19+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
1720

1821
steps:
1922
- uses: actions/checkout@v4
@@ -28,4 +31,4 @@ jobs:
2831
pip install -r test-requirements.txt
2932
- name: Test with pytest
3033
run: |
31-
pytest --cov={{packageName}}
34+
pytest --cov=dofusdude

.gitlab-ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@ stages:
1414
- pip install -r test-requirements.txt
1515
- pytest --cov=dofusdude
1616

17-
pytest-3.8:
18-
extends: .pytest
19-
image: python:3.8-alpine
2017
pytest-3.9:
2118
extends: .pytest
2219
image: python:3.9-alpine
@@ -29,3 +26,6 @@ pytest-3.11:
2926
pytest-3.12:
3027
extends: .pytest
3128
image: python:3.12-alpine
29+
pytest-3.13:
30+
extends: .pytest
31+
image: python:3.13-alpine

.openapi-generator/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7.12.0-SNAPSHOT
1+
7.14.0-SNAPSHOT

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# ref: https://docs.travis-ci.com/user/languages/python
22
language: python
33
python:
4-
- "3.8"
54
- "3.9"
65
- "3.10"
76
- "3.11"
87
- "3.12"
8+
- "3.13"
99
# uncomment the following if needed
10-
#- "3.12-dev" # 3.12 development branch
10+
#- "3.13-dev" # 3.13 development branch
1111
#- "nightly" # nightly build
1212
# command to install dependencies
1313
install:

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,13 @@ This Python package is automatically generated by the [OpenAPI Generator](https:
4040

4141
- API version: 1.0.0
4242
- Package version: 1.0.0
43-
- Generator version: 7.12.0-SNAPSHOT
43+
- Generator version: 7.14.0-SNAPSHOT
4444
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
4545
For more information, please visit [https://discord.gg/3EtHskZD8h](https://discord.gg/3EtHskZD8h)
4646

4747
## Requirements.
4848

49-
Python 3.8+
49+
Python 3.9+
5050

5151
## Installation & Usage
5252
### pip install

docs/AlmanaxApi.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,19 @@ No authorization required
8585
8686
Almanax Range
8787

88-
Get a range of dates, defaults to today + 6 following days but can specified by the query parameters. filter[bonus_type] can be used seperately and does not have an effect on the other parameters. range[from] changes the start date, everything else defaults to 6 following dates from this start date. range[to] when used without anything else, it will use today as start date and this parameter as end. All ranges are inclusive. range[from] + range[to] = inclusive range over the specified dates, should never be farther apart than 35 days. range[from|to] + range[size] no need to specify the date, just following days with [from] (0 is today) or go backwards in time with only [to] and [size]. Not all combinations are listed but this should give you an idea how to they could work.
88+
Get a range of dates, defaults to today + 6 following days but can specified by the query parameters.
89+
90+
filter[bonus_type] can be used seperately and does not have an effect on the other parameters.
91+
92+
range[from] changes the start date, everything else defaults to 6 following dates from this start date.
93+
94+
range[to] when used without anything else, it will use today as start date and this parameter as end. All ranges are inclusive.
95+
96+
range[from] + range[to] = inclusive range over the specified dates, should never be farther apart than 35 days.
97+
98+
range[from|to] + range[size] no need to specify the date, just following days with [from] (0 is today) or go backwards in time with only [to] and [size].
99+
100+
Not all combinations are listed but this should give you an idea how to they could work.
89101

90102
### Example
91103

docs/ConsumablesApi.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,17 @@ Method | HTTP request | Description
1515
1616
List All Consumables
1717

18-
Retrieve all consumable items with one request. This endpoint is just an alias for the a list with disabled pagination (page[size]=-1) and all fields[type] set. If you want everything unfiltered, delete the other query parameters. Be careful with testing or (god forbid) using /all in your browser, the returned json is huge and will slow down the browser! Tip: set the HTTP Header 'Accept-Encoding: gzip' for saving bandwidth. You will need to uncompress it on your end. Example with cURL: ``` curl -sH 'Accept-Encoding: gzip' <api-endpoint> | gunzip - ```
18+
Retrieve all consumable items with one request. This endpoint is just an alias for the a list with disabled pagination (page[size]=-1) and all fields[type] set.
19+
20+
If you want everything unfiltered, delete the other query parameters.
21+
22+
Be careful with testing or (god forbid) using /all in your browser, the returned json is huge and will slow down the browser!
23+
24+
Tip: set the HTTP Header 'Accept-Encoding: gzip' for saving bandwidth. You will need to uncompress it on your end.
25+
Example with cURL:
26+
```
27+
curl -sH 'Accept-Encoding: gzip' <api-endpoint> | gunzip -
28+
```
1929

2030
### Example
2131

@@ -43,7 +53,7 @@ with dofusdude.ApiClient(configuration) as api_client:
4353
filter_min_level = 150 # int | only results which level is equal or above this value (optional)
4454
filter_max_level = 180 # int | only results which level is equal or below this value (optional)
4555
accept_encoding = 'accept_encoding_example' # str | optional compression for saving bandwidth (optional)
46-
filter_type_name_id = ['[\"boots\"]'] # List[str] | multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional)
56+
filter_type_name_id = ['[\"chest\"]'] # List[str] | multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional)
4757

4858
try:
4959
# List All Consumables

docs/CosmeticsApi.md

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,17 @@ Method | HTTP request | Description
1515
1616
List All Cosmetics
1717

18-
Retrieve all cosmetic items with one request. This endpoint is just an alias for the a list with disabled pagination (page[size]=-1) and all fields[type] set. If you want everything unfiltered, delete the other query parameters. Be careful with testing or (god forbid) using /all in your browser, the returned json is huge and will slow down the browser! Tip: set the HTTP Header 'Accept-Encoding: gzip' for saving bandwidth. You will need to uncompress it on your end. Example with cURL: ``` curl -sH 'Accept-Encoding: gzip' <api-endpoint> | gunzip - ```
18+
Retrieve all cosmetic items with one request. This endpoint is just an alias for the a list with disabled pagination (page[size]=-1) and all fields[type] set.
19+
20+
If you want everything unfiltered, delete the other query parameters.
21+
22+
Be careful with testing or (god forbid) using /all in your browser, the returned json is huge and will slow down the browser!
23+
24+
Tip: set the HTTP Header 'Accept-Encoding: gzip' for saving bandwidth. You will need to uncompress it on your end.
25+
Example with cURL:
26+
```
27+
curl -sH 'Accept-Encoding: gzip' <api-endpoint> | gunzip -
28+
```
1929

2030
### Example
2131

@@ -43,7 +53,7 @@ with dofusdude.ApiClient(configuration) as api_client:
4353
filter_min_level = 1 # int | only results which level is equal or above this value (optional)
4454
filter_max_level = 5 # int | only results which level is equal or below this value (optional)
4555
accept_encoding = 'accept_encoding_example' # str | optional compression for saving bandwidth (optional)
46-
filter_type_name_id = ['[\"boots\"]'] # List[str] | multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional)
56+
filter_type_name_id = ['[\"ceremonial-wings\"]'] # List[str] | multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional)
4757

4858
try:
4959
# List All Cosmetics
@@ -211,7 +221,7 @@ with dofusdude.ApiClient(configuration) as api_client:
211221
filter_min_level = 1 # int | only results which level is equal or above this value (optional)
212222
filter_max_level = 2 # int | only results which level is equal or below this value (optional)
213223
limit = 8 # int | maximum number of returned results (optional) (default to 8)
214-
filter_type_name_id = ['[\"wings\"]'] # List[str] | multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional)
224+
filter_type_name_id = ['[\"ceremonial-wings\"]'] # List[str] | multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional)
215225

216226
try:
217227
# Search Cosmetics

docs/EquipmentApi.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,17 @@ Method | HTTP request | Description
1515
1616
List All Equipment
1717

18-
Retrieve all equipment items with one request. This endpoint is just an alias for the a list with disabled pagination (page[size]=-1) and all fields[type] set. If you want everything unfiltered, delete the other query parameters. Be careful with testing or (god forbid) using /all in your browser, the returned json is huge and will slow down the browser! Tip: set the HTTP Header 'Accept-Encoding: gzip' for saving bandwidth. You will need to uncompress it on your end. Example with cURL: ``` curl -sH 'Accept-Encoding: gzip' <api-endpoint> | gunzip - ```
18+
Retrieve all equipment items with one request. This endpoint is just an alias for the a list with disabled pagination (page[size]=-1) and all fields[type] set.
19+
20+
If you want everything unfiltered, delete the other query parameters.
21+
22+
Be careful with testing or (god forbid) using /all in your browser, the returned json is huge and will slow down the browser!
23+
24+
Tip: set the HTTP Header 'Accept-Encoding: gzip' for saving bandwidth. You will need to uncompress it on your end.
25+
Example with cURL:
26+
```
27+
curl -sH 'Accept-Encoding: gzip' <api-endpoint> | gunzip -
28+
```
1929

2030
### Example
2131

@@ -288,7 +298,7 @@ with dofusdude.ApiClient(configuration) as api_client:
288298
# Create an instance of the API class
289299
api_instance = dofusdude.EquipmentApi(api_client)
290300
language = 'language_example' # str | a valid language code
291-
ankama_id = 26009 # int | identifier
301+
ankama_id = 13971 # int | identifier
292302
game = 'dofus3' # str | game main 'dofus3' or beta channel 'dofus3beta'
293303

294304
try:

docs/MetaApi.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,9 @@ No authorization required
8484
8585
Available Item Types
8686

87-
Get all types of all items. Primarily used for filtering more detailed types in listings or search endpoints. All names are english for comparing them inside applications. Ordering is not guaranteed to persist with game updates.
87+
Get all types of all items. Primarily used for filtering more detailed types in listings or search endpoints.
88+
All names are english for comparing them inside applications.
89+
Ordering is not guaranteed to persist with game updates.
8890

8991
### Example
9092

0 commit comments

Comments
 (0)