Releases: husnjak/IGDB-SWIFT-API
Popularity Primitives Update
This release adds two new endpoints for Popularity
https://api-docs.igdb.com/#popscore
Events and Collections
We updated the dependencies and added Events and Collections endpoint to the library.
Query builder bugfix
When using query that contains "w" or where the builder would ignore the where clause and create a faulty query resulting in a 400 error for the request.
ReleaseDateStatus Update
Updated the IGDB Protocol buffer template
The new protobuf template updates the Release Dates with the new field Status.
AgeRatingContentDescriptions Update
Updated the IGDB Protocol buffer template
The new protobuf template updates the AgeRatingContentDescriptionsEnum.
The old Enum used was not correct (AgeRatingEnum)
GameLocalization Endpoint release
Updated dependencies and the IGDB Protobuf file.
This update adds support for the new endpoints:
game_localizations
regions
Dependency Update
Updated dependencies and the IGDB Protobuf file.
This update adds support for the new endpoints:
- languages
- language_supports
- language_support_types
Added support for Proxy URLs so the library can be used with a proxy server like https://api-docs.igdb.com/#proxy
Protobuf Update
Updated dependencies and the IGDB Protocol buffer template
The template adds structure for new Age Ratings:
- CERO
- USK
- GRAC
- CLASS_IND
- ACB
New External Games:
- EXTERNALGAME_AMAZON_ASIN
- EXTERNALGAME_AMAZON_LUNA
- EXTERNALGAME_AMAZON_ADG
- EXTERNALGAME_EPIC_GAME_STORE
- EXTERNALGAME_OCULUS
Dependency Update
Updated dependencies and the IGDB Protocol buffer template
The template adds structure for new Game Types:
- Remake
- Remaster
- Expanded Game
- Port
- Fork
Query Count
This release comes with new features for querying the count of an endpoint.
ex: /games/count
example code:
wrapper.apiProtoCountRequest(endpoint: .GAMES, apicalypseQuery: "", dataResponse: { bytes -> (Void) in
let count = try! Proto_Count(serializedData: bytes).count
}) { (RequestException) -> (Void) in
...
}
wrapper.apiJsonCountRequest(endpoint: .GAMES, apicalypseQuery: "", dataResponse: { count -> (Void) in
print(count)
}) { (RequestException) -> (Void) in
...
}