diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index c1b4f02..162d6f7 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -43,6 +43,7 @@ docs/EquipmentSet.md docs/GameAPI.md docs/GetGameSearch200ResponseInner.md docs/GetMetaAlmanaxBonuses200ResponseInner.md +docs/GetMetaVersion200Response.md docs/GetMetaWebhooksTwitter200Response.md docs/ImageUrls.md docs/ItemListEntry.md @@ -99,6 +100,7 @@ model_equipment.go model_equipment_set.go model_get_game_search_200_response_inner.go model_get_meta_almanax_bonuses_200_response_inner.go +model_get_meta_version_200_response.go model_get_meta_webhooks_twitter_200_response.go model_image_urls.go model_item_list_entry.go diff --git a/.openapi-generator/VERSION b/.openapi-generator/VERSION index ecb2186..17f2442 100644 --- a/.openapi-generator/VERSION +++ b/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0-SNAPSHOT +7.9.0-SNAPSHOT diff --git a/README.md b/README.md index 745b5b2..899d707 100644 --- a/README.md +++ b/README.md @@ -38,9 +38,9 @@ Your favorite language is missing? Please let me know! ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. -- API version: 0.9.0 +- API version: 0.9.1 - Package version: 1.0.0 -- Generator version: 7.6.0-SNAPSHOT +- Generator version: 7.9.0-SNAPSHOT - Build package: org.openapitools.codegen.languages.GoClientCodegen For more information, please visit [https://discord.gg/3EtHskZD8h](https://discord.gg/3EtHskZD8h) @@ -129,9 +129,11 @@ Class | Method | HTTP request | Description *GameAPI* | [**GetGameSearch**](docs/GameAPI.md#getgamesearch) | **Get** /{game}/{language}/search | Game Search *GameAPI* | [**GetItemsAllSearch**](docs/GameAPI.md#getitemsallsearch) | **Get** /{game}/{language}/items/search | Search All Items *MetaAPI* | [**GetGameSearchTypes**](docs/MetaAPI.md#getgamesearchtypes) | **Get** /dofus2/meta/search/types | Available Game Search Types +*MetaAPI* | [**GetItemTypes**](docs/MetaAPI.md#getitemtypes) | **Get** /dofus2/meta/items/types | Available Item Types *MetaAPI* | [**GetMetaAlmanaxBonuses**](docs/MetaAPI.md#getmetaalmanaxbonuses) | **Get** /dofus2/meta/{language}/almanax/bonuses | Available Almanax Bonuses *MetaAPI* | [**GetMetaAlmanaxBonusesSearch**](docs/MetaAPI.md#getmetaalmanaxbonusessearch) | **Get** /dofus2/meta/{language}/almanax/bonuses/search | Search Available Almanax Bonuses *MetaAPI* | [**GetMetaElements**](docs/MetaAPI.md#getmetaelements) | **Get** /dofus2/meta/elements | Effects and Condition Elements +*MetaAPI* | [**GetMetaVersion**](docs/MetaAPI.md#getmetaversion) | **Get** /dofus2/meta/version | Game Version *MountsAPI* | [**GetAllMountsList**](docs/MountsAPI.md#getallmountslist) | **Get** /{game}/{language}/mounts/all | List All Mounts *MountsAPI* | [**GetMountsList**](docs/MountsAPI.md#getmountslist) | **Get** /{game}/{language}/mounts | List Mounts *MountsAPI* | [**GetMountsSearch**](docs/MountsAPI.md#getmountssearch) | **Get** /{game}/{language}/mounts/search | Search Mounts @@ -189,6 +191,7 @@ Class | Method | HTTP request | Description - [EquipmentSet](docs/EquipmentSet.md) - [GetGameSearch200ResponseInner](docs/GetGameSearch200ResponseInner.md) - [GetMetaAlmanaxBonuses200ResponseInner](docs/GetMetaAlmanaxBonuses200ResponseInner.md) + - [GetMetaVersion200Response](docs/GetMetaVersion200Response.md) - [GetMetaWebhooksTwitter200Response](docs/GetMetaWebhooksTwitter200Response.md) - [ImageUrls](docs/ImageUrls.md) - [ItemListEntry](docs/ItemListEntry.md) diff --git a/api/openapi.yaml b/api/openapi.yaml index 33ef7dd..bf2c018 100644 --- a/api/openapi.yaml +++ b/api/openapi.yaml @@ -39,7 +39,7 @@ info: ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). title: dofusdude - version: 0.9.0 + version: 0.9.1 servers: - description: API url: https://api.dofusdu.de @@ -145,6 +145,20 @@ paths: minimum: 1 type: integer style: form + - description: multi-filter results with the english type name. Add with "wood" + or "+wood" and exclude with "-wood". + explode: false + in: query + name: "filter[type_enum]" + required: false + schema: + example: + - boots + items: + type: string + type: array + uniqueItems: true + style: form responses: "200": content: @@ -515,6 +529,20 @@ paths: minimum: 1 type: integer style: form + - description: multi-filter results with the english type name. Add with "wood" + or "+wood" and exclude with "-wood". + explode: false + in: query + name: "filter[type_enum]" + required: false + schema: + example: + - vigilantes + items: + type: string + type: array + uniqueItems: true + style: form responses: "200": content: @@ -653,6 +681,20 @@ paths: minimum: 1 type: integer style: form + - description: multi-filter results with the english type name. Add with "wood" + or "+wood" and exclude with "-wood". + explode: false + in: query + name: "filter[type_enum]" + required: false + schema: + example: + - bread + items: + type: string + type: array + uniqueItems: true + style: form responses: "200": content: @@ -790,6 +832,20 @@ paths: minimum: 1 type: integer style: form + - description: multi-filter results with the english type name. Add with "wood" + or "+wood" and exclude with "-wood". + explode: false + in: query + name: "filter[type_enum]" + required: false + schema: + example: + - plant + items: + type: string + type: array + uniqueItems: true + style: form responses: "200": content: @@ -934,6 +990,21 @@ paths: type: array uniqueItems: true style: form + - description: "multi-filter results with the english item type name, including\ + \ \"mount\" and \"set\" from filter[type]. Add with \"wood\" or \"+wood\"\ + \ and exclude with \"-wood\"." + explode: false + in: query + name: "filter[type_enum]" + required: false + schema: + example: + - boots + items: + type: string + type: array + uniqueItems: true + style: form responses: "200": content: @@ -1072,6 +1143,20 @@ paths: minimum: 1 type: integer style: form + - description: multi-filter results with the english type name. Add with "wood" + or "+wood" and exclude with "-wood". + explode: false + in: query + name: "filter[type_enum]" + required: false + schema: + example: + - boots + items: + type: string + type: array + uniqueItems: true + style: form responses: "200": content: @@ -1170,7 +1255,7 @@ paths: name: "filter[type_name]" required: false schema: - example: Costume + example: Wings type: string style: form - description: only results which level is equal or above this value @@ -1209,6 +1294,20 @@ paths: minimum: 1 type: integer style: form + - description: multi-filter results with the english type name. Add with "wood" + or "+wood" and exclude with "-wood". + explode: false + in: query + name: "filter[type_enum]" + required: false + schema: + example: + - wings + items: + type: string + type: array + uniqueItems: true + style: form responses: "200": content: @@ -2891,6 +2990,20 @@ paths: type: array uniqueItems: true style: form + - description: multi-filter results with the english type name. Add with "wood" + or "+wood" and exclude with "-wood". + explode: false + in: query + name: "filter[type_enum]" + required: false + schema: + example: + - sword + items: + type: string + type: array + uniqueItems: true + style: form responses: "200": content: @@ -3058,6 +3171,20 @@ paths: type: array uniqueItems: true style: form + - description: multi-filter results with the english type name. Add with "wood" + or "+wood" and exclude with "-wood". + explode: false + in: query + name: "filter[type_enum]" + required: false + schema: + example: + - wood + items: + type: string + type: array + uniqueItems: true + style: form responses: "200": content: @@ -3212,6 +3339,20 @@ paths: type: array uniqueItems: true style: form + - description: multi-filter results with the english type name. Add with "wood" + or "+wood" and exclude with "-wood". + explode: false + in: query + name: "filter[type_enum]" + required: false + schema: + example: + - chest + items: + type: string + type: array + uniqueItems: true + style: form responses: "200": content: @@ -3382,6 +3523,20 @@ paths: type: array uniqueItems: true style: form + - description: multi-filter results with the english type name. Add with "wood" + or "+wood" and exclude with "-wood". + explode: false + in: query + name: "filter[type_enum]" + required: false + schema: + example: + - sufokia + items: + type: string + type: array + uniqueItems: true + style: form responses: "200": content: @@ -3538,6 +3693,20 @@ paths: type: array uniqueItems: true style: form + - description: multi-filter results with the english type name. Add with "wood" + or "+wood" and exclude with "-wood". + explode: false + in: query + name: "filter[type_enum]" + required: false + schema: + example: + - ceremonial-hat + items: + type: string + type: array + uniqueItems: true + style: form responses: "200": content: @@ -4714,6 +4883,29 @@ paths: - meta x-stoplight: id: 4oyiu8nbwwgds + /dofus2/meta/version: + get: + description: The current game version of the hosted data. + operationId: get-meta-version + parameters: [] + responses: + "200": + content: + application/json: + examples: + Main: + value: + version: 2.73.3.5 + release: main + update_stamp: 2024-10-03T22:43:10.420677+02:00 + schema: + $ref: '#/components/schemas/get_meta_version_200_response' + description: OK + summary: Game Version + tags: + - meta + x-stoplight: + id: ha9mde87rn0in /dofus2/meta/search/types: get: description: "Get all types for /{game}/{lang}/search available for filtering.\ @@ -4745,6 +4937,38 @@ paths: - meta x-stoplight: id: v67mknkhaif2h + /dofus2/meta/items/types: + get: + description: |- + 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. + operationId: get-item-types + parameters: [] + responses: + "200": + content: + application/json: + examples: + List: + value: + - items-consumables + - items-cosmetics + - items-resources + - items-equipment + - items-quest_items + - mounts + - sets + schema: + items: + type: string + type: array + description: OK + summary: Available Item Types + tags: + - meta + x-stoplight: + id: j8a5zpi8i20xe /dofus2/meta/{language}/almanax/bonuses: get: description: Get all the available bonuses and their id for filtering them in @@ -7552,6 +7776,24 @@ components: description: Type classification type: string type: object + get_meta_version_200_response: + example: + release: release + update_stamp: update_stamp + version: version + properties: + version: + type: string + release: + type: string + update_stamp: + type: string + type: object + x-examples: + Example 1: + version: 2.73.3.5 + release: main + update_stamp: 2024-10-03T22:43:10.420677+02:00 get_meta_almanax_bonuses_200_response_inner: example: name: name diff --git a/api_almanax.go b/api_almanax.go index 345e9af..5a2731f 100644 --- a/api_almanax.go +++ b/api_almanax.go @@ -3,7 +3,7 @@ dofusdude # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## 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` - [PHP](https://github.com/dofusdude/dofusdude-php) - [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 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). -API version: 0.9.0 +API version: 0.9.1 Contact: stelzo@steado.de */ @@ -228,19 +228,19 @@ func (a *AlmanaxAPIService) GetAlmanaxRangeExecute(r ApiGetAlmanaxRangeRequest) localVarFormParams := url.Values{} if r.filterBonusType != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "filter[bonus_type]", r.filterBonusType, "") + parameterAddToHeaderOrQuery(localVarQueryParams, "filter[bonus_type]", r.filterBonusType, "form", "") } if r.rangeFrom != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "range[from]", r.rangeFrom, "") + parameterAddToHeaderOrQuery(localVarQueryParams, "range[from]", r.rangeFrom, "form", "") } if r.rangeTo != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "range[to]", r.rangeTo, "") + parameterAddToHeaderOrQuery(localVarQueryParams, "range[to]", r.rangeTo, "form", "") } if r.rangeSize != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "range[size]", r.rangeSize, "") + parameterAddToHeaderOrQuery(localVarQueryParams, "range[size]", r.rangeSize, "form", "") } if r.timezone != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "timezone", r.timezone, "") + parameterAddToHeaderOrQuery(localVarQueryParams, "timezone", r.timezone, "form", "") } else { var defaultValue string = "Europe/Paris" r.timezone = &defaultValue diff --git a/api_consumables.go b/api_consumables.go index 30114e4..72b3cdb 100644 --- a/api_consumables.go +++ b/api_consumables.go @@ -3,7 +3,7 @@ dofusdude # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## 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` - [PHP](https://github.com/dofusdude/dofusdude-php) - [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 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). -API version: 0.9.0 +API version: 0.9.1 Contact: stelzo@steado.de */ @@ -129,16 +129,16 @@ func (a *ConsumablesAPIService) GetAllItemsConsumablesListExecute(r ApiGetAllIte } if r.sortLevel != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "sort[level]", r.sortLevel, "") + parameterAddToHeaderOrQuery(localVarQueryParams, "sort[level]", r.sortLevel, "form", "") } if r.filterTypeName != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "filter[type_name]", r.filterTypeName, "") + parameterAddToHeaderOrQuery(localVarQueryParams, "filter[type_name]", r.filterTypeName, "form", "") } if r.filterMinLevel != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "filter[min_level]", r.filterMinLevel, "") + parameterAddToHeaderOrQuery(localVarQueryParams, "filter[min_level]", r.filterMinLevel, "form", "") } if r.filterMaxLevel != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "filter[max_level]", r.filterMaxLevel, "") + parameterAddToHeaderOrQuery(localVarQueryParams, "filter[max_level]", r.filterMaxLevel, "form", "") } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -158,7 +158,7 @@ func (a *ConsumablesAPIService) GetAllItemsConsumablesListExecute(r ApiGetAllIte localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } if r.acceptEncoding != nil { - parameterAddToHeaderOrQuery(localVarHeaderParams, "Accept-Encoding", r.acceptEncoding, "") + parameterAddToHeaderOrQuery(localVarHeaderParams, "Accept-Encoding", r.acceptEncoding, "simple", "") } req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { @@ -209,6 +209,7 @@ type ApiGetItemsConsumablesListRequest struct { pageSize *int32 pageNumber *int32 fieldsItem *[]string + filterTypeEnum *[]string } // sort the resulting list by level, default unsorted @@ -253,6 +254,12 @@ func (r ApiGetItemsConsumablesListRequest) FieldsItem(fieldsItem []string) ApiGe return r } +// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". +func (r ApiGetItemsConsumablesListRequest) FilterTypeEnum(filterTypeEnum []string) ApiGetItemsConsumablesListRequest { + r.filterTypeEnum = &filterTypeEnum + return r +} + func (r ApiGetItemsConsumablesListRequest) Execute() (*ItemsListPaged, *http.Response, error) { return r.ApiService.GetItemsConsumablesListExecute(r) } @@ -306,25 +313,28 @@ func (a *ConsumablesAPIService) GetItemsConsumablesListExecute(r ApiGetItemsCons } if r.sortLevel != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "sort[level]", r.sortLevel, "") + parameterAddToHeaderOrQuery(localVarQueryParams, "sort[level]", r.sortLevel, "form", "") } if r.filterTypeName != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "filter[type_name]", r.filterTypeName, "") + parameterAddToHeaderOrQuery(localVarQueryParams, "filter[type_name]", r.filterTypeName, "form", "") } if r.filterMinLevel != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "filter[min_level]", r.filterMinLevel, "") + parameterAddToHeaderOrQuery(localVarQueryParams, "filter[min_level]", r.filterMinLevel, "form", "") } if r.filterMaxLevel != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "filter[max_level]", r.filterMaxLevel, "") + parameterAddToHeaderOrQuery(localVarQueryParams, "filter[max_level]", r.filterMaxLevel, "form", "") } if r.pageSize != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "page[size]", r.pageSize, "") + parameterAddToHeaderOrQuery(localVarQueryParams, "page[size]", r.pageSize, "form", "") } if r.pageNumber != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "page[number]", r.pageNumber, "") + parameterAddToHeaderOrQuery(localVarQueryParams, "page[number]", r.pageNumber, "form", "") } if r.fieldsItem != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "fields[item]", r.fieldsItem, "csv") + parameterAddToHeaderOrQuery(localVarQueryParams, "fields[item]", r.fieldsItem, "form", "csv") + } + if r.filterTypeEnum != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "filter[type_enum]", r.filterTypeEnum, "form", "csv") } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -390,6 +400,7 @@ type ApiGetItemsConsumablesSearchRequest struct { filterMinLevel *int32 filterMaxLevel *int32 limit *int32 + filterTypeEnum *[]string } // case sensitive search query @@ -422,6 +433,12 @@ func (r ApiGetItemsConsumablesSearchRequest) Limit(limit int32) ApiGetItemsConsu return r } +// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". +func (r ApiGetItemsConsumablesSearchRequest) FilterTypeEnum(filterTypeEnum []string) ApiGetItemsConsumablesSearchRequest { + r.filterTypeEnum = &filterTypeEnum + return r +} + func (r ApiGetItemsConsumablesSearchRequest) Execute() ([]ItemListEntry, *http.Response, error) { return r.ApiService.GetItemsConsumablesSearchExecute(r) } @@ -477,22 +494,25 @@ func (a *ConsumablesAPIService) GetItemsConsumablesSearchExecute(r ApiGetItemsCo return localVarReturnValue, nil, reportError("query is required and must be specified") } - parameterAddToHeaderOrQuery(localVarQueryParams, "query", r.query, "") + parameterAddToHeaderOrQuery(localVarQueryParams, "query", r.query, "form", "") if r.filterTypeName != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "filter[type_name]", r.filterTypeName, "") + parameterAddToHeaderOrQuery(localVarQueryParams, "filter[type_name]", r.filterTypeName, "form", "") } if r.filterMinLevel != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "filter[min_level]", r.filterMinLevel, "") + parameterAddToHeaderOrQuery(localVarQueryParams, "filter[min_level]", r.filterMinLevel, "form", "") } if r.filterMaxLevel != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "filter[max_level]", r.filterMaxLevel, "") + parameterAddToHeaderOrQuery(localVarQueryParams, "filter[max_level]", r.filterMaxLevel, "form", "") } if r.limit != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "") + parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "") } else { var defaultValue int32 = 8 r.limit = &defaultValue } + if r.filterTypeEnum != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "filter[type_enum]", r.filterTypeEnum, "form", "csv") + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} diff --git a/api_cosmetics.go b/api_cosmetics.go index 25da50a..d763622 100644 --- a/api_cosmetics.go +++ b/api_cosmetics.go @@ -3,7 +3,7 @@ dofusdude # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## 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` - [PHP](https://github.com/dofusdude/dofusdude-php) - [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 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). -API version: 0.9.0 +API version: 0.9.1 Contact: stelzo@steado.de */ @@ -129,16 +129,16 @@ func (a *CosmeticsAPIService) GetAllCosmeticsListExecute(r ApiGetAllCosmeticsLis } if r.sortLevel != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "sort[level]", r.sortLevel, "") + parameterAddToHeaderOrQuery(localVarQueryParams, "sort[level]", r.sortLevel, "form", "") } if r.filterTypeName != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "filter[type_name]", r.filterTypeName, "") + parameterAddToHeaderOrQuery(localVarQueryParams, "filter[type_name]", r.filterTypeName, "form", "") } if r.filterMinLevel != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "filter[min_level]", r.filterMinLevel, "") + parameterAddToHeaderOrQuery(localVarQueryParams, "filter[min_level]", r.filterMinLevel, "form", "") } if r.filterMaxLevel != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "filter[max_level]", r.filterMaxLevel, "") + parameterAddToHeaderOrQuery(localVarQueryParams, "filter[max_level]", r.filterMaxLevel, "form", "") } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -158,7 +158,7 @@ func (a *CosmeticsAPIService) GetAllCosmeticsListExecute(r ApiGetAllCosmeticsLis localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } if r.acceptEncoding != nil { - parameterAddToHeaderOrQuery(localVarHeaderParams, "Accept-Encoding", r.acceptEncoding, "") + parameterAddToHeaderOrQuery(localVarHeaderParams, "Accept-Encoding", r.acceptEncoding, "simple", "") } req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { @@ -209,6 +209,7 @@ type ApiGetCosmeticsListRequest struct { pageSize *int32 pageNumber *int32 fieldsItem *[]string + filterTypeEnum *[]string } // sort the resulting list by level, default unsorted @@ -253,6 +254,12 @@ func (r ApiGetCosmeticsListRequest) FieldsItem(fieldsItem []string) ApiGetCosmet return r } +// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". +func (r ApiGetCosmeticsListRequest) FilterTypeEnum(filterTypeEnum []string) ApiGetCosmeticsListRequest { + r.filterTypeEnum = &filterTypeEnum + return r +} + func (r ApiGetCosmeticsListRequest) Execute() (*ItemsListPaged, *http.Response, error) { return r.ApiService.GetCosmeticsListExecute(r) } @@ -306,25 +313,28 @@ func (a *CosmeticsAPIService) GetCosmeticsListExecute(r ApiGetCosmeticsListReque } if r.sortLevel != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "sort[level]", r.sortLevel, "") + parameterAddToHeaderOrQuery(localVarQueryParams, "sort[level]", r.sortLevel, "form", "") } if r.filterTypeName != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "filter[type_name]", r.filterTypeName, "") + parameterAddToHeaderOrQuery(localVarQueryParams, "filter[type_name]", r.filterTypeName, "form", "") } if r.filterMinLevel != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "filter[min_level]", r.filterMinLevel, "") + parameterAddToHeaderOrQuery(localVarQueryParams, "filter[min_level]", r.filterMinLevel, "form", "") } if r.filterMaxLevel != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "filter[max_level]", r.filterMaxLevel, "") + parameterAddToHeaderOrQuery(localVarQueryParams, "filter[max_level]", r.filterMaxLevel, "form", "") } if r.pageSize != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "page[size]", r.pageSize, "") + parameterAddToHeaderOrQuery(localVarQueryParams, "page[size]", r.pageSize, "form", "") } if r.pageNumber != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "page[number]", r.pageNumber, "") + parameterAddToHeaderOrQuery(localVarQueryParams, "page[number]", r.pageNumber, "form", "") } if r.fieldsItem != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "fields[item]", r.fieldsItem, "csv") + parameterAddToHeaderOrQuery(localVarQueryParams, "fields[item]", r.fieldsItem, "form", "csv") + } + if r.filterTypeEnum != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "filter[type_enum]", r.filterTypeEnum, "form", "csv") } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -390,6 +400,7 @@ type ApiGetCosmeticsSearchRequest struct { filterMinLevel *int32 filterMaxLevel *int32 limit *int32 + filterTypeEnum *[]string } // case sensitive search query @@ -422,6 +433,12 @@ func (r ApiGetCosmeticsSearchRequest) Limit(limit int32) ApiGetCosmeticsSearchRe return r } +// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". +func (r ApiGetCosmeticsSearchRequest) FilterTypeEnum(filterTypeEnum []string) ApiGetCosmeticsSearchRequest { + r.filterTypeEnum = &filterTypeEnum + return r +} + func (r ApiGetCosmeticsSearchRequest) Execute() ([]ItemListEntry, *http.Response, error) { return r.ApiService.GetCosmeticsSearchExecute(r) } @@ -477,22 +494,25 @@ func (a *CosmeticsAPIService) GetCosmeticsSearchExecute(r ApiGetCosmeticsSearchR return localVarReturnValue, nil, reportError("query is required and must be specified") } - parameterAddToHeaderOrQuery(localVarQueryParams, "query", r.query, "") + parameterAddToHeaderOrQuery(localVarQueryParams, "query", r.query, "form", "") if r.filterTypeName != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "filter[type_name]", r.filterTypeName, "") + parameterAddToHeaderOrQuery(localVarQueryParams, "filter[type_name]", r.filterTypeName, "form", "") } if r.filterMinLevel != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "filter[min_level]", r.filterMinLevel, "") + parameterAddToHeaderOrQuery(localVarQueryParams, "filter[min_level]", r.filterMinLevel, "form", "") } if r.filterMaxLevel != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "filter[max_level]", r.filterMaxLevel, "") + parameterAddToHeaderOrQuery(localVarQueryParams, "filter[max_level]", r.filterMaxLevel, "form", "") } if r.limit != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "") + parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "") } else { var defaultValue int32 = 8 r.limit = &defaultValue } + if r.filterTypeEnum != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "filter[type_enum]", r.filterTypeEnum, "form", "csv") + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} diff --git a/api_equipment.go b/api_equipment.go index 1ca609f..d08fb6d 100644 --- a/api_equipment.go +++ b/api_equipment.go @@ -3,7 +3,7 @@ dofusdude # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## 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` - [PHP](https://github.com/dofusdude/dofusdude-php) - [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 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). -API version: 0.9.0 +API version: 0.9.1 Contact: stelzo@steado.de */ @@ -129,16 +129,16 @@ func (a *EquipmentAPIService) GetAllItemsEquipmentListExecute(r ApiGetAllItemsEq } if r.sortLevel != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "sort[level]", r.sortLevel, "") + parameterAddToHeaderOrQuery(localVarQueryParams, "sort[level]", r.sortLevel, "form", "") } if r.filterTypeName != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "filter[type_name]", r.filterTypeName, "") + parameterAddToHeaderOrQuery(localVarQueryParams, "filter[type_name]", r.filterTypeName, "form", "") } if r.filterMinLevel != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "filter[min_level]", r.filterMinLevel, "") + parameterAddToHeaderOrQuery(localVarQueryParams, "filter[min_level]", r.filterMinLevel, "form", "") } if r.filterMaxLevel != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "filter[max_level]", r.filterMaxLevel, "") + parameterAddToHeaderOrQuery(localVarQueryParams, "filter[max_level]", r.filterMaxLevel, "form", "") } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -158,7 +158,7 @@ func (a *EquipmentAPIService) GetAllItemsEquipmentListExecute(r ApiGetAllItemsEq localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } if r.acceptEncoding != nil { - parameterAddToHeaderOrQuery(localVarHeaderParams, "Accept-Encoding", r.acceptEncoding, "") + parameterAddToHeaderOrQuery(localVarHeaderParams, "Accept-Encoding", r.acceptEncoding, "simple", "") } req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { @@ -209,6 +209,7 @@ type ApiGetItemsEquipmentListRequest struct { pageSize *int32 pageNumber *int32 fieldsItem *[]string + filterTypeEnum *[]string } // sort the resulting list by level, default unsorted @@ -253,6 +254,12 @@ func (r ApiGetItemsEquipmentListRequest) FieldsItem(fieldsItem []string) ApiGetI return r } +// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". +func (r ApiGetItemsEquipmentListRequest) FilterTypeEnum(filterTypeEnum []string) ApiGetItemsEquipmentListRequest { + r.filterTypeEnum = &filterTypeEnum + return r +} + func (r ApiGetItemsEquipmentListRequest) Execute() (*ItemsListPaged, *http.Response, error) { return r.ApiService.GetItemsEquipmentListExecute(r) } @@ -306,25 +313,28 @@ func (a *EquipmentAPIService) GetItemsEquipmentListExecute(r ApiGetItemsEquipmen } if r.sortLevel != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "sort[level]", r.sortLevel, "") + parameterAddToHeaderOrQuery(localVarQueryParams, "sort[level]", r.sortLevel, "form", "") } if r.filterTypeName != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "filter[type_name]", r.filterTypeName, "") + parameterAddToHeaderOrQuery(localVarQueryParams, "filter[type_name]", r.filterTypeName, "form", "") } if r.filterMinLevel != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "filter[min_level]", r.filterMinLevel, "") + parameterAddToHeaderOrQuery(localVarQueryParams, "filter[min_level]", r.filterMinLevel, "form", "") } if r.filterMaxLevel != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "filter[max_level]", r.filterMaxLevel, "") + parameterAddToHeaderOrQuery(localVarQueryParams, "filter[max_level]", r.filterMaxLevel, "form", "") } if r.pageSize != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "page[size]", r.pageSize, "") + parameterAddToHeaderOrQuery(localVarQueryParams, "page[size]", r.pageSize, "form", "") } if r.pageNumber != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "page[number]", r.pageNumber, "") + parameterAddToHeaderOrQuery(localVarQueryParams, "page[number]", r.pageNumber, "form", "") } if r.fieldsItem != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "fields[item]", r.fieldsItem, "csv") + parameterAddToHeaderOrQuery(localVarQueryParams, "fields[item]", r.fieldsItem, "form", "csv") + } + if r.filterTypeEnum != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "filter[type_enum]", r.filterTypeEnum, "form", "csv") } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -390,6 +400,7 @@ type ApiGetItemsEquipmentSearchRequest struct { filterMinLevel *int32 filterMaxLevel *int32 limit *int32 + filterTypeEnum *[]string } // case sensitive search query @@ -422,6 +433,12 @@ func (r ApiGetItemsEquipmentSearchRequest) Limit(limit int32) ApiGetItemsEquipme return r } +// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". +func (r ApiGetItemsEquipmentSearchRequest) FilterTypeEnum(filterTypeEnum []string) ApiGetItemsEquipmentSearchRequest { + r.filterTypeEnum = &filterTypeEnum + return r +} + func (r ApiGetItemsEquipmentSearchRequest) Execute() ([]ItemListEntry, *http.Response, error) { return r.ApiService.GetItemsEquipmentSearchExecute(r) } @@ -477,22 +494,25 @@ func (a *EquipmentAPIService) GetItemsEquipmentSearchExecute(r ApiGetItemsEquipm return localVarReturnValue, nil, reportError("query is required and must be specified") } - parameterAddToHeaderOrQuery(localVarQueryParams, "query", r.query, "") + parameterAddToHeaderOrQuery(localVarQueryParams, "query", r.query, "form", "") if r.filterTypeName != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "filter[type_name]", r.filterTypeName, "") + parameterAddToHeaderOrQuery(localVarQueryParams, "filter[type_name]", r.filterTypeName, "form", "") } if r.filterMinLevel != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "filter[min_level]", r.filterMinLevel, "") + parameterAddToHeaderOrQuery(localVarQueryParams, "filter[min_level]", r.filterMinLevel, "form", "") } if r.filterMaxLevel != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "filter[max_level]", r.filterMaxLevel, "") + parameterAddToHeaderOrQuery(localVarQueryParams, "filter[max_level]", r.filterMaxLevel, "form", "") } if r.limit != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "") + parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "") } else { var defaultValue int32 = 8 r.limit = &defaultValue } + if r.filterTypeEnum != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "filter[type_enum]", r.filterTypeEnum, "form", "csv") + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} diff --git a/api_game.go b/api_game.go index 570e09d..0cb4620 100644 --- a/api_game.go +++ b/api_game.go @@ -3,7 +3,7 @@ dofusdude # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## 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` - [PHP](https://github.com/dofusdude/dofusdude-php) - [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 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). -API version: 0.9.0 +API version: 0.9.1 Contact: stelzo@steado.de */ @@ -33,6 +33,7 @@ type ApiGetGameSearchRequest struct { filterType *[]string limit *int32 fieldsItem *[]string + filterTypeEnum *[]string } // search query @@ -59,6 +60,12 @@ func (r ApiGetGameSearchRequest) FieldsItem(fieldsItem []string) ApiGetGameSearc return r } +// multi-filter results with the english item type name, including \"mount\" and \"set\" from filter[type]. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". +func (r ApiGetGameSearchRequest) FilterTypeEnum(filterTypeEnum []string) ApiGetGameSearchRequest { + r.filterTypeEnum = &filterTypeEnum + return r +} + func (r ApiGetGameSearchRequest) Execute() ([]GetGameSearch200ResponseInner, *http.Response, error) { return r.ApiService.GetGameSearchExecute(r) } @@ -114,18 +121,21 @@ func (a *GameAPIService) GetGameSearchExecute(r ApiGetGameSearchRequest) ([]GetG return localVarReturnValue, nil, reportError("query is required and must be specified") } - parameterAddToHeaderOrQuery(localVarQueryParams, "query", r.query, "") + parameterAddToHeaderOrQuery(localVarQueryParams, "query", r.query, "form", "") if r.filterType != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "filter[type]", r.filterType, "csv") + parameterAddToHeaderOrQuery(localVarQueryParams, "filter[type]", r.filterType, "form", "csv") } if r.limit != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "") + parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "") } else { var defaultValue int32 = 8 r.limit = &defaultValue } if r.fieldsItem != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "fields[item]", r.fieldsItem, "csv") + parameterAddToHeaderOrQuery(localVarQueryParams, "fields[item]", r.fieldsItem, "form", "csv") + } + if r.filterTypeEnum != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "filter[type_enum]", r.filterTypeEnum, "form", "csv") } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -191,6 +201,7 @@ type ApiGetItemsAllSearchRequest struct { filterMinLevel *int32 filterMaxLevel *int32 limit *int32 + filterTypeEnum *[]string } // case sensitive search query @@ -223,6 +234,12 @@ func (r ApiGetItemsAllSearchRequest) Limit(limit int32) ApiGetItemsAllSearchRequ return r } +// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". +func (r ApiGetItemsAllSearchRequest) FilterTypeEnum(filterTypeEnum []string) ApiGetItemsAllSearchRequest { + r.filterTypeEnum = &filterTypeEnum + return r +} + func (r ApiGetItemsAllSearchRequest) Execute() ([]ItemsListEntryTyped, *http.Response, error) { return r.ApiService.GetItemsAllSearchExecute(r) } @@ -278,22 +295,25 @@ func (a *GameAPIService) GetItemsAllSearchExecute(r ApiGetItemsAllSearchRequest) return localVarReturnValue, nil, reportError("query is required and must be specified") } - parameterAddToHeaderOrQuery(localVarQueryParams, "query", r.query, "") + parameterAddToHeaderOrQuery(localVarQueryParams, "query", r.query, "form", "") if r.filterTypeName != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "filter[type_name]", r.filterTypeName, "") + parameterAddToHeaderOrQuery(localVarQueryParams, "filter[type_name]", r.filterTypeName, "form", "") } if r.filterMinLevel != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "filter[min_level]", r.filterMinLevel, "") + parameterAddToHeaderOrQuery(localVarQueryParams, "filter[min_level]", r.filterMinLevel, "form", "") } if r.filterMaxLevel != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "filter[max_level]", r.filterMaxLevel, "") + parameterAddToHeaderOrQuery(localVarQueryParams, "filter[max_level]", r.filterMaxLevel, "form", "") } if r.limit != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "") + parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "") } else { var defaultValue int32 = 8 r.limit = &defaultValue } + if r.filterTypeEnum != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "filter[type_enum]", r.filterTypeEnum, "form", "csv") + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} diff --git a/api_meta.go b/api_meta.go index 45c82a3..0e0f4d8 100644 --- a/api_meta.go +++ b/api_meta.go @@ -3,7 +3,7 @@ dofusdude # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## 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` - [PHP](https://github.com/dofusdude/dofusdude-php) - [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 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). -API version: 0.9.0 +API version: 0.9.1 Contact: stelzo@steado.de */ @@ -123,6 +123,107 @@ func (a *MetaAPIService) GetGameSearchTypesExecute(r ApiGetGameSearchTypesReques return localVarReturnValue, localVarHTTPResponse, nil } +type ApiGetItemTypesRequest struct { + ctx context.Context + ApiService *MetaAPIService +} + +func (r ApiGetItemTypesRequest) Execute() ([]string, *http.Response, error) { + return r.ApiService.GetItemTypesExecute(r) +} + +/* +GetItemTypes 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. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiGetItemTypesRequest +*/ +func (a *MetaAPIService) GetItemTypes(ctx context.Context) ApiGetItemTypesRequest { + return ApiGetItemTypesRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return []string +func (a *MetaAPIService) GetItemTypesExecute(r ApiGetItemTypesRequest) ([]string, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []string + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MetaAPIService.GetItemTypes") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/dofus2/meta/items/types" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + type ApiGetMetaAlmanaxBonusesRequest struct { ctx context.Context ApiService *MetaAPIService @@ -292,9 +393,9 @@ func (a *MetaAPIService) GetMetaAlmanaxBonusesSearchExecute(r ApiGetMetaAlmanaxB return localVarReturnValue, nil, reportError("query is required and must be specified") } - parameterAddToHeaderOrQuery(localVarQueryParams, "query", r.query, "") + parameterAddToHeaderOrQuery(localVarQueryParams, "query", r.query, "form", "") if r.limit != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "") + parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "") } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -448,3 +549,102 @@ func (a *MetaAPIService) GetMetaElementsExecute(r ApiGetMetaElementsRequest) ([] return localVarReturnValue, localVarHTTPResponse, nil } + +type ApiGetMetaVersionRequest struct { + ctx context.Context + ApiService *MetaAPIService +} + +func (r ApiGetMetaVersionRequest) Execute() (*GetMetaVersion200Response, *http.Response, error) { + return r.ApiService.GetMetaVersionExecute(r) +} + +/* +GetMetaVersion Game Version + +The current game version of the hosted data. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiGetMetaVersionRequest +*/ +func (a *MetaAPIService) GetMetaVersion(ctx context.Context) ApiGetMetaVersionRequest { + return ApiGetMetaVersionRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return GetMetaVersion200Response +func (a *MetaAPIService) GetMetaVersionExecute(r ApiGetMetaVersionRequest) (*GetMetaVersion200Response, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *GetMetaVersion200Response + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MetaAPIService.GetMetaVersion") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/dofus2/meta/version" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} diff --git a/api_mounts.go b/api_mounts.go index c3895bc..f0b7448 100644 --- a/api_mounts.go +++ b/api_mounts.go @@ -3,7 +3,7 @@ dofusdude # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## 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` - [PHP](https://github.com/dofusdude/dofusdude-php) - [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 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). -API version: 0.9.0 +API version: 0.9.1 Contact: stelzo@steado.de */ @@ -108,7 +108,7 @@ func (a *MountsAPIService) GetAllMountsListExecute(r ApiGetAllMountsListRequest) } if r.filterFamilyName != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "filter[family_name]", r.filterFamilyName, "") + parameterAddToHeaderOrQuery(localVarQueryParams, "filter[family_name]", r.filterFamilyName, "form", "") } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -128,7 +128,7 @@ func (a *MountsAPIService) GetAllMountsListExecute(r ApiGetAllMountsListRequest) localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } if r.acceptEncoding != nil { - parameterAddToHeaderOrQuery(localVarHeaderParams, "Accept-Encoding", r.acceptEncoding, "") + parameterAddToHeaderOrQuery(localVarHeaderParams, "Accept-Encoding", r.acceptEncoding, "simple", "") } req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { @@ -255,16 +255,16 @@ func (a *MountsAPIService) GetMountsListExecute(r ApiGetMountsListRequest) (*Mou } if r.filterFamilyName != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "filter[family_name]", r.filterFamilyName, "") + parameterAddToHeaderOrQuery(localVarQueryParams, "filter[family_name]", r.filterFamilyName, "form", "") } if r.pageSize != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "page[size]", r.pageSize, "") + parameterAddToHeaderOrQuery(localVarQueryParams, "page[size]", r.pageSize, "form", "") } if r.pageNumber != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "page[number]", r.pageNumber, "") + parameterAddToHeaderOrQuery(localVarQueryParams, "page[number]", r.pageNumber, "form", "") } if r.fieldsMount != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "fields[mount]", r.fieldsMount, "csv") + parameterAddToHeaderOrQuery(localVarQueryParams, "fields[mount]", r.fieldsMount, "form", "csv") } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -403,12 +403,12 @@ func (a *MountsAPIService) GetMountsSearchExecute(r ApiGetMountsSearchRequest) ( return localVarReturnValue, nil, reportError("query is required and must be specified") } - parameterAddToHeaderOrQuery(localVarQueryParams, "query", r.query, "") + parameterAddToHeaderOrQuery(localVarQueryParams, "query", r.query, "form", "") if r.filterFamilyName != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "filter[family_name]", r.filterFamilyName, "") + parameterAddToHeaderOrQuery(localVarQueryParams, "filter[family_name]", r.filterFamilyName, "form", "") } if r.limit != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "") + parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "") } else { var defaultValue int32 = 8 r.limit = &defaultValue diff --git a/api_quest_items.go b/api_quest_items.go index 64bf85e..6ec638e 100644 --- a/api_quest_items.go +++ b/api_quest_items.go @@ -3,7 +3,7 @@ dofusdude # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## 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` - [PHP](https://github.com/dofusdude/dofusdude-php) - [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 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). -API version: 0.9.0 +API version: 0.9.1 Contact: stelzo@steado.de */ @@ -129,16 +129,16 @@ func (a *QuestItemsAPIService) GetAllItemsQuestListExecute(r ApiGetAllItemsQuest } if r.sortLevel != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "sort[level]", r.sortLevel, "") + parameterAddToHeaderOrQuery(localVarQueryParams, "sort[level]", r.sortLevel, "form", "") } if r.filterTypeName != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "filter[type_name]", r.filterTypeName, "") + parameterAddToHeaderOrQuery(localVarQueryParams, "filter[type_name]", r.filterTypeName, "form", "") } if r.filterMinLevel != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "filter[min_level]", r.filterMinLevel, "") + parameterAddToHeaderOrQuery(localVarQueryParams, "filter[min_level]", r.filterMinLevel, "form", "") } if r.filterMaxLevel != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "filter[max_level]", r.filterMaxLevel, "") + parameterAddToHeaderOrQuery(localVarQueryParams, "filter[max_level]", r.filterMaxLevel, "form", "") } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -158,7 +158,7 @@ func (a *QuestItemsAPIService) GetAllItemsQuestListExecute(r ApiGetAllItemsQuest localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } if r.acceptEncoding != nil { - parameterAddToHeaderOrQuery(localVarHeaderParams, "Accept-Encoding", r.acceptEncoding, "") + parameterAddToHeaderOrQuery(localVarHeaderParams, "Accept-Encoding", r.acceptEncoding, "simple", "") } req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { @@ -326,6 +326,7 @@ type ApiGetItemsQuestListRequest struct { pageSize *int32 pageNumber *int32 fieldsItem *[]string + filterTypeEnum *[]string } // sort the resulting list by level, default unsorted @@ -370,6 +371,12 @@ func (r ApiGetItemsQuestListRequest) FieldsItem(fieldsItem []string) ApiGetItems return r } +// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". +func (r ApiGetItemsQuestListRequest) FilterTypeEnum(filterTypeEnum []string) ApiGetItemsQuestListRequest { + r.filterTypeEnum = &filterTypeEnum + return r +} + func (r ApiGetItemsQuestListRequest) Execute() (*ItemsListPaged, *http.Response, error) { return r.ApiService.GetItemsQuestListExecute(r) } @@ -423,25 +430,28 @@ func (a *QuestItemsAPIService) GetItemsQuestListExecute(r ApiGetItemsQuestListRe } if r.sortLevel != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "sort[level]", r.sortLevel, "") + parameterAddToHeaderOrQuery(localVarQueryParams, "sort[level]", r.sortLevel, "form", "") } if r.filterTypeName != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "filter[type_name]", r.filterTypeName, "") + parameterAddToHeaderOrQuery(localVarQueryParams, "filter[type_name]", r.filterTypeName, "form", "") } if r.filterMinLevel != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "filter[min_level]", r.filterMinLevel, "") + parameterAddToHeaderOrQuery(localVarQueryParams, "filter[min_level]", r.filterMinLevel, "form", "") } if r.filterMaxLevel != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "filter[max_level]", r.filterMaxLevel, "") + parameterAddToHeaderOrQuery(localVarQueryParams, "filter[max_level]", r.filterMaxLevel, "form", "") } if r.pageSize != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "page[size]", r.pageSize, "") + parameterAddToHeaderOrQuery(localVarQueryParams, "page[size]", r.pageSize, "form", "") } if r.pageNumber != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "page[number]", r.pageNumber, "") + parameterAddToHeaderOrQuery(localVarQueryParams, "page[number]", r.pageNumber, "form", "") } if r.fieldsItem != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "fields[item]", r.fieldsItem, "csv") + parameterAddToHeaderOrQuery(localVarQueryParams, "fields[item]", r.fieldsItem, "form", "csv") + } + if r.filterTypeEnum != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "filter[type_enum]", r.filterTypeEnum, "form", "csv") } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -507,6 +517,7 @@ type ApiGetItemsQuestSearchRequest struct { filterMinLevel *int32 filterMaxLevel *int32 limit *int32 + filterTypeEnum *[]string } // case sensitive search query @@ -539,6 +550,12 @@ func (r ApiGetItemsQuestSearchRequest) Limit(limit int32) ApiGetItemsQuestSearch return r } +// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". +func (r ApiGetItemsQuestSearchRequest) FilterTypeEnum(filterTypeEnum []string) ApiGetItemsQuestSearchRequest { + r.filterTypeEnum = &filterTypeEnum + return r +} + func (r ApiGetItemsQuestSearchRequest) Execute() ([]ItemListEntry, *http.Response, error) { return r.ApiService.GetItemsQuestSearchExecute(r) } @@ -594,22 +611,25 @@ func (a *QuestItemsAPIService) GetItemsQuestSearchExecute(r ApiGetItemsQuestSear return localVarReturnValue, nil, reportError("query is required and must be specified") } - parameterAddToHeaderOrQuery(localVarQueryParams, "query", r.query, "") + parameterAddToHeaderOrQuery(localVarQueryParams, "query", r.query, "form", "") if r.filterTypeName != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "filter[type_name]", r.filterTypeName, "") + parameterAddToHeaderOrQuery(localVarQueryParams, "filter[type_name]", r.filterTypeName, "form", "") } if r.filterMinLevel != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "filter[min_level]", r.filterMinLevel, "") + parameterAddToHeaderOrQuery(localVarQueryParams, "filter[min_level]", r.filterMinLevel, "form", "") } if r.filterMaxLevel != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "filter[max_level]", r.filterMaxLevel, "") + parameterAddToHeaderOrQuery(localVarQueryParams, "filter[max_level]", r.filterMaxLevel, "form", "") } if r.limit != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "") + parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "") } else { var defaultValue int32 = 8 r.limit = &defaultValue } + if r.filterTypeEnum != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "filter[type_enum]", r.filterTypeEnum, "form", "csv") + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} diff --git a/api_resources.go b/api_resources.go index 4c58eef..98d6cce 100644 --- a/api_resources.go +++ b/api_resources.go @@ -3,7 +3,7 @@ dofusdude # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## 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` - [PHP](https://github.com/dofusdude/dofusdude-php) - [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 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). -API version: 0.9.0 +API version: 0.9.1 Contact: stelzo@steado.de */ @@ -129,16 +129,16 @@ func (a *ResourcesAPIService) GetAllItemsResourcesListExecute(r ApiGetAllItemsRe } if r.sortLevel != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "sort[level]", r.sortLevel, "") + parameterAddToHeaderOrQuery(localVarQueryParams, "sort[level]", r.sortLevel, "form", "") } if r.filterTypeName != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "filter[type_name]", r.filterTypeName, "") + parameterAddToHeaderOrQuery(localVarQueryParams, "filter[type_name]", r.filterTypeName, "form", "") } if r.filterMinLevel != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "filter[min_level]", r.filterMinLevel, "") + parameterAddToHeaderOrQuery(localVarQueryParams, "filter[min_level]", r.filterMinLevel, "form", "") } if r.filterMaxLevel != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "filter[max_level]", r.filterMaxLevel, "") + parameterAddToHeaderOrQuery(localVarQueryParams, "filter[max_level]", r.filterMaxLevel, "form", "") } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -158,7 +158,7 @@ func (a *ResourcesAPIService) GetAllItemsResourcesListExecute(r ApiGetAllItemsRe localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } if r.acceptEncoding != nil { - parameterAddToHeaderOrQuery(localVarHeaderParams, "Accept-Encoding", r.acceptEncoding, "") + parameterAddToHeaderOrQuery(localVarHeaderParams, "Accept-Encoding", r.acceptEncoding, "simple", "") } req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { @@ -207,6 +207,7 @@ type ApiGetItemsResourceSearchRequest struct { filterMinLevel *int32 filterMaxLevel *int32 limit *int32 + filterTypeEnum *[]string } // case sensitive search query @@ -239,6 +240,12 @@ func (r ApiGetItemsResourceSearchRequest) Limit(limit int32) ApiGetItemsResource return r } +// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". +func (r ApiGetItemsResourceSearchRequest) FilterTypeEnum(filterTypeEnum []string) ApiGetItemsResourceSearchRequest { + r.filterTypeEnum = &filterTypeEnum + return r +} + func (r ApiGetItemsResourceSearchRequest) Execute() ([]ItemListEntry, *http.Response, error) { return r.ApiService.GetItemsResourceSearchExecute(r) } @@ -294,22 +301,25 @@ func (a *ResourcesAPIService) GetItemsResourceSearchExecute(r ApiGetItemsResourc return localVarReturnValue, nil, reportError("query is required and must be specified") } - parameterAddToHeaderOrQuery(localVarQueryParams, "query", r.query, "") + parameterAddToHeaderOrQuery(localVarQueryParams, "query", r.query, "form", "") if r.filterTypeName != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "filter[type_name]", r.filterTypeName, "") + parameterAddToHeaderOrQuery(localVarQueryParams, "filter[type_name]", r.filterTypeName, "form", "") } if r.filterMinLevel != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "filter[min_level]", r.filterMinLevel, "") + parameterAddToHeaderOrQuery(localVarQueryParams, "filter[min_level]", r.filterMinLevel, "form", "") } if r.filterMaxLevel != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "filter[max_level]", r.filterMaxLevel, "") + parameterAddToHeaderOrQuery(localVarQueryParams, "filter[max_level]", r.filterMaxLevel, "form", "") } if r.limit != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "") + parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "") } else { var defaultValue int32 = 8 r.limit = &defaultValue } + if r.filterTypeEnum != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "filter[type_enum]", r.filterTypeEnum, "form", "csv") + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -376,6 +386,7 @@ type ApiGetItemsResourcesListRequest struct { pageSize *int32 pageNumber *int32 fieldsItem *[]string + filterTypeEnum *[]string } // sort the resulting list by level, default unsorted @@ -420,6 +431,12 @@ func (r ApiGetItemsResourcesListRequest) FieldsItem(fieldsItem []string) ApiGetI return r } +// multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". +func (r ApiGetItemsResourcesListRequest) FilterTypeEnum(filterTypeEnum []string) ApiGetItemsResourcesListRequest { + r.filterTypeEnum = &filterTypeEnum + return r +} + func (r ApiGetItemsResourcesListRequest) Execute() (*ItemsListPaged, *http.Response, error) { return r.ApiService.GetItemsResourcesListExecute(r) } @@ -473,25 +490,28 @@ func (a *ResourcesAPIService) GetItemsResourcesListExecute(r ApiGetItemsResource } if r.sortLevel != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "sort[level]", r.sortLevel, "") + parameterAddToHeaderOrQuery(localVarQueryParams, "sort[level]", r.sortLevel, "form", "") } if r.filterTypeName != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "filter[type_name]", r.filterTypeName, "") + parameterAddToHeaderOrQuery(localVarQueryParams, "filter[type_name]", r.filterTypeName, "form", "") } if r.filterMinLevel != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "filter[min_level]", r.filterMinLevel, "") + parameterAddToHeaderOrQuery(localVarQueryParams, "filter[min_level]", r.filterMinLevel, "form", "") } if r.filterMaxLevel != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "filter[max_level]", r.filterMaxLevel, "") + parameterAddToHeaderOrQuery(localVarQueryParams, "filter[max_level]", r.filterMaxLevel, "form", "") } if r.pageSize != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "page[size]", r.pageSize, "") + parameterAddToHeaderOrQuery(localVarQueryParams, "page[size]", r.pageSize, "form", "") } if r.pageNumber != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "page[number]", r.pageNumber, "") + parameterAddToHeaderOrQuery(localVarQueryParams, "page[number]", r.pageNumber, "form", "") } if r.fieldsItem != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "fields[item]", r.fieldsItem, "csv") + parameterAddToHeaderOrQuery(localVarQueryParams, "fields[item]", r.fieldsItem, "form", "csv") + } + if r.filterTypeEnum != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "filter[type_enum]", r.filterTypeEnum, "form", "csv") } // to determine the Content-Type header localVarHTTPContentTypes := []string{} diff --git a/api_sets.go b/api_sets.go index d21bc1e..b853301 100644 --- a/api_sets.go +++ b/api_sets.go @@ -3,7 +3,7 @@ dofusdude # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## 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` - [PHP](https://github.com/dofusdude/dofusdude-php) - [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 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). -API version: 0.9.0 +API version: 0.9.1 Contact: stelzo@steado.de */ @@ -122,13 +122,13 @@ func (a *SetsAPIService) GetAllSetsListExecute(r ApiGetAllSetsListRequest) (*Set } if r.sortLevel != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "sort[level]", r.sortLevel, "") + parameterAddToHeaderOrQuery(localVarQueryParams, "sort[level]", r.sortLevel, "form", "") } if r.filterMinHighestEquipmentLevel != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "filter[min_highest_equipment_level]", r.filterMinHighestEquipmentLevel, "") + parameterAddToHeaderOrQuery(localVarQueryParams, "filter[min_highest_equipment_level]", r.filterMinHighestEquipmentLevel, "form", "") } if r.filterMaxHighestEquipmentLevel != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "filter[max_highest_equipment_level]", r.filterMaxHighestEquipmentLevel, "") + parameterAddToHeaderOrQuery(localVarQueryParams, "filter[max_highest_equipment_level]", r.filterMaxHighestEquipmentLevel, "form", "") } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -148,7 +148,7 @@ func (a *SetsAPIService) GetAllSetsListExecute(r ApiGetAllSetsListRequest) (*Set localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } if r.acceptEncoding != nil { - parameterAddToHeaderOrQuery(localVarHeaderParams, "Accept-Encoding", r.acceptEncoding, "") + parameterAddToHeaderOrQuery(localVarHeaderParams, "Accept-Encoding", r.acceptEncoding, "simple", "") } req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { @@ -289,22 +289,22 @@ func (a *SetsAPIService) GetSetsListExecute(r ApiGetSetsListRequest) (*SetsListP } if r.sortLevel != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "sort[level]", r.sortLevel, "") + parameterAddToHeaderOrQuery(localVarQueryParams, "sort[level]", r.sortLevel, "form", "") } if r.filterMinHighestEquipmentLevel != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "filter[min_highest_equipment_level]", r.filterMinHighestEquipmentLevel, "") + parameterAddToHeaderOrQuery(localVarQueryParams, "filter[min_highest_equipment_level]", r.filterMinHighestEquipmentLevel, "form", "") } if r.filterMaxHighestEquipmentLevel != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "filter[max_highest_equipment_level]", r.filterMaxHighestEquipmentLevel, "") + parameterAddToHeaderOrQuery(localVarQueryParams, "filter[max_highest_equipment_level]", r.filterMaxHighestEquipmentLevel, "form", "") } if r.pageSize != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "page[size]", r.pageSize, "") + parameterAddToHeaderOrQuery(localVarQueryParams, "page[size]", r.pageSize, "form", "") } if r.pageNumber != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "page[number]", r.pageNumber, "") + parameterAddToHeaderOrQuery(localVarQueryParams, "page[number]", r.pageNumber, "form", "") } if r.fieldsSet != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "fields[set]", r.fieldsSet, "csv") + parameterAddToHeaderOrQuery(localVarQueryParams, "fields[set]", r.fieldsSet, "form", "csv") } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -450,15 +450,15 @@ func (a *SetsAPIService) GetSetsSearchExecute(r ApiGetSetsSearchRequest) ([]SetL return localVarReturnValue, nil, reportError("query is required and must be specified") } - parameterAddToHeaderOrQuery(localVarQueryParams, "query", r.query, "") + parameterAddToHeaderOrQuery(localVarQueryParams, "query", r.query, "form", "") if r.filterMinHighestEquipmentLevel != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "filter[min_highest_equipment_level]", r.filterMinHighestEquipmentLevel, "") + parameterAddToHeaderOrQuery(localVarQueryParams, "filter[min_highest_equipment_level]", r.filterMinHighestEquipmentLevel, "form", "") } if r.filterMaxHighestEquipmentLevel != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "filter[max_highest_equipment_level]", r.filterMaxHighestEquipmentLevel, "") + parameterAddToHeaderOrQuery(localVarQueryParams, "filter[max_highest_equipment_level]", r.filterMaxHighestEquipmentLevel, "form", "") } if r.limit != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "") + parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "") } else { var defaultValue int32 = 8 r.limit = &defaultValue diff --git a/api_webhooks.go b/api_webhooks.go index c391667..3e2be2c 100644 --- a/api_webhooks.go +++ b/api_webhooks.go @@ -3,7 +3,7 @@ dofusdude # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## 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` - [PHP](https://github.com/dofusdude/dofusdude-php) - [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 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). -API version: 0.9.0 +API version: 0.9.1 Contact: stelzo@steado.de */ diff --git a/client.go b/client.go index 57e5602..c0cd6e5 100644 --- a/client.go +++ b/client.go @@ -3,7 +3,7 @@ dofusdude # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## 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` - [PHP](https://github.com/dofusdude/dofusdude-php) - [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 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). -API version: 0.9.0 +API version: 0.9.1 Contact: stelzo@steado.de */ @@ -42,7 +42,7 @@ var ( queryDescape = strings.NewReplacer( "%5B", "[", "%5D", "]" ) ) -// APIClient manages communication with the dofusdude API v0.9.0 +// APIClient manages communication with the dofusdude API v0.9.1 // In most cases there should be only one, shared, APIClient. type APIClient struct { cfg *Configuration @@ -173,7 +173,7 @@ func parameterValueToString( obj interface{}, key string ) string { // parameterAddToHeaderOrQuery adds the provided object to the request header or url query // supporting deep object syntax -func parameterAddToHeaderOrQuery(headerOrQueryParams interface{}, keyPrefix string, obj interface{}, collectionType string) { +func parameterAddToHeaderOrQuery(headerOrQueryParams interface{}, keyPrefix string, obj interface{}, style string, collectionType string) { var v = reflect.ValueOf(obj) var value = "" if v == reflect.ValueOf(nil) { @@ -189,11 +189,11 @@ func parameterAddToHeaderOrQuery(headerOrQueryParams interface{}, keyPrefix stri if err != nil { return } - parameterAddToHeaderOrQuery(headerOrQueryParams, keyPrefix, dataMap, collectionType) + parameterAddToHeaderOrQuery(headerOrQueryParams, keyPrefix, dataMap, style, collectionType) return } if t, ok := obj.(time.Time); ok { - parameterAddToHeaderOrQuery(headerOrQueryParams, keyPrefix, t.Format(time.RFC3339), collectionType) + parameterAddToHeaderOrQuery(headerOrQueryParams, keyPrefix, t.Format(time.RFC3339Nano), style, collectionType) return } value = v.Type().String() + " value" @@ -205,7 +205,11 @@ func parameterAddToHeaderOrQuery(headerOrQueryParams interface{}, keyPrefix stri var lenIndValue = indValue.Len() for i:=0;i ItemsListPaged GetItemsConsumablesList(ctx, language, game).SortLevel(sortLevel).FilterTypeName(filterTypeName).FilterMinLevel(filterMinLevel).FilterMaxLevel(filterMaxLevel).PageSize(pageSize).PageNumber(pageNumber).FieldsItem(fieldsItem).Execute() +> ItemsListPaged GetItemsConsumablesList(ctx, language, game).SortLevel(sortLevel).FilterTypeName(filterTypeName).FilterMinLevel(filterMinLevel).FilterMaxLevel(filterMaxLevel).PageSize(pageSize).PageNumber(pageNumber).FieldsItem(fieldsItem).FilterTypeEnum(filterTypeEnum).Execute() List Consumables @@ -124,10 +124,11 @@ func main() { pageSize := int32(2) // int32 | size of the results from the list. -1 disables pagination and gets all in one response. (optional) pageNumber := int32(1) // int32 | page number based on the current page[size]. So you could get page 1 with 8 entrys and page 2 would have entries 8 to 16. (optional) fieldsItem := []string{"FieldsItem_example"} // []string | adds fields from their detail endpoint to the item list entries. Multiple comma separated values allowed. (optional) + filterTypeEnum := []string{"Inner_example"} // []string | multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ConsumablesAPI.GetItemsConsumablesList(context.Background(), language, game).SortLevel(sortLevel).FilterTypeName(filterTypeName).FilterMinLevel(filterMinLevel).FilterMaxLevel(filterMaxLevel).PageSize(pageSize).PageNumber(pageNumber).FieldsItem(fieldsItem).Execute() + resp, r, err := apiClient.ConsumablesAPI.GetItemsConsumablesList(context.Background(), language, game).SortLevel(sortLevel).FilterTypeName(filterTypeName).FilterMinLevel(filterMinLevel).FilterMaxLevel(filterMaxLevel).PageSize(pageSize).PageNumber(pageNumber).FieldsItem(fieldsItem).FilterTypeEnum(filterTypeEnum).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `ConsumablesAPI.GetItemsConsumablesList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -162,6 +163,7 @@ Name | Type | Description | Notes **pageSize** | **int32** | size of the results from the list. -1 disables pagination and gets all in one response. | **pageNumber** | **int32** | page number based on the current page[size]. So you could get page 1 with 8 entrys and page 2 would have entries 8 to 16. | **fieldsItem** | **[]string** | adds fields from their detail endpoint to the item list entries. Multiple comma separated values allowed. | + **filterTypeEnum** | **[]string** | multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". | ### Return type @@ -183,7 +185,7 @@ No authorization required ## GetItemsConsumablesSearch -> []ItemListEntry GetItemsConsumablesSearch(ctx, language, game).Query(query).FilterTypeName(filterTypeName).FilterMinLevel(filterMinLevel).FilterMaxLevel(filterMaxLevel).Limit(limit).Execute() +> []ItemListEntry GetItemsConsumablesSearch(ctx, language, game).Query(query).FilterTypeName(filterTypeName).FilterMinLevel(filterMinLevel).FilterMaxLevel(filterMaxLevel).Limit(limit).FilterTypeEnum(filterTypeEnum).Execute() Search Consumables @@ -209,10 +211,11 @@ func main() { filterMinLevel := int32(1) // int32 | only results which level is equal or above this value (optional) filterMaxLevel := int32(200) // int32 | only results which level is equal or below this value (optional) limit := int32(8) // int32 | maximum number of returned results (optional) (default to 8) + filterTypeEnum := []string{"Inner_example"} // []string | multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ConsumablesAPI.GetItemsConsumablesSearch(context.Background(), language, game).Query(query).FilterTypeName(filterTypeName).FilterMinLevel(filterMinLevel).FilterMaxLevel(filterMaxLevel).Limit(limit).Execute() + resp, r, err := apiClient.ConsumablesAPI.GetItemsConsumablesSearch(context.Background(), language, game).Query(query).FilterTypeName(filterTypeName).FilterMinLevel(filterMinLevel).FilterMaxLevel(filterMaxLevel).Limit(limit).FilterTypeEnum(filterTypeEnum).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `ConsumablesAPI.GetItemsConsumablesSearch``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -245,6 +248,7 @@ Name | Type | Description | Notes **filterMinLevel** | **int32** | only results which level is equal or above this value | **filterMaxLevel** | **int32** | only results which level is equal or below this value | **limit** | **int32** | maximum number of returned results | [default to 8] + **filterTypeEnum** | **[]string** | multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". | ### Return type diff --git a/docs/CosmeticsAPI.md b/docs/CosmeticsAPI.md index 087bc42..26f899d 100644 --- a/docs/CosmeticsAPI.md +++ b/docs/CosmeticsAPI.md @@ -96,7 +96,7 @@ No authorization required ## GetCosmeticsList -> ItemsListPaged GetCosmeticsList(ctx, language, game).SortLevel(sortLevel).FilterTypeName(filterTypeName).FilterMinLevel(filterMinLevel).FilterMaxLevel(filterMaxLevel).PageSize(pageSize).PageNumber(pageNumber).FieldsItem(fieldsItem).Execute() +> ItemsListPaged GetCosmeticsList(ctx, language, game).SortLevel(sortLevel).FilterTypeName(filterTypeName).FilterMinLevel(filterMinLevel).FilterMaxLevel(filterMaxLevel).PageSize(pageSize).PageNumber(pageNumber).FieldsItem(fieldsItem).FilterTypeEnum(filterTypeEnum).Execute() List Cosmetics @@ -124,10 +124,11 @@ func main() { pageSize := int32(5) // int32 | size of the results from the list. -1 disables pagination and gets all in one response. (optional) pageNumber := int32(1) // int32 | page number based on the current page[size]. So you could get page 1 with 8 entrys and page 2 would have entries 8 to 16. (optional) fieldsItem := []string{"FieldsItem_example"} // []string | adds fields from their detail endpoint to the item list entries. Multiple comma separated values allowed. (optional) + filterTypeEnum := []string{"Inner_example"} // []string | multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.CosmeticsAPI.GetCosmeticsList(context.Background(), language, game).SortLevel(sortLevel).FilterTypeName(filterTypeName).FilterMinLevel(filterMinLevel).FilterMaxLevel(filterMaxLevel).PageSize(pageSize).PageNumber(pageNumber).FieldsItem(fieldsItem).Execute() + resp, r, err := apiClient.CosmeticsAPI.GetCosmeticsList(context.Background(), language, game).SortLevel(sortLevel).FilterTypeName(filterTypeName).FilterMinLevel(filterMinLevel).FilterMaxLevel(filterMaxLevel).PageSize(pageSize).PageNumber(pageNumber).FieldsItem(fieldsItem).FilterTypeEnum(filterTypeEnum).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `CosmeticsAPI.GetCosmeticsList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -162,6 +163,7 @@ Name | Type | Description | Notes **pageSize** | **int32** | size of the results from the list. -1 disables pagination and gets all in one response. | **pageNumber** | **int32** | page number based on the current page[size]. So you could get page 1 with 8 entrys and page 2 would have entries 8 to 16. | **fieldsItem** | **[]string** | adds fields from their detail endpoint to the item list entries. Multiple comma separated values allowed. | + **filterTypeEnum** | **[]string** | multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". | ### Return type @@ -183,7 +185,7 @@ No authorization required ## GetCosmeticsSearch -> []ItemListEntry GetCosmeticsSearch(ctx, language, game).Query(query).FilterTypeName(filterTypeName).FilterMinLevel(filterMinLevel).FilterMaxLevel(filterMaxLevel).Limit(limit).Execute() +> []ItemListEntry GetCosmeticsSearch(ctx, language, game).Query(query).FilterTypeName(filterTypeName).FilterMinLevel(filterMinLevel).FilterMaxLevel(filterMaxLevel).Limit(limit).FilterTypeEnum(filterTypeEnum).Execute() Search Cosmetics @@ -205,14 +207,15 @@ func main() { language := "language_example" // string | a valid language code game := "dofus2" // string | query := "nedora" // string | case sensitive search query - filterTypeName := "Costume" // string | only results with the translated type name (optional) + filterTypeName := "Wings" // string | only results with the translated type name (optional) filterMinLevel := int32(1) // int32 | only results which level is equal or above this value (optional) filterMaxLevel := int32(2) // int32 | only results which level is equal or below this value (optional) limit := int32(8) // int32 | maximum number of returned results (optional) (default to 8) + filterTypeEnum := []string{"Inner_example"} // []string | multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.CosmeticsAPI.GetCosmeticsSearch(context.Background(), language, game).Query(query).FilterTypeName(filterTypeName).FilterMinLevel(filterMinLevel).FilterMaxLevel(filterMaxLevel).Limit(limit).Execute() + resp, r, err := apiClient.CosmeticsAPI.GetCosmeticsSearch(context.Background(), language, game).Query(query).FilterTypeName(filterTypeName).FilterMinLevel(filterMinLevel).FilterMaxLevel(filterMaxLevel).Limit(limit).FilterTypeEnum(filterTypeEnum).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `CosmeticsAPI.GetCosmeticsSearch``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -245,6 +248,7 @@ Name | Type | Description | Notes **filterMinLevel** | **int32** | only results which level is equal or above this value | **filterMaxLevel** | **int32** | only results which level is equal or below this value | **limit** | **int32** | maximum number of returned results | [default to 8] + **filterTypeEnum** | **[]string** | multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". | ### Return type diff --git a/docs/EquipmentAPI.md b/docs/EquipmentAPI.md index ba694a3..e730ce8 100644 --- a/docs/EquipmentAPI.md +++ b/docs/EquipmentAPI.md @@ -96,7 +96,7 @@ No authorization required ## GetItemsEquipmentList -> ItemsListPaged GetItemsEquipmentList(ctx, language, game).SortLevel(sortLevel).FilterTypeName(filterTypeName).FilterMinLevel(filterMinLevel).FilterMaxLevel(filterMaxLevel).PageSize(pageSize).PageNumber(pageNumber).FieldsItem(fieldsItem).Execute() +> ItemsListPaged GetItemsEquipmentList(ctx, language, game).SortLevel(sortLevel).FilterTypeName(filterTypeName).FilterMinLevel(filterMinLevel).FilterMaxLevel(filterMaxLevel).PageSize(pageSize).PageNumber(pageNumber).FieldsItem(fieldsItem).FilterTypeEnum(filterTypeEnum).Execute() List Equipment @@ -124,10 +124,11 @@ func main() { pageSize := int32(5) // int32 | size of the results from the list. -1 disables pagination and gets all in one response. (optional) pageNumber := int32(1) // int32 | page number based on the current page[size]. So you could get page 1 with 8 entrys and page 2 would have entries 8 to 16. (optional) fieldsItem := []string{"FieldsItem_example"} // []string | adds fields from their detail endpoint to the item list entries. Multiple comma separated values allowed. (optional) + filterTypeEnum := []string{"Inner_example"} // []string | multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.EquipmentAPI.GetItemsEquipmentList(context.Background(), language, game).SortLevel(sortLevel).FilterTypeName(filterTypeName).FilterMinLevel(filterMinLevel).FilterMaxLevel(filterMaxLevel).PageSize(pageSize).PageNumber(pageNumber).FieldsItem(fieldsItem).Execute() + resp, r, err := apiClient.EquipmentAPI.GetItemsEquipmentList(context.Background(), language, game).SortLevel(sortLevel).FilterTypeName(filterTypeName).FilterMinLevel(filterMinLevel).FilterMaxLevel(filterMaxLevel).PageSize(pageSize).PageNumber(pageNumber).FieldsItem(fieldsItem).FilterTypeEnum(filterTypeEnum).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `EquipmentAPI.GetItemsEquipmentList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -162,6 +163,7 @@ Name | Type | Description | Notes **pageSize** | **int32** | size of the results from the list. -1 disables pagination and gets all in one response. | **pageNumber** | **int32** | page number based on the current page[size]. So you could get page 1 with 8 entrys and page 2 would have entries 8 to 16. | **fieldsItem** | **[]string** | adds fields from their detail endpoint to the item list entries. Multiple comma separated values allowed. | + **filterTypeEnum** | **[]string** | multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". | ### Return type @@ -183,7 +185,7 @@ No authorization required ## GetItemsEquipmentSearch -> []ItemListEntry GetItemsEquipmentSearch(ctx, language, game).Query(query).FilterTypeName(filterTypeName).FilterMinLevel(filterMinLevel).FilterMaxLevel(filterMaxLevel).Limit(limit).Execute() +> []ItemListEntry GetItemsEquipmentSearch(ctx, language, game).Query(query).FilterTypeName(filterTypeName).FilterMinLevel(filterMinLevel).FilterMaxLevel(filterMaxLevel).Limit(limit).FilterTypeEnum(filterTypeEnum).Execute() Search Equipment @@ -209,10 +211,11 @@ func main() { filterMinLevel := int32(150) // int32 | only results which level is equal or above this value (optional) filterMaxLevel := int32(200) // int32 | only results which level is equal or below this value (optional) limit := int32(8) // int32 | maximum number of returned results (optional) (default to 8) + filterTypeEnum := []string{"Inner_example"} // []string | multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.EquipmentAPI.GetItemsEquipmentSearch(context.Background(), language, game).Query(query).FilterTypeName(filterTypeName).FilterMinLevel(filterMinLevel).FilterMaxLevel(filterMaxLevel).Limit(limit).Execute() + resp, r, err := apiClient.EquipmentAPI.GetItemsEquipmentSearch(context.Background(), language, game).Query(query).FilterTypeName(filterTypeName).FilterMinLevel(filterMinLevel).FilterMaxLevel(filterMaxLevel).Limit(limit).FilterTypeEnum(filterTypeEnum).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `EquipmentAPI.GetItemsEquipmentSearch``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -245,6 +248,7 @@ Name | Type | Description | Notes **filterMinLevel** | **int32** | only results which level is equal or above this value | **filterMaxLevel** | **int32** | only results which level is equal or below this value | **limit** | **int32** | maximum number of returned results | [default to 8] + **filterTypeEnum** | **[]string** | multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". | ### Return type diff --git a/docs/GameAPI.md b/docs/GameAPI.md index d4e51f1..34919c1 100644 --- a/docs/GameAPI.md +++ b/docs/GameAPI.md @@ -11,7 +11,7 @@ Method | HTTP request | Description ## GetGameSearch -> []GetGameSearch200ResponseInner GetGameSearch(ctx, language, game).Query(query).FilterType(filterType).Limit(limit).FieldsItem(fieldsItem).Execute() +> []GetGameSearch200ResponseInner GetGameSearch(ctx, language, game).Query(query).FilterType(filterType).Limit(limit).FieldsItem(fieldsItem).FilterTypeEnum(filterTypeEnum).Execute() Game Search @@ -36,10 +36,11 @@ func main() { filterType := []string{"FilterType_example"} // []string | only results with all specific type (optional) limit := int32(8) // int32 | maximum number of returned results (optional) (default to 8) fieldsItem := []string{"FieldsItem_example"} // []string | adds fields from the item search to the list entries if the hit is a item. Multiple comma separated values allowed. (optional) + filterTypeEnum := []string{"Inner_example"} // []string | multi-filter results with the english item type name, including \"mount\" and \"set\" from filter[type]. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.GameAPI.GetGameSearch(context.Background(), language, game).Query(query).FilterType(filterType).Limit(limit).FieldsItem(fieldsItem).Execute() + resp, r, err := apiClient.GameAPI.GetGameSearch(context.Background(), language, game).Query(query).FilterType(filterType).Limit(limit).FieldsItem(fieldsItem).FilterTypeEnum(filterTypeEnum).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `GameAPI.GetGameSearch``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -71,6 +72,7 @@ Name | Type | Description | Notes **filterType** | **[]string** | only results with all specific type | **limit** | **int32** | maximum number of returned results | [default to 8] **fieldsItem** | **[]string** | adds fields from the item search to the list entries if the hit is a item. Multiple comma separated values allowed. | + **filterTypeEnum** | **[]string** | multi-filter results with the english item type name, including \"mount\" and \"set\" from filter[type]. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". | ### Return type @@ -92,7 +94,7 @@ No authorization required ## GetItemsAllSearch -> []ItemsListEntryTyped GetItemsAllSearch(ctx, language, game).Query(query).FilterTypeName(filterTypeName).FilterMinLevel(filterMinLevel).FilterMaxLevel(filterMaxLevel).Limit(limit).Execute() +> []ItemsListEntryTyped GetItemsAllSearch(ctx, language, game).Query(query).FilterTypeName(filterTypeName).FilterMinLevel(filterMinLevel).FilterMaxLevel(filterMaxLevel).Limit(limit).FilterTypeEnum(filterTypeEnum).Execute() Search All Items @@ -118,10 +120,11 @@ func main() { filterMinLevel := int32(190) // int32 | only results which level is equal or above this value (optional) filterMaxLevel := int32(200) // int32 | only results which level is equal or below this value (optional) limit := int32(8) // int32 | maximum number of returned results (optional) (default to 8) + filterTypeEnum := []string{"Inner_example"} // []string | multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.GameAPI.GetItemsAllSearch(context.Background(), language, game).Query(query).FilterTypeName(filterTypeName).FilterMinLevel(filterMinLevel).FilterMaxLevel(filterMaxLevel).Limit(limit).Execute() + resp, r, err := apiClient.GameAPI.GetItemsAllSearch(context.Background(), language, game).Query(query).FilterTypeName(filterTypeName).FilterMinLevel(filterMinLevel).FilterMaxLevel(filterMaxLevel).Limit(limit).FilterTypeEnum(filterTypeEnum).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `GameAPI.GetItemsAllSearch``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -154,6 +157,7 @@ Name | Type | Description | Notes **filterMinLevel** | **int32** | only results which level is equal or above this value | **filterMaxLevel** | **int32** | only results which level is equal or below this value | **limit** | **int32** | maximum number of returned results | [default to 8] + **filterTypeEnum** | **[]string** | multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". | ### Return type diff --git a/docs/GetMetaVersion200Response.md b/docs/GetMetaVersion200Response.md new file mode 100644 index 0000000..9d3adb9 --- /dev/null +++ b/docs/GetMetaVersion200Response.md @@ -0,0 +1,108 @@ +# GetMetaVersion200Response + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Version** | Pointer to **string** | | [optional] +**Release** | Pointer to **string** | | [optional] +**UpdateStamp** | Pointer to **string** | | [optional] + +## Methods + +### NewGetMetaVersion200Response + +`func NewGetMetaVersion200Response() *GetMetaVersion200Response` + +NewGetMetaVersion200Response instantiates a new GetMetaVersion200Response object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetMetaVersion200ResponseWithDefaults + +`func NewGetMetaVersion200ResponseWithDefaults() *GetMetaVersion200Response` + +NewGetMetaVersion200ResponseWithDefaults instantiates a new GetMetaVersion200Response object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetVersion + +`func (o *GetMetaVersion200Response) GetVersion() string` + +GetVersion returns the Version field if non-nil, zero value otherwise. + +### GetVersionOk + +`func (o *GetMetaVersion200Response) GetVersionOk() (*string, bool)` + +GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVersion + +`func (o *GetMetaVersion200Response) SetVersion(v string)` + +SetVersion sets Version field to given value. + +### HasVersion + +`func (o *GetMetaVersion200Response) HasVersion() bool` + +HasVersion returns a boolean if a field has been set. + +### GetRelease + +`func (o *GetMetaVersion200Response) GetRelease() string` + +GetRelease returns the Release field if non-nil, zero value otherwise. + +### GetReleaseOk + +`func (o *GetMetaVersion200Response) GetReleaseOk() (*string, bool)` + +GetReleaseOk returns a tuple with the Release field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRelease + +`func (o *GetMetaVersion200Response) SetRelease(v string)` + +SetRelease sets Release field to given value. + +### HasRelease + +`func (o *GetMetaVersion200Response) HasRelease() bool` + +HasRelease returns a boolean if a field has been set. + +### GetUpdateStamp + +`func (o *GetMetaVersion200Response) GetUpdateStamp() string` + +GetUpdateStamp returns the UpdateStamp field if non-nil, zero value otherwise. + +### GetUpdateStampOk + +`func (o *GetMetaVersion200Response) GetUpdateStampOk() (*string, bool)` + +GetUpdateStampOk returns a tuple with the UpdateStamp field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUpdateStamp + +`func (o *GetMetaVersion200Response) SetUpdateStamp(v string)` + +SetUpdateStamp sets UpdateStamp field to given value. + +### HasUpdateStamp + +`func (o *GetMetaVersion200Response) HasUpdateStamp() bool` + +HasUpdateStamp returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/MetaAPI.md b/docs/MetaAPI.md index f600def..c6efabc 100644 --- a/docs/MetaAPI.md +++ b/docs/MetaAPI.md @@ -5,9 +5,11 @@ All URIs are relative to *https://api.dofusdu.de* Method | HTTP request | Description ------------- | ------------- | ------------- [**GetGameSearchTypes**](MetaAPI.md#GetGameSearchTypes) | **Get** /dofus2/meta/search/types | Available Game Search Types +[**GetItemTypes**](MetaAPI.md#GetItemTypes) | **Get** /dofus2/meta/items/types | Available Item Types [**GetMetaAlmanaxBonuses**](MetaAPI.md#GetMetaAlmanaxBonuses) | **Get** /dofus2/meta/{language}/almanax/bonuses | Available Almanax Bonuses [**GetMetaAlmanaxBonusesSearch**](MetaAPI.md#GetMetaAlmanaxBonusesSearch) | **Get** /dofus2/meta/{language}/almanax/bonuses/search | Search Available Almanax Bonuses [**GetMetaElements**](MetaAPI.md#GetMetaElements) | **Get** /dofus2/meta/elements | Effects and Condition Elements +[**GetMetaVersion**](MetaAPI.md#GetMetaVersion) | **Get** /dofus2/meta/version | Game Version @@ -72,6 +74,67 @@ No authorization required [[Back to README]](../README.md) +## GetItemTypes + +> []string GetItemTypes(ctx).Execute() + +Available Item Types + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/dofusdude/dodugo" +) + +func main() { + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.MetaAPI.GetItemTypes(context.Background()).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `MetaAPI.GetItemTypes``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `GetItemTypes`: []string + fmt.Fprintf(os.Stdout, "Response from `MetaAPI.GetItemTypes`: %v\n", resp) +} +``` + +### Path Parameters + +This endpoint does not need any parameter. + +### Other Parameters + +Other parameters are passed through a pointer to a apiGetItemTypesRequest struct via the builder pattern + + +### Return type + +**[]string** + +### Authorization + +No authorization required + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + ## GetMetaAlmanaxBonuses > []GetMetaAlmanaxBonuses200ResponseInner GetMetaAlmanaxBonuses(ctx, language).Execute() @@ -276,3 +339,64 @@ No authorization required [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +## GetMetaVersion + +> GetMetaVersion200Response GetMetaVersion(ctx).Execute() + +Game Version + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/dofusdude/dodugo" +) + +func main() { + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.MetaAPI.GetMetaVersion(context.Background()).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `MetaAPI.GetMetaVersion``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `GetMetaVersion`: GetMetaVersion200Response + fmt.Fprintf(os.Stdout, "Response from `MetaAPI.GetMetaVersion`: %v\n", resp) +} +``` + +### Path Parameters + +This endpoint does not need any parameter. + +### Other Parameters + +Other parameters are passed through a pointer to a apiGetMetaVersionRequest struct via the builder pattern + + +### Return type + +[**GetMetaVersion200Response**](GetMetaVersion200Response.md) + +### Authorization + +No authorization required + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + diff --git a/docs/QuestItemsAPI.md b/docs/QuestItemsAPI.md index 8f75a60..69a16af 100644 --- a/docs/QuestItemsAPI.md +++ b/docs/QuestItemsAPI.md @@ -172,7 +172,7 @@ No authorization required ## GetItemsQuestList -> ItemsListPaged GetItemsQuestList(ctx, language, game).SortLevel(sortLevel).FilterTypeName(filterTypeName).FilterMinLevel(filterMinLevel).FilterMaxLevel(filterMaxLevel).PageSize(pageSize).PageNumber(pageNumber).FieldsItem(fieldsItem).Execute() +> ItemsListPaged GetItemsQuestList(ctx, language, game).SortLevel(sortLevel).FilterTypeName(filterTypeName).FilterMinLevel(filterMinLevel).FilterMaxLevel(filterMaxLevel).PageSize(pageSize).PageNumber(pageNumber).FieldsItem(fieldsItem).FilterTypeEnum(filterTypeEnum).Execute() List Quest Items @@ -200,10 +200,11 @@ func main() { pageSize := int32(5) // int32 | size of the results from the list. -1 disables pagination and gets all in one response. (optional) pageNumber := int32(1) // int32 | page number based on the current page[size]. So you could get page 1 with 8 entrys and page 2 would have entries 8 to 16. (optional) fieldsItem := []string{"FieldsItem_example"} // []string | adds fields from their detail endpoint to the item list entries. Multiple comma separated values allowed. (optional) + filterTypeEnum := []string{"Inner_example"} // []string | multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.QuestItemsAPI.GetItemsQuestList(context.Background(), language, game).SortLevel(sortLevel).FilterTypeName(filterTypeName).FilterMinLevel(filterMinLevel).FilterMaxLevel(filterMaxLevel).PageSize(pageSize).PageNumber(pageNumber).FieldsItem(fieldsItem).Execute() + resp, r, err := apiClient.QuestItemsAPI.GetItemsQuestList(context.Background(), language, game).SortLevel(sortLevel).FilterTypeName(filterTypeName).FilterMinLevel(filterMinLevel).FilterMaxLevel(filterMaxLevel).PageSize(pageSize).PageNumber(pageNumber).FieldsItem(fieldsItem).FilterTypeEnum(filterTypeEnum).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `QuestItemsAPI.GetItemsQuestList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -238,6 +239,7 @@ Name | Type | Description | Notes **pageSize** | **int32** | size of the results from the list. -1 disables pagination and gets all in one response. | **pageNumber** | **int32** | page number based on the current page[size]. So you could get page 1 with 8 entrys and page 2 would have entries 8 to 16. | **fieldsItem** | **[]string** | adds fields from their detail endpoint to the item list entries. Multiple comma separated values allowed. | + **filterTypeEnum** | **[]string** | multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". | ### Return type @@ -259,7 +261,7 @@ No authorization required ## GetItemsQuestSearch -> []ItemListEntry GetItemsQuestSearch(ctx, language, game).Query(query).FilterTypeName(filterTypeName).FilterMinLevel(filterMinLevel).FilterMaxLevel(filterMaxLevel).Limit(limit).Execute() +> []ItemListEntry GetItemsQuestSearch(ctx, language, game).Query(query).FilterTypeName(filterTypeName).FilterMinLevel(filterMinLevel).FilterMaxLevel(filterMaxLevel).Limit(limit).FilterTypeEnum(filterTypeEnum).Execute() Search Quest Items @@ -285,10 +287,11 @@ func main() { filterMinLevel := int32(60) // int32 | only results which level is equal or above this value (optional) filterMaxLevel := int32(70) // int32 | only results which level is equal or below this value (optional) limit := int32(8) // int32 | maximum number of returned results (optional) (default to 8) + filterTypeEnum := []string{"Inner_example"} // []string | multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.QuestItemsAPI.GetItemsQuestSearch(context.Background(), language, game).Query(query).FilterTypeName(filterTypeName).FilterMinLevel(filterMinLevel).FilterMaxLevel(filterMaxLevel).Limit(limit).Execute() + resp, r, err := apiClient.QuestItemsAPI.GetItemsQuestSearch(context.Background(), language, game).Query(query).FilterTypeName(filterTypeName).FilterMinLevel(filterMinLevel).FilterMaxLevel(filterMaxLevel).Limit(limit).FilterTypeEnum(filterTypeEnum).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `QuestItemsAPI.GetItemsQuestSearch``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -321,6 +324,7 @@ Name | Type | Description | Notes **filterMinLevel** | **int32** | only results which level is equal or above this value | **filterMaxLevel** | **int32** | only results which level is equal or below this value | **limit** | **int32** | maximum number of returned results | [default to 8] + **filterTypeEnum** | **[]string** | multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". | ### Return type diff --git a/docs/ResourcesAPI.md b/docs/ResourcesAPI.md index 4bdbb9f..b3ae193 100644 --- a/docs/ResourcesAPI.md +++ b/docs/ResourcesAPI.md @@ -96,7 +96,7 @@ No authorization required ## GetItemsResourceSearch -> []ItemListEntry GetItemsResourceSearch(ctx, language, game).Query(query).FilterTypeName(filterTypeName).FilterMinLevel(filterMinLevel).FilterMaxLevel(filterMaxLevel).Limit(limit).Execute() +> []ItemListEntry GetItemsResourceSearch(ctx, language, game).Query(query).FilterTypeName(filterTypeName).FilterMinLevel(filterMinLevel).FilterMaxLevel(filterMaxLevel).Limit(limit).FilterTypeEnum(filterTypeEnum).Execute() Search Resources @@ -122,10 +122,11 @@ func main() { filterMinLevel := int32(150) // int32 | only results which level is equal or above this value (optional) filterMaxLevel := int32(200) // int32 | only results which level is equal or below this value (optional) limit := int32(8) // int32 | maximum number of returned results (optional) (default to 8) + filterTypeEnum := []string{"Inner_example"} // []string | multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ResourcesAPI.GetItemsResourceSearch(context.Background(), language, game).Query(query).FilterTypeName(filterTypeName).FilterMinLevel(filterMinLevel).FilterMaxLevel(filterMaxLevel).Limit(limit).Execute() + resp, r, err := apiClient.ResourcesAPI.GetItemsResourceSearch(context.Background(), language, game).Query(query).FilterTypeName(filterTypeName).FilterMinLevel(filterMinLevel).FilterMaxLevel(filterMaxLevel).Limit(limit).FilterTypeEnum(filterTypeEnum).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `ResourcesAPI.GetItemsResourceSearch``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -158,6 +159,7 @@ Name | Type | Description | Notes **filterMinLevel** | **int32** | only results which level is equal or above this value | **filterMaxLevel** | **int32** | only results which level is equal or below this value | **limit** | **int32** | maximum number of returned results | [default to 8] + **filterTypeEnum** | **[]string** | multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". | ### Return type @@ -179,7 +181,7 @@ No authorization required ## GetItemsResourcesList -> ItemsListPaged GetItemsResourcesList(ctx, language, game).SortLevel(sortLevel).FilterTypeName(filterTypeName).FilterMinLevel(filterMinLevel).FilterMaxLevel(filterMaxLevel).PageSize(pageSize).PageNumber(pageNumber).FieldsItem(fieldsItem).Execute() +> ItemsListPaged GetItemsResourcesList(ctx, language, game).SortLevel(sortLevel).FilterTypeName(filterTypeName).FilterMinLevel(filterMinLevel).FilterMaxLevel(filterMaxLevel).PageSize(pageSize).PageNumber(pageNumber).FieldsItem(fieldsItem).FilterTypeEnum(filterTypeEnum).Execute() List Resources @@ -207,10 +209,11 @@ func main() { pageSize := int32(10) // int32 | size of the results from the list. -1 disables pagination and gets all in one response. (optional) pageNumber := int32(1) // int32 | page number based on the current page[size]. So you could get page 1 with 8 entrys and page 2 would have entries 8 to 16. (optional) fieldsItem := []string{"FieldsItem_example"} // []string | adds fields from their detail endpoint to the item list entries. Multiple comma separated values allowed. (optional) + filterTypeEnum := []string{"Inner_example"} // []string | multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ResourcesAPI.GetItemsResourcesList(context.Background(), language, game).SortLevel(sortLevel).FilterTypeName(filterTypeName).FilterMinLevel(filterMinLevel).FilterMaxLevel(filterMaxLevel).PageSize(pageSize).PageNumber(pageNumber).FieldsItem(fieldsItem).Execute() + resp, r, err := apiClient.ResourcesAPI.GetItemsResourcesList(context.Background(), language, game).SortLevel(sortLevel).FilterTypeName(filterTypeName).FilterMinLevel(filterMinLevel).FilterMaxLevel(filterMaxLevel).PageSize(pageSize).PageNumber(pageNumber).FieldsItem(fieldsItem).FilterTypeEnum(filterTypeEnum).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `ResourcesAPI.GetItemsResourcesList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -245,6 +248,7 @@ Name | Type | Description | Notes **pageSize** | **int32** | size of the results from the list. -1 disables pagination and gets all in one response. | **pageNumber** | **int32** | page number based on the current page[size]. So you could get page 1 with 8 entrys and page 2 would have entries 8 to 16. | **fieldsItem** | **[]string** | adds fields from their detail endpoint to the item list entries. Multiple comma separated values allowed. | + **filterTypeEnum** | **[]string** | multi-filter results with the english type name. Add with \"wood\" or \"+wood\" and exclude with \"-wood\". | ### Return type diff --git a/go.mod b/go.mod index 70ede4a..3da80a1 100644 --- a/go.mod +++ b/go.mod @@ -2,7 +2,10 @@ module github.com/dofusdude/dodugo go 1.18 -require github.com/stretchr/testify v1.9.0 +require ( + github.com/stretchr/testify v1.9.0 + gopkg.in/validator.v2 v2.0.1 +) require ( github.com/davecgh/go-spew v1.1.1 // indirect diff --git a/go.sum b/go.sum index 60ce688..8edb9d2 100644 --- a/go.sum +++ b/go.sum @@ -1,10 +1,14 @@ github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/kr/pretty v0.2.1 h1:Fmg33tUaq4/8ym9TJN1x7sLJnHVwhP33CNkpYV/7rwI= +github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg= github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= -gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk= +gopkg.in/validator.v2 v2.0.1 h1:xF0KWyGWXm/LM2G1TrEjqOu4pa6coO9AlWSf3msVfDY= +gopkg.in/validator.v2 v2.0.1/go.mod h1:lIUZBlB3Im4s/eYp39Ry/wkR02yOPhZ9IwIRBjuPuG8= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= diff --git a/model_almanax_entry.go b/model_almanax_entry.go index 40165e5..1d2089d 100644 --- a/model_almanax_entry.go +++ b/model_almanax_entry.go @@ -3,7 +3,7 @@ dofusdude # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## 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` - [PHP](https://github.com/dofusdude/dofusdude-php) - [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 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). -API version: 0.9.0 +API version: 0.9.1 Contact: stelzo@steado.de */ diff --git a/model_almanax_entry_bonus.go b/model_almanax_entry_bonus.go index e5ebbb2..ad21c52 100644 --- a/model_almanax_entry_bonus.go +++ b/model_almanax_entry_bonus.go @@ -3,7 +3,7 @@ dofusdude # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## 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` - [PHP](https://github.com/dofusdude/dofusdude-php) - [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 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). -API version: 0.9.0 +API version: 0.9.1 Contact: stelzo@steado.de */ diff --git a/model_almanax_entry_tribute.go b/model_almanax_entry_tribute.go index 750a707..614fbf6 100644 --- a/model_almanax_entry_tribute.go +++ b/model_almanax_entry_tribute.go @@ -3,7 +3,7 @@ dofusdude # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## 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` - [PHP](https://github.com/dofusdude/dofusdude-php) - [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 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). -API version: 0.9.0 +API version: 0.9.1 Contact: stelzo@steado.de */ diff --git a/model_almanax_entry_tribute_item.go b/model_almanax_entry_tribute_item.go index c9390fa..0c7e575 100644 --- a/model_almanax_entry_tribute_item.go +++ b/model_almanax_entry_tribute_item.go @@ -3,7 +3,7 @@ dofusdude # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## 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` - [PHP](https://github.com/dofusdude/dofusdude-php) - [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 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). -API version: 0.9.0 +API version: 0.9.1 Contact: stelzo@steado.de */ diff --git a/model_almanax_webhook.go b/model_almanax_webhook.go index aff6ed1..ee14d8e 100644 --- a/model_almanax_webhook.go +++ b/model_almanax_webhook.go @@ -3,7 +3,7 @@ dofusdude # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## 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` - [PHP](https://github.com/dofusdude/dofusdude-php) - [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 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). -API version: 0.9.0 +API version: 0.9.1 Contact: stelzo@steado.de */ diff --git a/model_almanax_webhook_daily_settings.go b/model_almanax_webhook_daily_settings.go index a65d119..9bdd83f 100644 --- a/model_almanax_webhook_daily_settings.go +++ b/model_almanax_webhook_daily_settings.go @@ -3,7 +3,7 @@ dofusdude # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## 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` - [PHP](https://github.com/dofusdude/dofusdude-php) - [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 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). -API version: 0.9.0 +API version: 0.9.1 Contact: stelzo@steado.de */ diff --git a/model_condition_entry.go b/model_condition_entry.go index f66dff7..8700b58 100644 --- a/model_condition_entry.go +++ b/model_condition_entry.go @@ -3,7 +3,7 @@ dofusdude # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## 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` - [PHP](https://github.com/dofusdude/dofusdude-php) - [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 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). -API version: 0.9.0 +API version: 0.9.1 Contact: stelzo@steado.de */ diff --git a/model_condition_tree_leaf.go b/model_condition_tree_leaf.go index 3f2e068..09d0467 100644 --- a/model_condition_tree_leaf.go +++ b/model_condition_tree_leaf.go @@ -3,7 +3,7 @@ dofusdude # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## 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` - [PHP](https://github.com/dofusdude/dofusdude-php) - [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 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). -API version: 0.9.0 +API version: 0.9.1 Contact: stelzo@steado.de */ diff --git a/model_condition_tree_node.go b/model_condition_tree_node.go index 29eecd2..d876a57 100644 --- a/model_condition_tree_node.go +++ b/model_condition_tree_node.go @@ -3,7 +3,7 @@ dofusdude # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## 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` - [PHP](https://github.com/dofusdude/dofusdude-php) - [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 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). -API version: 0.9.0 +API version: 0.9.1 Contact: stelzo@steado.de */ @@ -13,6 +13,7 @@ package dodugo import ( "encoding/json" + "gopkg.in/validator.v2" "fmt" ) @@ -48,7 +49,11 @@ func (dst *ConditionTreeNode) UnmarshalJSON(data []byte) error { if string(jsonConditionTreeLeaf) == "{}" { // empty struct dst.ConditionTreeLeaf = nil } else { - match++ + if err = validator.Validate(dst.ConditionTreeLeaf); err != nil { + dst.ConditionTreeLeaf = nil + } else { + match++ + } } } else { dst.ConditionTreeLeaf = nil @@ -61,7 +66,11 @@ func (dst *ConditionTreeNode) UnmarshalJSON(data []byte) error { if string(jsonConditionTreeRelation) == "{}" { // empty struct dst.ConditionTreeRelation = nil } else { - match++ + if err = validator.Validate(dst.ConditionTreeRelation); err != nil { + dst.ConditionTreeRelation = nil + } else { + match++ + } } } else { dst.ConditionTreeRelation = nil diff --git a/model_condition_tree_relation.go b/model_condition_tree_relation.go index 7fefa61..69c3ad6 100644 --- a/model_condition_tree_relation.go +++ b/model_condition_tree_relation.go @@ -3,7 +3,7 @@ dofusdude # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## 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` - [PHP](https://github.com/dofusdude/dofusdude-php) - [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 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). -API version: 0.9.0 +API version: 0.9.1 Contact: stelzo@steado.de */ diff --git a/model_cosmetic.go b/model_cosmetic.go index e0e70d3..c6c4280 100644 --- a/model_cosmetic.go +++ b/model_cosmetic.go @@ -3,7 +3,7 @@ dofusdude # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## 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` - [PHP](https://github.com/dofusdude/dofusdude-php) - [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 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). -API version: 0.9.0 +API version: 0.9.1 Contact: stelzo@steado.de */ diff --git a/model_cosmetic_type.go b/model_cosmetic_type.go index 44ff2af..fda4837 100644 --- a/model_cosmetic_type.go +++ b/model_cosmetic_type.go @@ -3,7 +3,7 @@ dofusdude # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## 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` - [PHP](https://github.com/dofusdude/dofusdude-php) - [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 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). -API version: 0.9.0 +API version: 0.9.1 Contact: stelzo@steado.de */ diff --git a/model_create_almanax_webhook.go b/model_create_almanax_webhook.go index 7411c8c..4aa9eb1 100644 --- a/model_create_almanax_webhook.go +++ b/model_create_almanax_webhook.go @@ -3,7 +3,7 @@ dofusdude # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## 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` - [PHP](https://github.com/dofusdude/dofusdude-php) - [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 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). -API version: 0.9.0 +API version: 0.9.1 Contact: stelzo@steado.de */ diff --git a/model_create_almanax_webhook_daily_settings.go b/model_create_almanax_webhook_daily_settings.go index 50ed60b..a33db35 100644 --- a/model_create_almanax_webhook_daily_settings.go +++ b/model_create_almanax_webhook_daily_settings.go @@ -3,7 +3,7 @@ dofusdude # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## 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` - [PHP](https://github.com/dofusdude/dofusdude-php) - [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 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). -API version: 0.9.0 +API version: 0.9.1 Contact: stelzo@steado.de */ diff --git a/model_create_almanax_webhook_mentions_value_inner.go b/model_create_almanax_webhook_mentions_value_inner.go index 3c07ae1..22c299d 100644 --- a/model_create_almanax_webhook_mentions_value_inner.go +++ b/model_create_almanax_webhook_mentions_value_inner.go @@ -3,7 +3,7 @@ dofusdude # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## 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` - [PHP](https://github.com/dofusdude/dofusdude-php) - [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 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). -API version: 0.9.0 +API version: 0.9.1 Contact: stelzo@steado.de */ diff --git a/model_create_rss_webhook.go b/model_create_rss_webhook.go index e50b929..f5f00ab 100644 --- a/model_create_rss_webhook.go +++ b/model_create_rss_webhook.go @@ -3,7 +3,7 @@ dofusdude # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## 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` - [PHP](https://github.com/dofusdude/dofusdude-php) - [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 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). -API version: 0.9.0 +API version: 0.9.1 Contact: stelzo@steado.de */ diff --git a/model_create_twitter_webhook.go b/model_create_twitter_webhook.go index ba4df51..5870c37 100644 --- a/model_create_twitter_webhook.go +++ b/model_create_twitter_webhook.go @@ -3,7 +3,7 @@ dofusdude # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## 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` - [PHP](https://github.com/dofusdude/dofusdude-php) - [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 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). -API version: 0.9.0 +API version: 0.9.1 Contact: stelzo@steado.de */ diff --git a/model_effects_entry.go b/model_effects_entry.go index 1eba02b..9c3f5b3 100644 --- a/model_effects_entry.go +++ b/model_effects_entry.go @@ -3,7 +3,7 @@ dofusdude # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## 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` - [PHP](https://github.com/dofusdude/dofusdude-php) - [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 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). -API version: 0.9.0 +API version: 0.9.1 Contact: stelzo@steado.de */ diff --git a/model_equipment.go b/model_equipment.go index 90274d3..3135dcd 100644 --- a/model_equipment.go +++ b/model_equipment.go @@ -3,7 +3,7 @@ dofusdude # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## 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` - [PHP](https://github.com/dofusdude/dofusdude-php) - [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 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). -API version: 0.9.0 +API version: 0.9.1 Contact: stelzo@steado.de */ diff --git a/model_equipment_set.go b/model_equipment_set.go index f12dddb..d926115 100644 --- a/model_equipment_set.go +++ b/model_equipment_set.go @@ -3,7 +3,7 @@ dofusdude # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## 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` - [PHP](https://github.com/dofusdude/dofusdude-php) - [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 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). -API version: 0.9.0 +API version: 0.9.1 Contact: stelzo@steado.de */ diff --git a/model_get_game_search_200_response_inner.go b/model_get_game_search_200_response_inner.go index f6e87a4..4730804 100644 --- a/model_get_game_search_200_response_inner.go +++ b/model_get_game_search_200_response_inner.go @@ -3,7 +3,7 @@ dofusdude # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## 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` - [PHP](https://github.com/dofusdude/dofusdude-php) - [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 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). -API version: 0.9.0 +API version: 0.9.1 Contact: stelzo@steado.de */ diff --git a/model_get_meta_almanax_bonuses_200_response_inner.go b/model_get_meta_almanax_bonuses_200_response_inner.go index 538e434..bab9ca0 100644 --- a/model_get_meta_almanax_bonuses_200_response_inner.go +++ b/model_get_meta_almanax_bonuses_200_response_inner.go @@ -3,7 +3,7 @@ dofusdude # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## 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` - [PHP](https://github.com/dofusdude/dofusdude-php) - [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 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). -API version: 0.9.0 +API version: 0.9.1 Contact: stelzo@steado.de */ diff --git a/model_get_meta_version_200_response.go b/model_get_meta_version_200_response.go new file mode 100644 index 0000000..9a0f65b --- /dev/null +++ b/model_get_meta_version_200_response.go @@ -0,0 +1,199 @@ +/* +dofusdude + +# A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## 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` - [PHP](https://github.com/dofusdude/dofusdude-php) - [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 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). + +API version: 0.9.1 +Contact: stelzo@steado.de +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package dodugo + +import ( + "encoding/json" +) + +// checks if the GetMetaVersion200Response type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &GetMetaVersion200Response{} + +// GetMetaVersion200Response struct for GetMetaVersion200Response +type GetMetaVersion200Response struct { + Version *string `json:"version,omitempty"` + Release *string `json:"release,omitempty"` + UpdateStamp *string `json:"update_stamp,omitempty"` +} + +// NewGetMetaVersion200Response instantiates a new GetMetaVersion200Response object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewGetMetaVersion200Response() *GetMetaVersion200Response { + this := GetMetaVersion200Response{} + return &this +} + +// NewGetMetaVersion200ResponseWithDefaults instantiates a new GetMetaVersion200Response object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewGetMetaVersion200ResponseWithDefaults() *GetMetaVersion200Response { + this := GetMetaVersion200Response{} + return &this +} + +// GetVersion returns the Version field value if set, zero value otherwise. +func (o *GetMetaVersion200Response) GetVersion() string { + if o == nil || IsNil(o.Version) { + var ret string + return ret + } + return *o.Version +} + +// GetVersionOk returns a tuple with the Version field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GetMetaVersion200Response) GetVersionOk() (*string, bool) { + if o == nil || IsNil(o.Version) { + return nil, false + } + return o.Version, true +} + +// HasVersion returns a boolean if a field has been set. +func (o *GetMetaVersion200Response) HasVersion() bool { + if o != nil && !IsNil(o.Version) { + return true + } + + return false +} + +// SetVersion gets a reference to the given string and assigns it to the Version field. +func (o *GetMetaVersion200Response) SetVersion(v string) { + o.Version = &v +} + +// GetRelease returns the Release field value if set, zero value otherwise. +func (o *GetMetaVersion200Response) GetRelease() string { + if o == nil || IsNil(o.Release) { + var ret string + return ret + } + return *o.Release +} + +// GetReleaseOk returns a tuple with the Release field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GetMetaVersion200Response) GetReleaseOk() (*string, bool) { + if o == nil || IsNil(o.Release) { + return nil, false + } + return o.Release, true +} + +// HasRelease returns a boolean if a field has been set. +func (o *GetMetaVersion200Response) HasRelease() bool { + if o != nil && !IsNil(o.Release) { + return true + } + + return false +} + +// SetRelease gets a reference to the given string and assigns it to the Release field. +func (o *GetMetaVersion200Response) SetRelease(v string) { + o.Release = &v +} + +// GetUpdateStamp returns the UpdateStamp field value if set, zero value otherwise. +func (o *GetMetaVersion200Response) GetUpdateStamp() string { + if o == nil || IsNil(o.UpdateStamp) { + var ret string + return ret + } + return *o.UpdateStamp +} + +// GetUpdateStampOk returns a tuple with the UpdateStamp field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GetMetaVersion200Response) GetUpdateStampOk() (*string, bool) { + if o == nil || IsNil(o.UpdateStamp) { + return nil, false + } + return o.UpdateStamp, true +} + +// HasUpdateStamp returns a boolean if a field has been set. +func (o *GetMetaVersion200Response) HasUpdateStamp() bool { + if o != nil && !IsNil(o.UpdateStamp) { + return true + } + + return false +} + +// SetUpdateStamp gets a reference to the given string and assigns it to the UpdateStamp field. +func (o *GetMetaVersion200Response) SetUpdateStamp(v string) { + o.UpdateStamp = &v +} + +func (o GetMetaVersion200Response) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o GetMetaVersion200Response) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Version) { + toSerialize["version"] = o.Version + } + if !IsNil(o.Release) { + toSerialize["release"] = o.Release + } + if !IsNil(o.UpdateStamp) { + toSerialize["update_stamp"] = o.UpdateStamp + } + return toSerialize, nil +} + +type NullableGetMetaVersion200Response struct { + value *GetMetaVersion200Response + isSet bool +} + +func (v NullableGetMetaVersion200Response) Get() *GetMetaVersion200Response { + return v.value +} + +func (v *NullableGetMetaVersion200Response) Set(val *GetMetaVersion200Response) { + v.value = val + v.isSet = true +} + +func (v NullableGetMetaVersion200Response) IsSet() bool { + return v.isSet +} + +func (v *NullableGetMetaVersion200Response) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetMetaVersion200Response(val *GetMetaVersion200Response) *NullableGetMetaVersion200Response { + return &NullableGetMetaVersion200Response{value: val, isSet: true} +} + +func (v NullableGetMetaVersion200Response) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetMetaVersion200Response) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_get_meta_webhooks_twitter_200_response.go b/model_get_meta_webhooks_twitter_200_response.go index 6cc3126..767cbec 100644 --- a/model_get_meta_webhooks_twitter_200_response.go +++ b/model_get_meta_webhooks_twitter_200_response.go @@ -3,7 +3,7 @@ dofusdude # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## 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` - [PHP](https://github.com/dofusdude/dofusdude-php) - [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 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). -API version: 0.9.0 +API version: 0.9.1 Contact: stelzo@steado.de */ diff --git a/model_image_urls.go b/model_image_urls.go index 6d5a04b..381e331 100644 --- a/model_image_urls.go +++ b/model_image_urls.go @@ -3,7 +3,7 @@ dofusdude # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## 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` - [PHP](https://github.com/dofusdude/dofusdude-php) - [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 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). -API version: 0.9.0 +API version: 0.9.1 Contact: stelzo@steado.de */ diff --git a/model_item_list_entry.go b/model_item_list_entry.go index d5cf2e0..80f0508 100644 --- a/model_item_list_entry.go +++ b/model_item_list_entry.go @@ -3,7 +3,7 @@ dofusdude # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## 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` - [PHP](https://github.com/dofusdude/dofusdude-php) - [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 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). -API version: 0.9.0 +API version: 0.9.1 Contact: stelzo@steado.de */ diff --git a/model_item_list_entry_parent_set.go b/model_item_list_entry_parent_set.go index a305b37..9f86b64 100644 --- a/model_item_list_entry_parent_set.go +++ b/model_item_list_entry_parent_set.go @@ -3,7 +3,7 @@ dofusdude # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## 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` - [PHP](https://github.com/dofusdude/dofusdude-php) - [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 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). -API version: 0.9.0 +API version: 0.9.1 Contact: stelzo@steado.de */ diff --git a/model_item_list_entry_range.go b/model_item_list_entry_range.go index 8d565ca..646a771 100644 --- a/model_item_list_entry_range.go +++ b/model_item_list_entry_range.go @@ -3,7 +3,7 @@ dofusdude # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## 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` - [PHP](https://github.com/dofusdude/dofusdude-php) - [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 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). -API version: 0.9.0 +API version: 0.9.1 Contact: stelzo@steado.de */ diff --git a/model_items_list_entry_typed.go b/model_items_list_entry_typed.go index 8978237..aed22a8 100644 --- a/model_items_list_entry_typed.go +++ b/model_items_list_entry_typed.go @@ -3,7 +3,7 @@ dofusdude # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## 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` - [PHP](https://github.com/dofusdude/dofusdude-php) - [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 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). -API version: 0.9.0 +API version: 0.9.1 Contact: stelzo@steado.de */ diff --git a/model_items_list_entry_typed_type.go b/model_items_list_entry_typed_type.go index 0edcb95..82f9967 100644 --- a/model_items_list_entry_typed_type.go +++ b/model_items_list_entry_typed_type.go @@ -3,7 +3,7 @@ dofusdude # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## 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` - [PHP](https://github.com/dofusdude/dofusdude-php) - [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 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). -API version: 0.9.0 +API version: 0.9.1 Contact: stelzo@steado.de */ diff --git a/model_items_list_paged.go b/model_items_list_paged.go index d006483..b184870 100644 --- a/model_items_list_paged.go +++ b/model_items_list_paged.go @@ -3,7 +3,7 @@ dofusdude # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## 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` - [PHP](https://github.com/dofusdude/dofusdude-php) - [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 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). -API version: 0.9.0 +API version: 0.9.1 Contact: stelzo@steado.de */ diff --git a/model_links_paged.go b/model_links_paged.go index 4e665d2..084209e 100644 --- a/model_links_paged.go +++ b/model_links_paged.go @@ -3,7 +3,7 @@ dofusdude # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## 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` - [PHP](https://github.com/dofusdude/dofusdude-php) - [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 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). -API version: 0.9.0 +API version: 0.9.1 Contact: stelzo@steado.de */ diff --git a/model_mount.go b/model_mount.go index 468e5a2..889d08b 100644 --- a/model_mount.go +++ b/model_mount.go @@ -3,7 +3,7 @@ dofusdude # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## 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` - [PHP](https://github.com/dofusdude/dofusdude-php) - [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 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). -API version: 0.9.0 +API version: 0.9.1 Contact: stelzo@steado.de */ diff --git a/model_mount_list_entry.go b/model_mount_list_entry.go index c9eb5fa..698bce7 100644 --- a/model_mount_list_entry.go +++ b/model_mount_list_entry.go @@ -3,7 +3,7 @@ dofusdude # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## 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` - [PHP](https://github.com/dofusdude/dofusdude-php) - [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 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). -API version: 0.9.0 +API version: 0.9.1 Contact: stelzo@steado.de */ diff --git a/model_mounts_list_paged.go b/model_mounts_list_paged.go index 18f37e9..7e314cb 100644 --- a/model_mounts_list_paged.go +++ b/model_mounts_list_paged.go @@ -3,7 +3,7 @@ dofusdude # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## 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` - [PHP](https://github.com/dofusdude/dofusdude-php) - [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 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). -API version: 0.9.0 +API version: 0.9.1 Contact: stelzo@steado.de */ diff --git a/model_put_almanax_webhook.go b/model_put_almanax_webhook.go index a744e55..2cf8442 100644 --- a/model_put_almanax_webhook.go +++ b/model_put_almanax_webhook.go @@ -3,7 +3,7 @@ dofusdude # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## 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` - [PHP](https://github.com/dofusdude/dofusdude-php) - [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 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). -API version: 0.9.0 +API version: 0.9.1 Contact: stelzo@steado.de */ diff --git a/model_put_rss_webhook.go b/model_put_rss_webhook.go index e0d20a9..e55100e 100644 --- a/model_put_rss_webhook.go +++ b/model_put_rss_webhook.go @@ -3,7 +3,7 @@ dofusdude # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## 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` - [PHP](https://github.com/dofusdude/dofusdude-php) - [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 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). -API version: 0.9.0 +API version: 0.9.1 Contact: stelzo@steado.de */ diff --git a/model_put_twitter_webhook.go b/model_put_twitter_webhook.go index 2e26aad..11b7b06 100644 --- a/model_put_twitter_webhook.go +++ b/model_put_twitter_webhook.go @@ -3,7 +3,7 @@ dofusdude # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## 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` - [PHP](https://github.com/dofusdude/dofusdude-php) - [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 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). -API version: 0.9.0 +API version: 0.9.1 Contact: stelzo@steado.de */ diff --git a/model_recipe_entry.go b/model_recipe_entry.go index a6f70d4..c1b83ec 100644 --- a/model_recipe_entry.go +++ b/model_recipe_entry.go @@ -3,7 +3,7 @@ dofusdude # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## 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` - [PHP](https://github.com/dofusdude/dofusdude-php) - [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 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). -API version: 0.9.0 +API version: 0.9.1 Contact: stelzo@steado.de */ diff --git a/model_resource.go b/model_resource.go index a094842..ceb6ae8 100644 --- a/model_resource.go +++ b/model_resource.go @@ -3,7 +3,7 @@ dofusdude # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## 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` - [PHP](https://github.com/dofusdude/dofusdude-php) - [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 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). -API version: 0.9.0 +API version: 0.9.1 Contact: stelzo@steado.de */ diff --git a/model_rss_webhook.go b/model_rss_webhook.go index 34986f0..09a04f2 100644 --- a/model_rss_webhook.go +++ b/model_rss_webhook.go @@ -3,7 +3,7 @@ dofusdude # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## 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` - [PHP](https://github.com/dofusdude/dofusdude-php) - [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 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). -API version: 0.9.0 +API version: 0.9.1 Contact: stelzo@steado.de */ diff --git a/model_set_effects_entry.go b/model_set_effects_entry.go index c475efd..e8099fc 100644 --- a/model_set_effects_entry.go +++ b/model_set_effects_entry.go @@ -3,7 +3,7 @@ dofusdude # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## 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` - [PHP](https://github.com/dofusdude/dofusdude-php) - [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 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). -API version: 0.9.0 +API version: 0.9.1 Contact: stelzo@steado.de */ diff --git a/model_set_effects_entry_type.go b/model_set_effects_entry_type.go index f05e9a8..26535e7 100644 --- a/model_set_effects_entry_type.go +++ b/model_set_effects_entry_type.go @@ -3,7 +3,7 @@ dofusdude # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## 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` - [PHP](https://github.com/dofusdude/dofusdude-php) - [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 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). -API version: 0.9.0 +API version: 0.9.1 Contact: stelzo@steado.de */ diff --git a/model_set_list_entry.go b/model_set_list_entry.go index 4954f55..135513f 100644 --- a/model_set_list_entry.go +++ b/model_set_list_entry.go @@ -3,7 +3,7 @@ dofusdude # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## 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` - [PHP](https://github.com/dofusdude/dofusdude-php) - [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 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). -API version: 0.9.0 +API version: 0.9.1 Contact: stelzo@steado.de */ diff --git a/model_sets_list_paged.go b/model_sets_list_paged.go index 1c760d1..b715645 100644 --- a/model_sets_list_paged.go +++ b/model_sets_list_paged.go @@ -3,7 +3,7 @@ dofusdude # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## 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` - [PHP](https://github.com/dofusdude/dofusdude-php) - [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 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). -API version: 0.9.0 +API version: 0.9.1 Contact: stelzo@steado.de */ diff --git a/model_twitter_webhook.go b/model_twitter_webhook.go index cd9eb12..4d62377 100644 --- a/model_twitter_webhook.go +++ b/model_twitter_webhook.go @@ -3,7 +3,7 @@ dofusdude # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## 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` - [PHP](https://github.com/dofusdude/dofusdude-php) - [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 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). -API version: 0.9.0 +API version: 0.9.1 Contact: stelzo@steado.de */ diff --git a/model_weapon.go b/model_weapon.go index f4b2c30..d4265b7 100644 --- a/model_weapon.go +++ b/model_weapon.go @@ -3,7 +3,7 @@ dofusdude # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## 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` - [PHP](https://github.com/dofusdude/dofusdude-php) - [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 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). -API version: 0.9.0 +API version: 0.9.1 Contact: stelzo@steado.de */ diff --git a/model_weapon_range.go b/model_weapon_range.go index bfea3bc..79e3189 100644 --- a/model_weapon_range.go +++ b/model_weapon_range.go @@ -3,7 +3,7 @@ dofusdude # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## 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` - [PHP](https://github.com/dofusdude/dofusdude-php) - [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 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). -API version: 0.9.0 +API version: 0.9.1 Contact: stelzo@steado.de */ diff --git a/response.go b/response.go index 97ef19b..6c2457a 100644 --- a/response.go +++ b/response.go @@ -3,7 +3,7 @@ dofusdude # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## 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` - [PHP](https://github.com/dofusdude/dofusdude-php) - [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 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). -API version: 0.9.0 +API version: 0.9.1 Contact: stelzo@steado.de */ diff --git a/test/api_meta_test.go b/test/api_meta_test.go index 2a0e35b..34a82a0 100644 --- a/test/api_meta_test.go +++ b/test/api_meta_test.go @@ -34,6 +34,18 @@ func Test_dodugo_MetaAPIService(t *testing.T) { }) + t.Run("Test MetaAPIService GetItemTypes", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.MetaAPI.GetItemTypes(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + t.Run("Test MetaAPIService GetMetaAlmanaxBonuses", func(t *testing.T) { t.Skip("skip test") // remove to run test @@ -74,4 +86,16 @@ func Test_dodugo_MetaAPIService(t *testing.T) { }) + t.Run("Test MetaAPIService GetMetaVersion", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.MetaAPI.GetMetaVersion(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + } diff --git a/utils.go b/utils.go index 1646e1f..76f646d 100644 --- a/utils.go +++ b/utils.go @@ -3,7 +3,7 @@ dofusdude # A project for you - the developer. The all-in-one toolbelt for your next Ankama related project. ## 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` - [PHP](https://github.com/dofusdude/dofusdude-php) - [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 🇩🇪. - 📨 **Discord Integration** Ankama related RSS and Almanax feeds to post to Discord servers with advanced features like filters or mentions. Use the endpoints as a dev or the official [Web Client](https://discord.dofusdude.com) as a user. - 🩸 **Dofus 2 Beta** from stable to bleeding edge by replacing /dofus2 with /dofus2beta. - 🗣️ **Multilingual** supporting _en_, _fr_, _es_, _pt_ including the dropped languages from the Dofus website _de_ and _it_. - 🧠 **Search by Relevance** allowing typos in name and description, handled by language specific text analysis and indexing. - 🕵️ **Complete** actual data from the game including items invisible to the encyclopedia like quest items. - 🖼️ **HD Images** rendering game assets to high-res images with up to 800x800 px. ... and much more on the Roadmap on my [Discord](https://discord.gg/3EtHskZD8h). -API version: 0.9.0 +API version: 0.9.1 Contact: stelzo@steado.de */ @@ -12,7 +12,9 @@ Contact: stelzo@steado.de package dodugo import ( + "bytes" "encoding/json" + "fmt" "reflect" "time" ) @@ -346,3 +348,15 @@ func IsNil(i interface{}) bool { type MappedNullable interface { ToMap() (map[string]interface{}, error) } + +// A wrapper for strict JSON decoding +func newStrictDecoder(data []byte) *json.Decoder { + dec := json.NewDecoder(bytes.NewBuffer(data)) + dec.DisallowUnknownFields() + return dec +} + +// Prevent trying to import "fmt" +func reportError(format string, a ...interface{}) error { + return fmt.Errorf(format, a...) +} \ No newline at end of file