husnjak / IGDB-SWIFT-API

A Swift wrapper for the IGDB.com Free Video Game Database API.
MIT License
60 stars 12 forks source link

Total Number of results /count #9

Closed jamirmachado closed 3 years ago

jamirmachado commented 4 years ago

I noticed that I can make a call to https://api.igdb.com/v4/games/count and get the total Number of results. Is this supported currently? I'm trying to make a pagination using the offset.

Also, thanks for this great wrapper!

husnjak commented 3 years ago

I think that this is already supported, but I'll look into it.

husnjak commented 3 years ago

Pushed an update to the project that adds support for Count

https://github.com/husnjak/IGDB-SWIFT-API/releases/tag/0.3.4