Hi! Sorry for this... I didn't even know if this is the right place, but...
Let's say I want retrieve the posts 12399, 45688 and 78977...
Instead of doing one by one, how can I retrieve all together in one json?
Posted under General
Hi! Sorry for this... I didn't even know if this is the right place, but...
Let's say I want retrieve the posts 12399, 45688 and 78977...
Instead of doing one by one, how can I retrieve all together in one json?
https://e621.net/posts.json?tags=id:12399,45688,78977%20status:any
This will work for up to 100 ids at once.
earlopain said:
https://e621.net/posts.json?tags=id:12399,45688,78977%20status:any
This will work for up to 100 ids at once.
Thanks a lot! You're awesome! But I don't suppose you know how to retrieve various pools in one too, do you?
But of course I do. https://e621.net/pools.json?search[id]=100,120
The search[id] parameter actually works on most of the endpoints, only a few like posts and post_versions do not support it. Same as before, limit is 100 per request.
earlopain said:
But of course I do. https://e621.net/pools.json?search[id]=100,120
The search[id] parameter actually works on most of the endpoints, only a few like posts and post_versions do not support it. Same as before, limit is 100 per request.
Owww, thanks again! You're the best!
Make sure to set your limit param to at least 100! Otherwise you will only get some of the results back.