Harbinger Tryssa – Revenant
Showing Posts For Eearslya.6309:
Harbinger Tryssa – Revenant
So is Arenanet OK for us to request 69645 items one by one to find the type we want?
Should be fine, though you’ll spend less time if you request whole pages, e.g., enumerate starting from /v2/items?page=0&page_size=200 and look at the response headers (e.g., X-Page-Total) to see how many pages there are.
This will currently take you ~206 requests, which is a lot, but shouldn’t be more than a minute or two to pull down and ingest into e.g., a database.
Sorry for your database haha but what I used 200 java threads to pull the data. Each thread would pull around 200-300 items. All threads running at the same time took them around 5 minutes to collect all the items.
By the way, is there any limit / ip for requests ?
At the moment there is no actual ‘limit’, nothing is stopping you from requesting 60k+ pages at once. But the devs have stated that this is subject to change and they ask that you try not to abuse this freedom.
Harbinger Tryssa – Revenant