All URIs are relative to https://api.dofusdu.de
Method | HTTP request | Description |
---|---|---|
getGameSearchTypes | GET /{game}/v1/meta/search/types | Available Game Search Types |
getItemTypes | GET /{game}/v1/meta/items/types | Available Item Types |
getMetaAlmanaxBonuses | GET /dofus3/v1/meta/{language}/almanax/bonuses | Available Almanax Bonuses |
getMetaAlmanaxBonusesSearch | GET /dofus3/v1/meta/{language}/almanax/bonuses/search | Search Available Almanax Bonuses |
getMetaElements | GET /{game}/v1/meta/elements | Effects and Condition Elements |
getMetaVersion | GET /{game}/v1/meta/version | Game Version |
[String] getGameSearchTypes(game)
Available Game Search Types
Get all types for /{game}/v1/{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-js';
let apiInstance = new dofusdude.MetaApi();
let game = "dofus3"; // String | game main 'dofus3' or beta channel 'dofus3beta'
apiInstance.getGameSearchTypes(game, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});
Name | Type | Description | Notes |
---|---|---|---|
game | String | game main 'dofus3' or beta channel 'dofus3beta' |
[String]
No authorization required
- Content-Type: Not defined
- Accept: application/json
[String] getItemTypes(game)
Available Item Types
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.
import dofusdude from 'dofusdude-js';
let apiInstance = new dofusdude.MetaApi();
let game = "dofus3"; // String | game main 'dofus3' or beta channel 'dofus3beta'
apiInstance.getItemTypes(game, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});
Name | Type | Description | Notes |
---|---|---|---|
game | String | game main 'dofus3' or beta channel 'dofus3beta' |
[String]
No authorization required
- Content-Type: Not defined
- Accept: application/json
[GetMetaAlmanaxBonuses200ResponseInner] getMetaAlmanaxBonuses(language)
Available Almanax Bonuses
Get all the available bonuses and their id for filtering them in the range endpoint.
import dofusdude from 'dofusdude-js';
let apiInstance = new dofusdude.MetaApi();
let language = "fr"; // String | a valid language code
apiInstance.getMetaAlmanaxBonuses(language, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});
Name | Type | Description | Notes |
---|---|---|---|
language | String | a valid language code |
[GetMetaAlmanaxBonuses200ResponseInner]
No authorization required
- Content-Type: Not defined
- Accept: application/json
[GetMetaAlmanaxBonuses200ResponseInner] getMetaAlmanaxBonusesSearch(language, query, opts)
Search Available Almanax Bonuses
Search all the available bonuses and their id for filtering them in the range endpoint.
import dofusdude from 'dofusdude-js';
let apiInstance = new dofusdude.MetaApi();
let language = "fr"; // String | a valid language code
let query = "abond"; // String | case sensitive search query
let opts = {
'limit': 56 // Number | maximum number of returned results
};
apiInstance.getMetaAlmanaxBonusesSearch(language, query, opts, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});
Name | Type | Description | Notes |
---|---|---|---|
language | String | a valid language code | |
query | String | case sensitive search query | |
limit | Number | maximum number of returned results | [optional] |
[GetMetaAlmanaxBonuses200ResponseInner]
No authorization required
- Content-Type: Not defined
- Accept: application/json
[String] getMetaElements(game)
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-js';
let apiInstance = new dofusdude.MetaApi();
let game = "dofus3"; // String | game main 'dofus3' or beta channel 'dofus3beta'
apiInstance.getMetaElements(game, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});
Name | Type | Description | Notes |
---|---|---|---|
game | String | game main 'dofus3' or beta channel 'dofus3beta' |
[String]
No authorization required
- Content-Type: Not defined
- Accept: application/json
Version getMetaVersion(game)
Game Version
The current game version of the hosted data.
import dofusdude from 'dofusdude-js';
let apiInstance = new dofusdude.MetaApi();
let game = "dofus3"; // String | game main 'dofus3' or beta channel 'dofus3beta'
apiInstance.getMetaVersion(game, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});
Name | Type | Description | Notes |
---|---|---|---|
game | String | game main 'dofus3' or beta channel 'dofus3beta' |
No authorization required
- Content-Type: Not defined
- Accept: application/json