Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
stelzo committed Aug 10, 2023
1 parent a0d3871 commit 2bb87fa
Show file tree
Hide file tree
Showing 132 changed files with 1,210 additions and 477 deletions.
9 changes: 6 additions & 3 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
.openapi-generator-ignore
.travis.yml
README.md
docs/AllItemsApi.md
docs/AlmanaxApi.md
docs/AlmanaxEntry.md
docs/AlmanaxEntryBonus.md
Expand All @@ -29,6 +28,8 @@ docs/Equipment.md
docs/EquipmentApi.md
docs/EquipmentParentSet.md
docs/EquipmentSet.md
docs/GameApi.md
docs/GetGameSearch200ResponseInner.md
docs/GetMetaAlmanaxBonuses200ResponseInner.md
docs/GetMetaWebhooksTwitter200Response.md
docs/ImageUrls.md
Expand Down Expand Up @@ -59,11 +60,11 @@ docs/WeaponRange.md
docs/WebhooksApi.md
dofusdude/__init__.py
dofusdude/api/__init__.py
dofusdude/api/all_items_api.py
dofusdude/api/almanax_api.py
dofusdude/api/consumables_api.py
dofusdude/api/cosmetics_api.py
dofusdude/api/equipment_api.py
dofusdude/api/game_api.py
dofusdude/api/meta_api.py
dofusdude/api/mounts_api.py
dofusdude/api/quest_items_api.py
Expand Down Expand Up @@ -95,6 +96,7 @@ dofusdude/models/effects_entry_type.py
dofusdude/models/equipment.py
dofusdude/models/equipment_parent_set.py
dofusdude/models/equipment_set.py
dofusdude/models/get_game_search200_response_inner.py
dofusdude/models/get_meta_almanax_bonuses200_response_inner.py
dofusdude/models/get_meta_webhooks_twitter200_response.py
dofusdude/models/image_urls.py
Expand Down Expand Up @@ -126,7 +128,6 @@ setup.cfg
setup.py
test-requirements.txt
test/__init__.py
test/test_all_items_api.py
test/test_almanax_api.py
test/test_almanax_entry.py
test/test_almanax_entry_bonus.py
Expand All @@ -151,6 +152,8 @@ test/test_equipment.py
test/test_equipment_api.py
test/test_equipment_parent_set.py
test/test_equipment_set.py
test/test_game_api.py
test/test_get_game_search200_response_inner.py
test/test_get_meta_almanax_bonuses200_response_inner.py
test/test_get_meta_webhooks_twitter200_response.py
test/test_image_urls.py
Expand Down
28 changes: 13 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ The servers have a fixed monthly cost to provide very fast responses. If you wan

This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:

