Skip to content

Get count only? #21

Answered by kamranayub
gibb3h asked this question in Q&A
Discussion options

You must be logged in to vote

This was added in the last release using the IGDBClient.CountAsync method:

var res = await _api.CountAsync(IGDBClient.Endpoints.Games, "where id = 4;");
res.Count;

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by kamranayub
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants