Skip to content

Commit 471c22e

Browse files
committed
1 parent d47cc6c commit 471c22e

File tree

123 files changed

+265
-235
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

123 files changed

+265
-235
lines changed

README.md

+9-9
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ Your favorite language is missing? Please let me know!
3939

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

42-
- API version: 1.0.0-rc.7
43-
- Package version: 1.0.0-rc.7
42+
- API version: 1.0.0-rc.8
43+
- Package version: 1.0.0-rc.8
4444
- Generator version: 7.11.0-SNAPSHOT
4545
- Build package: org.openapitools.codegen.languages.JavascriptClientCodegen
4646
For more information, please visit [https://discord.gg/3EtHskZD8h](https://discord.gg/3EtHskZD8h)
@@ -158,8 +158,8 @@ All URIs are relative to *https://api.dofusdu.de*
158158

159159
Class | Method | HTTP request | Description
160160
------------ | ------------- | ------------- | -------------
161-
*dofusdude.AlmanaxApi* | [**getAlmanaxDate**](docs/AlmanaxApi.md#getAlmanaxDate) | **GET** /dofus2/{language}/almanax/{date} | Single Almanax Date
162-
*dofusdude.AlmanaxApi* | [**getAlmanaxRange**](docs/AlmanaxApi.md#getAlmanaxRange) | **GET** /dofus2/{language}/almanax | Almanax Range
161+
*dofusdude.AlmanaxApi* | [**getAlmanaxDate**](docs/AlmanaxApi.md#getAlmanaxDate) | **GET** /dofus3/v1/{language}/almanax/{date} | Single Almanax Date
162+
*dofusdude.AlmanaxApi* | [**getAlmanaxRange**](docs/AlmanaxApi.md#getAlmanaxRange) | **GET** /dofus3/v1/{language}/almanax | Almanax Range
163163
*dofusdude.ConsumablesApi* | [**getAllItemsConsumablesList**](docs/ConsumablesApi.md#getAllItemsConsumablesList) | **GET** /{game}/v1/{language}/items/consumables/all | List All Consumables
164164
*dofusdude.ConsumablesApi* | [**getItemsConsumablesList**](docs/ConsumablesApi.md#getItemsConsumablesList) | **GET** /{game}/v1/{language}/items/consumables | List Consumables
165165
*dofusdude.ConsumablesApi* | [**getItemsConsumablesSearch**](docs/ConsumablesApi.md#getItemsConsumablesSearch) | **GET** /{game}/v1/{language}/items/consumables/search | Search Consumables
@@ -174,11 +174,11 @@ Class | Method | HTTP request | Description
174174
*dofusdude.EquipmentApi* | [**getItemsEquipmentSingle**](docs/EquipmentApi.md#getItemsEquipmentSingle) | **GET** /{game}/v1/{language}/items/equipment/{ankama_id} | Single Equipment
175175
*dofusdude.GameApi* | [**getGameSearch**](docs/GameApi.md#getGameSearch) | **GET** /{game}/v1/{language}/search | Game Search
176176
*dofusdude.GameApi* | [**getItemsAllSearch**](docs/GameApi.md#getItemsAllSearch) | **GET** /{game}/v1/{language}/items/search | Search All Items
177-
*dofusdude.MetaApi* | [**getGameSearchTypes**](docs/MetaApi.md#getGameSearchTypes) | **GET** /dofus3beta/v1/meta/search/types | Available Game Search Types
178-
*dofusdude.MetaApi* | [**getItemTypes**](docs/MetaApi.md#getItemTypes) | **GET** /dofus3beta/v1/meta/items/types | Available Item Types
179-
*dofusdude.MetaApi* | [**getMetaAlmanaxBonuses**](docs/MetaApi.md#getMetaAlmanaxBonuses) | **GET** /dofus2/meta/{language}/almanax/bonuses | Available Almanax Bonuses
180-
*dofusdude.MetaApi* | [**getMetaAlmanaxBonusesSearch**](docs/MetaApi.md#getMetaAlmanaxBonusesSearch) | **GET** /dofus2/meta/{language}/almanax/bonuses/search | Search Available Almanax Bonuses
181-
*dofusdude.MetaApi* | [**getMetaElements**](docs/MetaApi.md#getMetaElements) | **GET** /dofus3beta/v1/meta/elements | Effects and Condition Elements
177+
*dofusdude.MetaApi* | [**getGameSearchTypes**](docs/MetaApi.md#getGameSearchTypes) | **GET** /{game}/v1/meta/search/types | Available Game Search Types
178+
*dofusdude.MetaApi* | [**getItemTypes**](docs/MetaApi.md#getItemTypes) | **GET** /{game}/v1/meta/items/types | Available Item Types
179+
*dofusdude.MetaApi* | [**getMetaAlmanaxBonuses**](docs/MetaApi.md#getMetaAlmanaxBonuses) | **GET** /dofus3/v1/meta/{language}/almanax/bonuses | Available Almanax Bonuses
180+
*dofusdude.MetaApi* | [**getMetaAlmanaxBonusesSearch**](docs/MetaApi.md#getMetaAlmanaxBonusesSearch) | **GET** /dofus3/v1/meta/{language}/almanax/bonuses/search | Search Available Almanax Bonuses
181+
*dofusdude.MetaApi* | [**getMetaElements**](docs/MetaApi.md#getMetaElements) | **GET** /{game}/v1/meta/elements | Effects and Condition Elements
182182
*dofusdude.MetaApi* | [**getMetaVersion**](docs/MetaApi.md#getMetaVersion) | **GET** /{game}/v1/meta/version | Game Version
183183
*dofusdude.MountsApi* | [**getAllMountsList**](docs/MountsApi.md#getAllMountsList) | **GET** /{game}/v1/{language}/mounts/all | List All Mounts
184184
*dofusdude.MountsApi* | [**getMountsList**](docs/MountsApi.md#getMountsList) | **GET** /{game}/v1/{language}/mounts | List Mounts

docs/AlmanaxApi.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ All URIs are relative to *https://api.dofusdu.de*
44

55
Method | HTTP request | Description
66
------------- | ------------- | -------------
7-
[**getAlmanaxDate**](AlmanaxApi.md#getAlmanaxDate) | **GET** /dofus2/{language}/almanax/{date} | Single Almanax Date
8-
[**getAlmanaxRange**](AlmanaxApi.md#getAlmanaxRange) | **GET** /dofus2/{language}/almanax | Almanax Range
7+
[**getAlmanaxDate**](AlmanaxApi.md#getAlmanaxDate) | **GET** /dofus3/v1/{language}/almanax/{date} | Single Almanax Date
8+
[**getAlmanaxRange**](AlmanaxApi.md#getAlmanaxRange) | **GET** /dofus3/v1/{language}/almanax | Almanax Range
99

1010

1111

docs/MetaApi.md

+26-14
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,18 @@ All URIs are relative to *https://api.dofusdu.de*
44

55
Method | HTTP request | Description
66
------------- | ------------- | -------------
7-
[**getGameSearchTypes**](MetaApi.md#getGameSearchTypes) | **GET** /dofus3beta/v1/meta/search/types | Available Game Search Types
8-
[**getItemTypes**](MetaApi.md#getItemTypes) | **GET** /dofus3beta/v1/meta/items/types | Available Item Types
9-
[**getMetaAlmanaxBonuses**](MetaApi.md#getMetaAlmanaxBonuses) | **GET** /dofus2/meta/{language}/almanax/bonuses | Available Almanax Bonuses
10-
[**getMetaAlmanaxBonusesSearch**](MetaApi.md#getMetaAlmanaxBonusesSearch) | **GET** /dofus2/meta/{language}/almanax/bonuses/search | Search Available Almanax Bonuses
11-
[**getMetaElements**](MetaApi.md#getMetaElements) | **GET** /dofus3beta/v1/meta/elements | Effects and Condition Elements
7+
[**getGameSearchTypes**](MetaApi.md#getGameSearchTypes) | **GET** /{game}/v1/meta/search/types | Available Game Search Types
8+
[**getItemTypes**](MetaApi.md#getItemTypes) | **GET** /{game}/v1/meta/items/types | Available Item Types
9+
[**getMetaAlmanaxBonuses**](MetaApi.md#getMetaAlmanaxBonuses) | **GET** /dofus3/v1/meta/{language}/almanax/bonuses | Available Almanax Bonuses
10+
[**getMetaAlmanaxBonusesSearch**](MetaApi.md#getMetaAlmanaxBonusesSearch) | **GET** /dofus3/v1/meta/{language}/almanax/bonuses/search | Search Available Almanax Bonuses
11+
[**getMetaElements**](MetaApi.md#getMetaElements) | **GET** /{game}/v1/meta/elements | Effects and Condition Elements
1212
[**getMetaVersion**](MetaApi.md#getMetaVersion) | **GET** /{game}/v1/meta/version | Game Version
1313

1414

1515

1616
## getGameSearchTypes
1717

18-
> [String] getGameSearchTypes()
18+
> [String] getGameSearchTypes(game)
1919
2020
Available Game Search Types
2121

@@ -27,7 +27,8 @@ Get all types for /{game}/v1/{lang}/search available for filtering. All names ar
2727
import dofusdude from 'dofusdude-js';
2828

2929
let apiInstance = new dofusdude.MetaApi();
30-
apiInstance.getGameSearchTypes((error, data, response) => {
30+
let game = "game_example"; // String | game main 'dofus3' or beta channel 'dofus3beta'
31+
apiInstance.getGameSearchTypes(game, (error, data, response) => {
3132
if (error) {
3233
console.error(error);
3334
} else {
@@ -38,7 +39,10 @@ apiInstance.getGameSearchTypes((error, data, response) => {
3839

3940
### Parameters
4041

41-
This endpoint does not need any parameter.
42+
43+
Name | Type | Description | Notes
44+
------------- | ------------- | ------------- | -------------
45+
**game** | **String**| game main 'dofus3' or beta channel 'dofus3beta' |
4246

4347
### Return type
4448

@@ -56,7 +60,7 @@ No authorization required
5660

5761
## getItemTypes
5862

59-
> [String] getItemTypes()
63+
> [String] getItemTypes(game)
6064
6165
Available Item Types
6266

@@ -68,7 +72,8 @@ Get all types of all items. Primarily used for filtering more detailed types in
6872
import dofusdude from 'dofusdude-js';
6973

7074
let apiInstance = new dofusdude.MetaApi();
71-
apiInstance.getItemTypes((error, data, response) => {
75+
let game = "game_example"; // String | game main 'dofus3' or beta channel 'dofus3beta'
76+
apiInstance.getItemTypes(game, (error, data, response) => {
7277
if (error) {
7378
console.error(error);
7479
} else {
@@ -79,7 +84,10 @@ apiInstance.getItemTypes((error, data, response) => {
7984

8085
### Parameters
8186

82-
This endpoint does not need any parameter.
87+
88+
Name | Type | Description | Notes
89+
------------- | ------------- | ------------- | -------------
90+
**game** | **String**| game main 'dofus3' or beta channel 'dofus3beta' |
8391

8492
### Return type
8593

@@ -193,7 +201,7 @@ No authorization required
193201

194202
## getMetaElements
195203

196-
> [String] getMetaElements()
204+
> [String] getMetaElements(game)
197205
198206
Effects and Condition Elements
199207

@@ -205,7 +213,8 @@ Get the mappings for all specific elements that are linked in the dataset. All n
205213
import dofusdude from 'dofusdude-js';
206214

207215
let apiInstance = new dofusdude.MetaApi();
208-
apiInstance.getMetaElements((error, data, response) => {
216+
let game = "game_example"; // String | game main 'dofus3' or beta channel 'dofus3beta'
217+
apiInstance.getMetaElements(game, (error, data, response) => {
209218
if (error) {
210219
console.error(error);
211220
} else {
@@ -216,7 +225,10 @@ apiInstance.getMetaElements((error, data, response) => {
216225

217226
### Parameters
218227

219-
This endpoint does not need any parameter.
228+
229+
Name | Type | Description | Notes
230+
------------- | ------------- | ------------- | -------------
231+
**game** | **String**| game main 'dofus3' or beta channel 'dofus3beta' |
220232

221233
### Return type
222234

package-lock.json

+20-20
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "dofusdude-js",
3-
"version": "1.0.0-rc.7",
3+
"version": "1.0.0-rc.8",
44
"description": "# Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js --save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts --save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). ",
55
"license": "MIT",
66
"main": "dist/index.js",

src/ApiClient.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* dofusdude
33
* # Open Ankama Developer Community The all-in-one toolbelt for your next Ankama related project. ## Versions - [Dofus 2](https://docs.dofusdu.de/dofus2/) - [Dofus 3](https://docs.dofusdu.de/dofus3/) - v1 [latest] (you are here) ## Client SDKs - [Javascript](https://github.com/dofusdude/dofusdude-js) `npm i dofusdude-js --save` - [Typescript](https://github.com/dofusdude/dofusdude-ts) `npm i dofusdude-ts --save` - [Go](https://github.com/dofusdude/dodugo) `go get -u github.com/dofusdude/dodugo` - [Python](https://github.com/dofusdude/dofusdude-py) `pip install dofusdude` - [Java](https://github.com/dofusdude/dofusdude-java) Maven with GitHub packages setup Everything, including this site, is generated out of the [Docs Repo](https://github.com/dofusdude/api-docs). Consider it the Single Source of Truth. If there is a problem with the SDKs, create an issue there. Your favorite language is missing? Please let me know! # Main Features - 🥷 **Seamless Auto-Update** load data in the background when a new Dofus version is released and serving it within 10 minutes with atomic data source switching. No downtime and no effects for the user, just always up-to-date. - ⚡ **Blazingly Fast** all data in-memory, aggressive caching over short time spans, HTTP/2 multiplexing, written in Go, optimized for low latency, hosted on bare metal in 🇩🇪. - 📨 **Almanax Discord Integration** Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 3 Beta** from stable to bleeding edge by replacing /dofus3 with /dofus3beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_, _de_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Official Sources** generated from actual data from the game. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h).
44
*
5-
* The version of the OpenAPI document: 1.0.0-rc.7
5+
* The version of the OpenAPI document: 1.0.0-rc.8
66
* Contact: [email protected]
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -16,7 +16,7 @@ import superagent from "superagent";
1616

1717
/**
1818
* @module ApiClient
19-
* @version 1.0.0-rc.7
19+
* @version 1.0.0-rc.8
2020
*/
2121

2222
/**
@@ -53,7 +53,7 @@ class ApiClient {
5353
* @default {}
5454
*/
5555
this.defaultHeaders = {
56-
'User-Agent': 'OpenAPI-Generator/1.0.0-rc.7/Javascript'
56+
'User-Agent': 'OpenAPI-Generator/1.0.0-rc.8/Javascript'
5757
};
5858

5959
/**

0 commit comments

Comments
 (0)