Topic: API doesn't return in the order that are requested?

Posted under General

Hi! It's that annoying person again! (Sorry...)

So, let's say I was requesting the pools/posts 123, 456, 789, in this order...

But in the JSON file, the keys are on different orders, like: 456, 756, 123...

I did something wrong or forgot something?

earlopain said:
Pools are ordered newest updated first by default https://e621.net/help/api#pools_listing. Posts on the other hand are ordered by id denscending when not specified otherwise. The order metatag can be used to change that, see "Sorting" on the search cheatsheet

Oh hello again! And sorry again! Haha... (I'm sorry really...) You always save my day, my hero ;)

But I don't suppose you know why some posts don't return me an url of their preview, do you? It may contains cubs so that must be why... I don't suppose you know how to fix this, do you?

Updated

(If you made an search, don't waste your results and post them here anyway, but... I figured out that we can discover the previews by using their MD5, so, you don't need to worry about this anymore... Have a good rest, my hero ;)

  • 1