-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update from dofusdude/api-docs@9335e9e
- Loading branch information
Showing
128 changed files
with
209 additions
and
144 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
7.11.0-SNAPSHOT | ||
7.12.0-SNAPSHOT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,15 +7,15 @@ | |
# 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). | ||
The version of the OpenAPI document: 1.0.0-rc.8 | ||
The version of the OpenAPI document: 1.0.0-rc.9 | ||
Contact: [email protected] | ||
Generated by OpenAPI Generator (https://openapi-generator.tech) | ||
Do not edit the class manually. | ||
""" # noqa: E501 | ||
|
||
|
||
__version__ = "1.0.0-rc.8" | ||
__version__ = "1.0.0-rc.9" | ||
|
||
# import apis into sdk package | ||
from dofusdude.api.almanax_api import AlmanaxApi | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
# 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). | ||
The version of the OpenAPI document: 1.0.0-rc.8 | ||
The version of the OpenAPI document: 1.0.0-rc.9 | ||
Contact: [email protected] | ||
Generated by OpenAPI Generator (https://openapi-generator.tech) | ||
|
@@ -18,7 +18,7 @@ | |
from typing_extensions import Annotated | ||
|
||
from datetime import date | ||
from pydantic import Field, StrictStr, field_validator | ||
from pydantic import Field, StrictInt, StrictStr, field_validator | ||
from typing import List, Optional | ||
from typing_extensions import Annotated | ||
from dofusdude.models.almanax import Almanax | ||
|
@@ -46,6 +46,7 @@ def get_almanax_date( | |
self, | ||
language: Annotated[StrictStr, Field(description="code")], | ||
var_date: Annotated[date, Field(description="yyyy-mm-dd")], | ||
level: Annotated[Optional[StrictInt], Field(description="character level for the reward_xp field")] = None, | ||
_request_timeout: Union[ | ||
None, | ||
Annotated[StrictFloat, Field(gt=0)], | ||
|
@@ -67,6 +68,8 @@ def get_almanax_date( | |
:type language: str | ||
:param var_date: yyyy-mm-dd (required) | ||
:type var_date: date | ||
:param level: character level for the reward_xp field | ||
:type level: int | ||
:param _request_timeout: timeout setting for this request. If one | ||
number provided, it will be total request | ||
timeout. It can also be a pair (tuple) of | ||
|
@@ -92,6 +95,7 @@ def get_almanax_date( | |
_param = self._get_almanax_date_serialize( | ||
language=language, | ||
var_date=var_date, | ||
level=level, | ||
_request_auth=_request_auth, | ||
_content_type=_content_type, | ||
_headers=_headers, | ||
|
@@ -117,6 +121,7 @@ def get_almanax_date_with_http_info( | |
self, | ||
language: Annotated[StrictStr, Field(description="code")], | ||
var_date: Annotated[date, Field(description="yyyy-mm-dd")], | ||
level: Annotated[Optional[StrictInt], Field(description="character level for the reward_xp field")] = None, | ||
_request_timeout: Union[ | ||
None, | ||
Annotated[StrictFloat, Field(gt=0)], | ||
|
@@ -138,6 +143,8 @@ def get_almanax_date_with_http_info( | |
:type language: str | ||
:param var_date: yyyy-mm-dd (required) | ||
:type var_date: date | ||
:param level: character level for the reward_xp field | ||
:type level: int | ||
:param _request_timeout: timeout setting for this request. If one | ||
number provided, it will be total request | ||
timeout. It can also be a pair (tuple) of | ||
|
@@ -163,6 +170,7 @@ def get_almanax_date_with_http_info( | |
_param = self._get_almanax_date_serialize( | ||
language=language, | ||
var_date=var_date, | ||
level=level, | ||
_request_auth=_request_auth, | ||
_content_type=_content_type, | ||
_headers=_headers, | ||
|
@@ -188,6 +196,7 @@ def get_almanax_date_without_preload_content( | |
self, | ||
language: Annotated[StrictStr, Field(description="code")], | ||
var_date: Annotated[date, Field(description="yyyy-mm-dd")], | ||
level: Annotated[Optional[StrictInt], Field(description="character level for the reward_xp field")] = None, | ||
_request_timeout: Union[ | ||
None, | ||
Annotated[StrictFloat, Field(gt=0)], | ||
|
@@ -209,6 +218,8 @@ def get_almanax_date_without_preload_content( | |
:type language: str | ||
:param var_date: yyyy-mm-dd (required) | ||
:type var_date: date | ||
:param level: character level for the reward_xp field | ||
:type level: int | ||
:param _request_timeout: timeout setting for this request. If one | ||
number provided, it will be total request | ||
timeout. It can also be a pair (tuple) of | ||
|
@@ -234,6 +245,7 @@ def get_almanax_date_without_preload_content( | |
_param = self._get_almanax_date_serialize( | ||
language=language, | ||
var_date=var_date, | ||
level=level, | ||
_request_auth=_request_auth, | ||
_content_type=_content_type, | ||
_headers=_headers, | ||
|
@@ -254,6 +266,7 @@ def _get_almanax_date_serialize( | |
self, | ||
language, | ||
var_date, | ||
level, | ||
_request_auth, | ||
_content_type, | ||
_headers, | ||
|
@@ -280,6 +293,10 @@ def _get_almanax_date_serialize( | |
if var_date is not None: | ||
_path_params['date'] = var_date | ||
# process the query parameters | ||
if level is not None: | ||
|
||
_query_params.append(('level', level)) | ||
|
||
# process the header parameters | ||
# process the form parameters | ||
# process the body parameter | ||
|
@@ -325,6 +342,7 @@ def get_almanax_range( | |
range_to: Annotated[Optional[date], Field(description="yyyy-mm-dd")] = None, | ||
range_size: Annotated[Optional[Annotated[int, Field(le=370, strict=True)]], Field(description="Size of the returned range. Disable to fully use the range by setting size to -1.")] = None, | ||
timezone: Annotated[Optional[StrictStr], Field(description="determine what the current time is. If you live in Brazil, \"today\" will be hours apart from Paris. Use your timezone to get results relative to your location.")] = None, | ||
level: Annotated[Optional[StrictInt], Field(description="character level for the reward_xp field")] = None, | ||
_request_timeout: Union[ | ||
None, | ||
Annotated[StrictFloat, Field(gt=0)], | ||
|
@@ -354,6 +372,8 @@ def get_almanax_range( | |
:type range_size: int | ||
:param timezone: determine what the current time is. If you live in Brazil, \"today\" will be hours apart from Paris. Use your timezone to get results relative to your location. | ||
:type timezone: str | ||
:param level: character level for the reward_xp field | ||
:type level: int | ||
:param _request_timeout: timeout setting for this request. If one | ||
number provided, it will be total request | ||
timeout. It can also be a pair (tuple) of | ||
|
@@ -383,6 +403,7 @@ def get_almanax_range( | |
range_to=range_to, | ||
range_size=range_size, | ||
timezone=timezone, | ||
level=level, | ||
_request_auth=_request_auth, | ||
_content_type=_content_type, | ||
_headers=_headers, | ||
|
@@ -412,6 +433,7 @@ def get_almanax_range_with_http_info( | |
range_to: Annotated[Optional[date], Field(description="yyyy-mm-dd")] = None, | ||
range_size: Annotated[Optional[Annotated[int, Field(le=370, strict=True)]], Field(description="Size of the returned range. Disable to fully use the range by setting size to -1.")] = None, | ||
timezone: Annotated[Optional[StrictStr], Field(description="determine what the current time is. If you live in Brazil, \"today\" will be hours apart from Paris. Use your timezone to get results relative to your location.")] = None, | ||
level: Annotated[Optional[StrictInt], Field(description="character level for the reward_xp field")] = None, | ||
_request_timeout: Union[ | ||
None, | ||
Annotated[StrictFloat, Field(gt=0)], | ||
|
@@ -441,6 +463,8 @@ def get_almanax_range_with_http_info( | |
:type range_size: int | ||
:param timezone: determine what the current time is. If you live in Brazil, \"today\" will be hours apart from Paris. Use your timezone to get results relative to your location. | ||
:type timezone: str | ||
:param level: character level for the reward_xp field | ||
:type level: int | ||
:param _request_timeout: timeout setting for this request. If one | ||
number provided, it will be total request | ||
timeout. It can also be a pair (tuple) of | ||
|
@@ -470,6 +494,7 @@ def get_almanax_range_with_http_info( | |
range_to=range_to, | ||
range_size=range_size, | ||
timezone=timezone, | ||
level=level, | ||
_request_auth=_request_auth, | ||
_content_type=_content_type, | ||
_headers=_headers, | ||
|
@@ -499,6 +524,7 @@ def get_almanax_range_without_preload_content( | |
range_to: Annotated[Optional[date], Field(description="yyyy-mm-dd")] = None, | ||
range_size: Annotated[Optional[Annotated[int, Field(le=370, strict=True)]], Field(description="Size of the returned range. Disable to fully use the range by setting size to -1.")] = None, | ||
timezone: Annotated[Optional[StrictStr], Field(description="determine what the current time is. If you live in Brazil, \"today\" will be hours apart from Paris. Use your timezone to get results relative to your location.")] = None, | ||
level: Annotated[Optional[StrictInt], Field(description="character level for the reward_xp field")] = None, | ||
_request_timeout: Union[ | ||
None, | ||
Annotated[StrictFloat, Field(gt=0)], | ||
|
@@ -528,6 +554,8 @@ def get_almanax_range_without_preload_content( | |
:type range_size: int | ||
:param timezone: determine what the current time is. If you live in Brazil, \"today\" will be hours apart from Paris. Use your timezone to get results relative to your location. | ||
:type timezone: str | ||
:param level: character level for the reward_xp field | ||
:type level: int | ||
:param _request_timeout: timeout setting for this request. If one | ||
number provided, it will be total request | ||
timeout. It can also be a pair (tuple) of | ||
|
@@ -557,6 +585,7 @@ def get_almanax_range_without_preload_content( | |
range_to=range_to, | ||
range_size=range_size, | ||
timezone=timezone, | ||
level=level, | ||
_request_auth=_request_auth, | ||
_content_type=_content_type, | ||
_headers=_headers, | ||
|
@@ -581,6 +610,7 @@ def _get_almanax_range_serialize( | |
range_to, | ||
range_size, | ||
timezone, | ||
level, | ||
_request_auth, | ||
_content_type, | ||
_headers, | ||
|
@@ -643,6 +673,10 @@ def _get_almanax_range_serialize( | |
|
||
_query_params.append(('timezone', timezone)) | ||
|
||
if level is not None: | ||
|
||
_query_params.append(('level', level)) | ||
|
||
# process the header parameters | ||
# process the form parameters | ||
# process the body parameter | ||
|
Oops, something went wrong.