- API version: 0.7.2
- Package version: 0.7.2
- API version: 0.8.0
- Package version: 0.8.0
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
For more information, please visit [https://discord.gg/3EtHskZD8h](https://discord.gg/3EtHskZD8h)

Expand Down Expand Up @@ -142,22 +142,17 @@ configuration = dofusdude.Configuration(
# Enter a context with an instance of the API client
with dofusdude.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = dofusdude.AllItemsApi(api_client)
language = 'fr' # str | a valid language code
game = 'dofus2' # str |
query = 'atcham' # str | case sensitive search query
filter_type_name = 'Bottes' # str | only results with the translated type name across all item_subtypes (optional)
filter_min_level = 190 # int | only results which level is equal or above this value (optional)
filter_max_level = 200 # int | only results which level is equal or below this value (optional)
limit = 8 # int | maximum number of returned results (optional) (default to 8)
api_instance = dofusdude.AlmanaxApi(api_client)
language = 'fr' # str | code
var_date = 'Tue Jul 14 00:00:00 UTC 2020' # date | yyyy-mm-dd

try:
# Search All Items
api_response = api_instance.get_items_all_search(language, game, query, filter_type_name=filter_type_name, filter_min_level=filter_min_level, filter_max_level=filter_max_level, limit=limit)
print("The response of AllItemsApi->get_items_all_search:\n")
# Single Almanax Date
api_response = api_instance.get_almanax_date(language, var_date)
print("The response of AlmanaxApi->get_almanax_date:\n")
pprint(api_response)
except ApiException as e:
print("Exception when calling AllItemsApi->get_items_all_search: %s\n" % e)
print("Exception when calling AlmanaxApi->get_almanax_date: %s\n" % e)

```

Expand All @@ -167,7 +162,6 @@ All URIs are relative to *https://api.dofusdu.de*

Class | Method | HTTP request | Description
------------ | ------------- | ------------- | -------------
*AllItemsApi* | [**get_items_all_search**](docs/AllItemsApi.md#get_items_all_search) | **GET** /{game}/{language}/items/search | Search All Items
*AlmanaxApi* | [**get_almanax_date**](docs/AlmanaxApi.md#get_almanax_date) | **GET** /dofus2/{language}/almanax/{date} | Single Almanax Date
*AlmanaxApi* | [**get_almanax_range**](docs/AlmanaxApi.md#get_almanax_range) | **GET** /dofus2/{language}/almanax | Almanax Range
*ConsumablesApi* | [**get_all_items_consumables_list**](docs/ConsumablesApi.md#get_all_items_consumables_list) | **GET** /{game}/{language}/items/consumables/all | List All Consumables
Expand All @@ -182,6 +176,9 @@ Class | Method | HTTP request | Description
*EquipmentApi* | [**get_items_equipment_list**](docs/EquipmentApi.md#get_items_equipment_list) | **GET** /{game}/{language}/items/equipment | List Equipment
*EquipmentApi* | [**get_items_equipment_search**](docs/EquipmentApi.md#get_items_equipment_search) | **GET** /{game}/{language}/items/equipment/search | Search Equipment
*EquipmentApi* | [**get_items_equipment_single**](docs/EquipmentApi.md#get_items_equipment_single) | **GET** /{game}/{language}/items/equipment/{ankama_id} | Single Equipment
*GameApi* | [**get_game_search**](docs/GameApi.md#get_game_search) | **GET** /{game}/{language}/search | Game Search
*GameApi* | [**get_items_all_search**](docs/GameApi.md#get_items_all_search) | **GET** /{game}/{language}/items/search | Search All Items
*MetaApi* | [**get_game_search_types**](docs/MetaApi.md#get_game_search_types) | **GET** /dofus2/meta/search/types | Available Game Search Types
*MetaApi* | [**get_meta_almanax_bonuses**](docs/MetaApi.md#get_meta_almanax_bonuses) | **GET** /dofus2/meta/{language}/almanax/bonuses | Available Almanax Bonuses
*MetaApi* | [**get_meta_elements**](docs/MetaApi.md#get_meta_elements) | **GET** /dofus2/meta/elements | Effects and Condition Elements
*MountsApi* | [**get_all_mounts_list**](docs/MountsApi.md#get_all_mounts_list) | **GET** /{game}/{language}/mounts/all | List All Mounts
Expand Down Expand Up @@ -239,6 +236,7 @@ Class | Method | HTTP request | Description
- [Equipment](docs/Equipment.md)
- [EquipmentParentSet](docs/EquipmentParentSet.md)
- [EquipmentSet](docs/EquipmentSet.md)
- [GetGameSearch200ResponseInner](docs/GetGameSearch200ResponseInner.md)
- [GetMetaAlmanaxBonuses200ResponseInner](docs/GetMetaAlmanaxBonuses200ResponseInner.md)
- [GetMetaWebhooksTwitter200Response](docs/GetMetaWebhooksTwitter200Response.md)
- [ImageUrls](docs/ImageUrls.md)
Expand Down
89 changes: 0 additions & 89 deletions docs/AllItemsApi.md

This file was deleted.

2 changes: 2 additions & 0 deletions docs/AlmanaxApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ with dofusdude.ApiClient(configuration) as api_client:
```



### Parameters

Name | Type | Description | Notes
Expand Down Expand Up @@ -121,6 +122,7 @@ with dofusdude.ApiClient(configuration) as api_client:
```



### Parameters

Name | Type | Description | Notes
Expand Down
4 changes: 4 additions & 0 deletions docs/ConsumablesApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ with dofusdude.ApiClient(configuration) as api_client:
```



### Parameters

Name | Type | Description | Notes
Expand Down Expand Up @@ -138,6 +139,7 @@ with dofusdude.ApiClient(configuration) as api_client:
```



### Parameters

Name | Type | Description | Notes
Expand Down Expand Up @@ -220,6 +222,7 @@ with dofusdude.ApiClient(configuration) as api_client:
```



### Parameters

Name | Type | Description | Notes
Expand Down Expand Up @@ -296,6 +299,7 @@ with dofusdude.ApiClient(configuration) as api_client:
```



### Parameters

Name | Type | Description | Notes
Expand Down
4 changes: 4 additions & 0 deletions docs/CosmeticsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ with dofusdude.ApiClient(configuration) as api_client:
```



### Parameters

Name | Type | Description | Notes
Expand Down Expand Up @@ -138,6 +139,7 @@ with dofusdude.ApiClient(configuration) as api_client:
```



### Parameters

Name | Type | Description | Notes
Expand Down Expand Up @@ -220,6 +222,7 @@ with dofusdude.ApiClient(configuration) as api_client:
```



### Parameters

Name | Type | Description | Notes
Expand Down Expand Up @@ -296,6 +299,7 @@ with dofusdude.ApiClient(configuration) as api_client:
```



### Parameters

Name | Type | Description | Notes
Expand Down
4 changes: 4 additions & 0 deletions docs/EquipmentApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ with dofusdude.ApiClient(configuration) as api_client:
```



### Parameters

Name | Type | Description | Notes
Expand Down Expand Up @@ -138,6 +139,7 @@ with dofusdude.ApiClient(configuration) as api_client:
```



### Parameters

Name | Type | Description | Notes
Expand Down Expand Up @@ -220,6 +222,7 @@ with dofusdude.ApiClient(configuration) as api_client:
```



### Parameters

Name | Type | Description | Notes
Expand Down Expand Up @@ -296,6 +299,7 @@ with dofusdude.ApiClient(configuration) as api_client:
```



### Parameters

Name | Type | Description | Notes
Expand Down
Loading

0 comments on commit 2bb87fa

Please sign in to comment.