Api fair use question

Api fair use question

in API Development

Posted by: BoyC.2653

BoyC.2653

Hi.

I searched around this forum a bit but didn’t find any answers to my question, so here goes.

I’m quite new to web apis so this might be a trivial question, but what constitutes fair use of the api from a load position? For example if I’d like to create my own historical database of the trades of a couple of items, what kind of resolution (ie. api poll frequency) can I go down to before it becomes an issue?

Api fair use question

in API Development

Posted by: smiley.1438

smiley.1438

Api fair use question

in API Development

Posted by: BoyC.2653

BoyC.2653

Thanks, and sorry for the repost.

Api fair use question

in API Development

Posted by: Lawton Campbell

Lawton Campbell

Web Programmer

Next

We cache responses on our end which is, by default, configured for 5 minutes; apparently /v2/commerce/listings is configured with a 1-second cache time. So I guess no more frequently than once/second/item (otherwise you’re just wasting bytes).

We reserve the right to change cache times though

Api fair use question

in API Development

Posted by: Wizeon.3852

Wizeon.3852

But if I spam refresh on Silk Scrap url https://api.guildwars2.com/v2/commerce/listings/19748 I can clearly see that the values update every 5 minute or so as well, and not at the same pace I can see them changing in-game.

Api fair use question

in API Development

Posted by: Lawton Campbell

Previous

Lawton Campbell

Web Programmer

Next

…huh

I’ll look into that; not sure what’s going on there.

Api fair use question

in API Development

Posted by: Pat Cavit.9234

Previous

Pat Cavit.9234

Web Programming Lead