We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SetLimit and SetOffset returns error if number higher than 5000 is provided.
There is no limit for offset for IGDB v4 API.
Limit also changed to 500 (not 5000 as in the code).
According to: https://api-docs.igdb.com/#pagination
The text was updated successfully, but these errors were encountered:
Oh my, that's no good -- nice catch! I'll have this fixed up in the next patch. Thanks for contributing!
Sorry, something went wrong.
@Henry-Sarabia Thanks for looking into that.
For those who can't wait until next patch, here is temporary fix: Create your own versions of SetOffset and SetLimit. Example:
import ( "github.com/Henry-Sarabia/apicalypse" "github.com/Henry-Sarabia/igdb/v2" ) func SetOffset(offset int) igdb.Option { return func() (apicalypse.Option, error) { return apicalypse.Offset(offset), nil } }
Henry-Sarabia
No branches or pull requests
SetLimit and SetOffset returns error if number higher than 5000 is provided.
There is no limit for offset for IGDB v4 API.
Limit also changed to 500 (not 5000 as in the code).
According to:
https://api-docs.igdb.com/#pagination
The text was updated successfully, but these errors were encountered: