If I am using the e621 API, and I want to determine the exact number of matches a search gets, how would I do that?
Posted under e621 Tools and Applications
If I am using the e621 API, and I want to determine the exact number of matches a search gets, how would I do that?
alteria said:
If I am using the e621 API, and I want to determine the exact number of matches a search gets, how would I do that?
I actually have a tool for this on my site: https://yiff.today/counter
Though it uses a specific syntax I made, so you may need to switch up your search a little to the new syntax. Info on the syntax is here.
As for doing it yourself through the API, you'd have to iterate until no more results are found, which could take hours, it's also not advised to use the API for tasks like this. You'd be better off processing the database export.