Showing Posts For Tharin.6358:

Listings question

in API Development

Posted by: Tharin.6358

Tharin.6358

But what if there is actually an ID for every listing done by users and anet is just not providing us with that functionality? It would be so much easier with this to calculate if it was a normal buy or just a cancellation of order.

There is an id associated with every listing (the ids are returned from /v2/commerce/transactions), but we’re never going to return that from /v2/commerce/listings. The basic rundown is that those transaction ids are only stored in the actual database — which for performance reasons the API doesn’t have access to. Instead, the API talks to some servers which have cached aggregates for the listings (basically, what’s displayed on the UI in-game).

Adding in the ids would require piping them through a small handful of backend services and would probably have some serious performance implications, so it’s never going to happen.

Oh! And is there a limit to how fast I can make another GET request?

Not currently, but there’s some caching going on. Check the Expires/Cache-Control response headers to see how often the API’s data is updated. My rough rule of thumb is to keep below 100k requests/day; we haven’t had issues so far but reserve the right to add in a rate limit if there’s ever a problem.

Okay, so if I want to request alot of id’s, I believe I can’t make it with a get-request simply dividing tons of ids by commas? Do you have an option to make post-request?

Listings question

in API Development

Posted by: Tharin.6358

Tharin.6358

Hello! I’m new to development, and I want to make a trading post website similar to gw2bltc.com
I was looking through the commerce/ api and found out that there’s no actual way to find if a listing was cancelled by the buying user, not bought.
What I mean is there is a json array for buys with 0 element being the top buyer.
I want to calculate how much of that item is being bought a day. One of the idea was to pull the data every 2-5 mins and see if and how the top buying (0) element changed, if it decreased in price or if the price is the same but the quantity decreased, then the quantity of that difference is bought and vice-versa, if it increased in price (or in quantity) – it is a new bid. But what if there is actually an ID for every listing done by users and anet is just not providing us with that functionality? It would be so much easier with this to calculate if it was a normal buy or just a cancellation of order. If people here have any good idea – feel free to help me, a noobie, to progress in this matter

Oh! And is there a limit to how fast I can make another GET request?

Network Error on Transfer

in Bugs: Game, Forum, Website

Posted by: Tharin.6358

Tharin.6358

Problem solved!

Network Error on Transfer

in Bugs: Game, Forum, Website

Posted by: Tharin.6358

Tharin.6358

To clarify it, I run Win8.1 64bit. Request #2037295 – ticket I’ve made. Error code’s the same: 3032:1002:3:3944:101

Network Error on Transfer

in Bugs: Game, Forum, Website

Posted by: Tharin.6358

Tharin.6358

Hello there! I tried to transfer from Desolation to Seafarer’s Rest 3 minutes ago, have enough 1800 gems for that, but the game keeps giving me network errors on transfer. And yeah, transfer doesn’t go, I still have gems and I’m still on Desolation. I tried doing so 5 times and then decided to ask here on forums. Should I just wait for the transfer to be done? Or is it an issue with the servers? If so – I’d appreciate if you do something with it. Best regards!