All URIs are relative to https://api.dofusdu.de
Method | HTTP request | Description |
---|---|---|
get_game_search_types | GET /dofus2/meta/search/types | Available Game Search Types |
get_meta_almanax_bonuses | GET /dofus2/meta/{language}/almanax/bonuses | Available Almanax Bonuses |
get_meta_almanax_bonuses_search | GET /dofus2/meta/{language}/almanax/bonuses/search | Search Available Almanax Bonuses |
get_meta_elements | GET /dofus2/meta/elements | Effects and Condition Elements |
List[str] get_game_search_types()
Available Game Search Types
Get all types for /{game}/{lang}/search available for filtering. All names are english for comparing them inside applications. Order is fixed so you can compare indices instead of strings.
import dofusdude
from dofusdude.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.dofusdu.de
# See configuration.py for a list of all supported configuration parameters.
configuration = dofusdude.Configuration(
host = "https://api.dofusdu.de"
)
# 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.MetaApi(api_client)
try:
# Available Game Search Types
api_response = api_instance.get_game_search_types()
print("The response of MetaApi->get_game_search_types:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling MetaApi->get_game_search_types: %s\n" % e)
This endpoint does not need any parameter.
List[str]
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | OK | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
List[GetMetaAlmanaxBonuses200ResponseInner] get_meta_almanax_bonuses(language)
Available Almanax Bonuses
Get all the available bonuses and their id for filtering them in the range endpoint.
import dofusdude
from dofusdude.models.get_meta_almanax_bonuses200_response_inner import GetMetaAlmanaxBonuses200ResponseInner
from dofusdude.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.dofusdu.de
# See configuration.py for a list of all supported configuration parameters.
configuration = dofusdude.Configuration(
host = "https://api.dofusdu.de"
)
# 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.MetaApi(api_client)
language = 'fr' # str |
try:
# Available Almanax Bonuses
api_response = api_instance.get_meta_almanax_bonuses(language)
print("The response of MetaApi->get_meta_almanax_bonuses:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling MetaApi->get_meta_almanax_bonuses: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
language | str |
List[GetMetaAlmanaxBonuses200ResponseInner]
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | OK | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
List[GetMetaAlmanaxBonuses200ResponseInner] get_meta_almanax_bonuses_search(language, query, limit=limit)
Search Available Almanax Bonuses
Search all the available bonuses and their id for filtering them in the range endpoint.
import dofusdude
from dofusdude.models.get_meta_almanax_bonuses200_response_inner import GetMetaAlmanaxBonuses200ResponseInner
from dofusdude.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.dofusdu.de
# See configuration.py for a list of all supported configuration parameters.
configuration = dofusdude.Configuration(
host = "https://api.dofusdu.de"
)
# 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.MetaApi(api_client)
language = 'fr' # str | a valid language code
query = 'abond' # str | case sensitive search query
limit = 56 # int | maximum number of returned results (optional)
try:
# Search Available Almanax Bonuses
api_response = api_instance.get_meta_almanax_bonuses_search(language, query, limit=limit)
print("The response of MetaApi->get_meta_almanax_bonuses_search:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling MetaApi->get_meta_almanax_bonuses_search: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
language | str | a valid language code | |
query | str | case sensitive search query | |
limit | int | maximum number of returned results | [optional] |
List[GetMetaAlmanaxBonuses200ResponseInner]
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | OK | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
List[str] get_meta_elements()
Effects and Condition Elements
Get the mappings for all specific elements that are linked in the dataset. All names are english. Translations are not needed because of a global unique id which is the index inside the array. Future elements will get a higher id.
import dofusdude
from dofusdude.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.dofusdu.de
# See configuration.py for a list of all supported configuration parameters.
configuration = dofusdude.Configuration(
host = "https://api.dofusdu.de"
)
# 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.MetaApi(api_client)
try:
# Effects and Condition Elements
api_response = api_instance.get_meta_elements()
print("The response of MetaApi->get_meta_elements:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling MetaApi->get_meta_elements: %s\n" % e)
This endpoint does not need any parameter.
List[str]
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | OK | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]