Skip to content
New issue

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

Grabbing results count #106

Open
iyerushalmi opened this issue May 8, 2016 · 1 comment
Open

Grabbing results count #106

iyerushalmi opened this issue May 8, 2016 · 1 comment

Comments

@iyerushalmi
Copy link
Contributor

Hi, unless I am mistaken, it seems there is no way to grab the number of results in an API query. For example if we run a query on Listings, and call the count method it will only tell us how many listings are returned based on the limit, not the total number of results available. Is there any way to grab the total number of results available (i.e. a number greater than 250)?

@kytrinyx
Copy link
Collaborator

kytrinyx commented May 8, 2016

I don't think this is currently possible with the models like Listing. I've only ever used the DSL described here: https://github.com/kytrinyx/etsy#dsl - I think it should give you back the number of results.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants