Skip to content

Commit 9a375ac

Browse files
committed
1 parent d2ff71e commit 9a375ac

File tree

141 files changed

+340
-271
lines changed

Some content is hidden

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

141 files changed

+340
-271
lines changed

README.md

+12-12
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# dofusdude-java
22

33
dofusdude
4-
- API version: 1.0.0-rc.7
5-
- Build date: 2024-12-01T19:14:21.697992966Z[Etc/UTC]
4+
- API version: 1.0.0-rc.8
5+
- Build date: 2024-12-03T11:58:09.304302806Z[Etc/UTC]
66
- Generator version: 7.11.0-SNAPSHOT
77

88
# Open Ankama Developer Community
@@ -77,7 +77,7 @@ Add this dependency to your project's POM:
7777
<dependency>
7878
<groupId>com.dofusdude</groupId>
7979
<artifactId>dofusdude-java</artifactId>
80-
<version>1.0.0-rc.7</version>
80+
<version>1.0.0-rc.8</version>
8181
<scope>compile</scope>
8282
</dependency>
8383
```
@@ -93,7 +93,7 @@ Add this dependency to your project's build file:
9393
}
9494
9595
dependencies {
96-
implementation "com.dofusdude:dofusdude-java:1.0.0-rc.7"
96+
implementation "com.dofusdude:dofusdude-java:1.0.0-rc.8"
9797
}
9898
```
9999

@@ -107,7 +107,7 @@ mvn clean package
107107

108108
Then manually install the following JARs:
109109

110-
* `target/dofusdude-java-1.0.0-rc.7.jar`
110+
* `target/dofusdude-java-1.0.0-rc.8.jar`
111111
* `target/lib/*.jar`
112112

113113
## Getting Started
@@ -152,8 +152,8 @@ All URIs are relative to *https://api.dofusdu.de*
152152

153153
Class | Method | HTTP request | Description
154154
------------ | ------------- | ------------- | -------------
155-
*AlmanaxApi* | [**getAlmanaxDate**](docs/AlmanaxApi.md#getAlmanaxDate) | **GET** /dofus2/{language}/almanax/{date} | Single Almanax Date
156-
*AlmanaxApi* | [**getAlmanaxRange**](docs/AlmanaxApi.md#getAlmanaxRange) | **GET** /dofus2/{language}/almanax | Almanax Range
155+
*AlmanaxApi* | [**getAlmanaxDate**](docs/AlmanaxApi.md#getAlmanaxDate) | **GET** /dofus3/v1/{language}/almanax/{date} | Single Almanax Date
156+
*AlmanaxApi* | [**getAlmanaxRange**](docs/AlmanaxApi.md#getAlmanaxRange) | **GET** /dofus3/v1/{language}/almanax | Almanax Range
157157
*ConsumablesApi* | [**getAllItemsConsumablesList**](docs/ConsumablesApi.md#getAllItemsConsumablesList) | **GET** /{game}/v1/{language}/items/consumables/all | List All Consumables
158158
*ConsumablesApi* | [**getItemsConsumablesList**](docs/ConsumablesApi.md#getItemsConsumablesList) | **GET** /{game}/v1/{language}/items/consumables | List Consumables
159159
*ConsumablesApi* | [**getItemsConsumablesSearch**](docs/ConsumablesApi.md#getItemsConsumablesSearch) | **GET** /{game}/v1/{language}/items/consumables/search | Search Consumables
@@ -168,11 +168,11 @@ Class | Method | HTTP request | Description
168168
*EquipmentApi* | [**getItemsEquipmentSingle**](docs/EquipmentApi.md#getItemsEquipmentSingle) | **GET** /{game}/v1/{language}/items/equipment/{ankama_id} | Single Equipment
169169
*GameApi* | [**getGameSearch**](docs/GameApi.md#getGameSearch) | **GET** /{game}/v1/{language}/search | Game Search
170170
*GameApi* | [**getItemsAllSearch**](docs/GameApi.md#getItemsAllSearch) | **GET** /{game}/v1/{language}/items/search | Search All Items
171-
*MetaApi* | [**getGameSearchTypes**](docs/MetaApi.md#getGameSearchTypes) | **GET** /dofus3beta/v1/meta/search/types | Available Game Search Types
172-
*MetaApi* | [**getItemTypes**](docs/MetaApi.md#getItemTypes) | **GET** /dofus3beta/v1/meta/items/types | Available Item Types
173-
*MetaApi* | [**getMetaAlmanaxBonuses**](docs/MetaApi.md#getMetaAlmanaxBonuses) | **GET** /dofus2/meta/{language}/almanax/bonuses | Available Almanax Bonuses
174-
*MetaApi* | [**getMetaAlmanaxBonusesSearch**](docs/MetaApi.md#getMetaAlmanaxBonusesSearch) | **GET** /dofus2/meta/{language}/almanax/bonuses/search | Search Available Almanax Bonuses
175-
*MetaApi* | [**getMetaElements**](docs/MetaApi.md#getMetaElements) | **GET** /dofus3beta/v1/meta/elements | Effects and Condition Elements
171+
*MetaApi* | [**getGameSearchTypes**](docs/MetaApi.md#getGameSearchTypes) | **GET** /{game}/v1/meta/search/types | Available Game Search Types
172+
*MetaApi* | [**getItemTypes**](docs/MetaApi.md#getItemTypes) | **GET** /{game}/v1/meta/items/types | Available Item Types
173+
*MetaApi* | [**getMetaAlmanaxBonuses**](docs/MetaApi.md#getMetaAlmanaxBonuses) | **GET** /dofus3/v1/meta/{language}/almanax/bonuses | Available Almanax Bonuses
174+
*MetaApi* | [**getMetaAlmanaxBonusesSearch**](docs/MetaApi.md#getMetaAlmanaxBonusesSearch) | **GET** /dofus3/v1/meta/{language}/almanax/bonuses/search | Search Available Almanax Bonuses
175+
*MetaApi* | [**getMetaElements**](docs/MetaApi.md#getMetaElements) | **GET** /{game}/v1/meta/elements | Effects and Condition Elements
176176
*MetaApi* | [**getMetaVersion**](docs/MetaApi.md#getMetaVersion) | **GET** /{game}/v1/meta/version | Game Version
177177
*MountsApi* | [**getAllMountsList**](docs/MountsApi.md#getAllMountsList) | **GET** /{game}/v1/{language}/mounts/all | List All Mounts
178178
*MountsApi* | [**getMountsList**](docs/MountsApi.md#getMountsList) | **GET** /{game}/v1/{language}/mounts | List Mounts

api/openapi.yaml

+35-11
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ info:
3232
name: GPL-3.0
3333
url: https://github.com/dofusdude/doduapi/blob/main/LICENSE
3434
title: dofusdude
35-
version: 1.0.0-rc.7
35+
version: 1.0.0-rc.8
3636
servers:
3737
- description: API
3838
url: https://api.dofusdu.de
@@ -3551,7 +3551,7 @@ paths:
35513551
id: wbxzhlcid1l0w
35523552
x-accepts:
35533553
- application/json
3554-
/dofus2/{language}/almanax:
3554+
/dofus3/v1/{language}/almanax:
35553555
get:
35563556
description: "Get a range of dates, defaults to today + 6 following days but\
35573557
\ can specified by the query parameters. \n\nfilter[bonus_type] can be used\
@@ -3651,7 +3651,7 @@ paths:
36513651
id: fy8l7o3sz1jyo
36523652
x-accepts:
36533653
- application/json
3654-
/dofus2/{language}/almanax/{date}:
3654+
/dofus3/v1/{language}/almanax/{date}:
36553655
get:
36563656
description: Get a single date. There are not more details in the returned object
36573657
than the normal range endpoint.
@@ -3697,14 +3697,22 @@ paths:
36973697
id: d0000xjgaenyh
36983698
x-accepts:
36993699
- application/json
3700-
/dofus3beta/v1/meta/elements:
3700+
/{game}/v1/meta/elements:
37013701
get:
37023702
description: Get the mappings for all specific elements that are linked in the
37033703
dataset. All names are english. Translations are not needed because of a global
37043704
unique id which is the index inside the array. Future elements will get a
37053705
higher id.
37063706
operationId: get-meta-elements
3707-
parameters: []
3707+
parameters:
3708+
- description: game main 'dofus3' or beta channel 'dofus3beta'
3709+
explode: false
3710+
in: path
3711+
name: game
3712+
required: true
3713+
schema:
3714+
type: string
3715+
style: simple
37083716
responses:
37093717
"200":
37103718
content:
@@ -3758,13 +3766,21 @@ paths:
37583766
id: ha9mde87rn0in
37593767
x-accepts:
37603768
- application/json
3761-
/dofus3beta/v1/meta/search/types:
3769+
/{game}/v1/meta/search/types:
37623770
get:
37633771
description: "Get all types for /{game}/v1/{lang}/search available for filtering.\
37643772
\ All names are english for comparing them inside applications. Order is fixed\
37653773
\ so you can compare indices instead of strings."
37663774
operationId: get-game-search-types
3767-
parameters: []
3775+
parameters:
3776+
- description: game main 'dofus3' or beta channel 'dofus3beta'
3777+
explode: false
3778+
in: path
3779+
name: game
3780+
required: true
3781+
schema:
3782+
type: string
3783+
style: simple
37683784
responses:
37693785
"200":
37703786
content:
@@ -3791,14 +3807,22 @@ paths:
37913807
id: v67mknkhaif2h
37923808
x-accepts:
37933809
- application/json
3794-
/dofus3beta/v1/meta/items/types:
3810+
/{game}/v1/meta/items/types:
37953811
get:
37963812
description: |-
37973813
Get all types of all items. Primarily used for filtering more detailed types in listings or search endpoints.
37983814
All names are english for comparing them inside applications.
37993815
Ordering is not guaranteed to persist with game updates.
38003816
operationId: get-item-types
3801-
parameters: []
3817+
parameters:
3818+
- description: game main 'dofus3' or beta channel 'dofus3beta'
3819+
explode: false
3820+
in: path
3821+
name: game
3822+
required: true
3823+
schema:
3824+
type: string
3825+
style: simple
38023826
responses:
38033827
"200":
38043828
content:
@@ -3825,7 +3849,7 @@ paths:
38253849
id: j8a5zpi8i20xe
38263850
x-accepts:
38273851
- application/json
3828-
/dofus2/meta/{language}/almanax/bonuses:
3852+
/dofus3/v1/meta/{language}/almanax/bonuses:
38293853
get:
38303854
description: Get all the available bonuses and their id for filtering them in
38313855
the range endpoint.
@@ -3879,7 +3903,7 @@ paths:
38793903
id: y3rp6gd28quli
38803904
x-accepts:
38813905
- application/json
3882-
/dofus2/meta/{language}/almanax/bonuses/search:
3906+
/dofus3/v1/meta/{language}/almanax/bonuses/search:
38833907
get:
38843908
description: Search all the available bonuses and their id for filtering them
38853909
in the range endpoint.

build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ apply plugin: 'java'
44
apply plugin: 'com.diffplug.spotless'
55

66
group = 'com.dofusdude'
7-
version = '1.0.0-rc.7'
7+
version = '1.0.0-rc.8'
88

99
buildscript {
1010
repositories {

build.sbt

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ lazy val root = (project in file(".")).
22
settings(
33
organization := "com.dofusdude",
44
name := "dofusdude-java",
5-
version := "1.0.0-rc.7",
5+
version := "1.0.0-rc.8",
66
scalaVersion := "2.11.4",
77
scalacOptions ++= Seq("-feature"),
88
javacOptions in compile ++= Seq("-Xlint:deprecation"),

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
<a id="getAlmanaxDate"></a>

docs/MetaApi.md

+26-14
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,17 @@ 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
<a id="getGameSearchTypes"></a>
1616
# **getGameSearchTypes**
17-
> List&lt;String&gt; getGameSearchTypes()
17+
> List&lt;String&gt; getGameSearchTypes(game)
1818
1919
Available Game Search Types
2020

@@ -35,8 +35,9 @@ public class Example {
3535
defaultClient.setBasePath("https://api.dofusdu.de");
3636

3737
MetaApi apiInstance = new MetaApi(defaultClient);
38+
String game = "game_example"; // String | game main 'dofus3' or beta channel 'dofus3beta'
3839
try {
39-
List<String> result = apiInstance.getGameSearchTypes();
40+
List<String> result = apiInstance.getGameSearchTypes(game);
4041
System.out.println(result);
4142
} catch (ApiException e) {
4243
System.err.println("Exception when calling MetaApi#getGameSearchTypes");
@@ -50,7 +51,10 @@ public class Example {
5051
```
5152

5253
### Parameters
53-
This endpoint does not need any parameter.
54+
55+
| Name | Type | Description | Notes |
56+
|------------- | ------------- | ------------- | -------------|
57+
| **game** | **String**| game main &#39;dofus3&#39; or beta channel &#39;dofus3beta&#39; | |
5458

5559
### Return type
5660

@@ -72,7 +76,7 @@ No authorization required
7276

7377
<a id="getItemTypes"></a>
7478
# **getItemTypes**
75-
> List&lt;String&gt; getItemTypes()
79+
> List&lt;String&gt; getItemTypes(game)
7680
7781
Available Item Types
7882

@@ -93,8 +97,9 @@ public class Example {
9397
defaultClient.setBasePath("https://api.dofusdu.de");
9498

9599
MetaApi apiInstance = new MetaApi(defaultClient);
100+
String game = "game_example"; // String | game main 'dofus3' or beta channel 'dofus3beta'
96101
try {
97-
List<String> result = apiInstance.getItemTypes();
102+
List<String> result = apiInstance.getItemTypes(game);
98103
System.out.println(result);
99104
} catch (ApiException e) {
100105
System.err.println("Exception when calling MetaApi#getItemTypes");
@@ -108,7 +113,10 @@ public class Example {
108113
```
109114

110115
### Parameters
111-
This endpoint does not need any parameter.
116+
117+
| Name | Type | Description | Notes |
118+
|------------- | ------------- | ------------- | -------------|
119+
| **game** | **String**| game main &#39;dofus3&#39; or beta channel &#39;dofus3beta&#39; | |
112120

113121
### Return type
114122

@@ -258,7 +266,7 @@ No authorization required
258266

259267
<a id="getMetaElements"></a>
260268
# **getMetaElements**
261-
> List&lt;String&gt; getMetaElements()
269+
> List&lt;String&gt; getMetaElements(game)
262270
263271
Effects and Condition Elements
264272

@@ -279,8 +287,9 @@ public class Example {
279287
defaultClient.setBasePath("https://api.dofusdu.de");
280288

281289
MetaApi apiInstance = new MetaApi(defaultClient);
290+
String game = "game_example"; // String | game main 'dofus3' or beta channel 'dofus3beta'
282291
try {
283-
List<String> result = apiInstance.getMetaElements();
292+
List<String> result = apiInstance.getMetaElements(game);
284293
System.out.println(result);
285294
} catch (ApiException e) {
286295
System.err.println("Exception when calling MetaApi#getMetaElements");
@@ -294,7 +303,10 @@ public class Example {
294303
```
295304

296305
### Parameters
297-
This endpoint does not need any parameter.
306+
307+
| Name | Type | Description | Notes |
308+
|------------- | ------------- | ------------- | -------------|
309+
| **game** | **String**| game main &#39;dofus3&#39; or beta channel &#39;dofus3beta&#39; | |
298310

299311
### Return type
300312

pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<artifactId>dofusdude-java</artifactId>
66
<packaging>jar</packaging>
77
<name>dofusdude-java</name>
8-
<version>1.0.0-rc.7</version>
8+
<version>1.0.0-rc.8</version>
99
<url>https://github.com/dofusdude/dofusdude-java</url>
1010
<description>dofusdude-client</description>
1111
<scm>

src/main/java/com/dofusdude/client/ApiCallback.java

+1-1
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: stelzo@steado.de
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

src/main/java/com/dofusdude/client/ApiClient.java

+2-2
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: stelzo@steado.de
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -139,7 +139,7 @@ private void init() {
139139
json = new JSON();
140140

141141
// Set default User-Agent.
142-
setUserAgent("OpenAPI-Generator/1.0.0-rc.7/java");
142+
setUserAgent("OpenAPI-Generator/1.0.0-rc.8/java");
143143

144144
authentications = new HashMap<String, Authentication>();
145145
}

0 commit comments

Comments
 (0)