Showing Posts For Divine Don.9752:

Launching /v2/characters

in API Development

Posted by: Divine Don.9752

Divine Don.9752

We should be able to turn it on sometime after the next patch hits, IIRC.

Next patch meaning sometime next week (Tuesday)?

~Don

Launching /v2/characters

in API Development

Posted by: Divine Don.9752

Divine Don.9752

I ended up doing what you recommended. Thanks.

Any ETA on /v2/characters/:id/equipment? No rush, with school and work the site that I’m creating won’t be done for another 3-4 months; I would just like a status on how things are coming along so I can adjust my schedule.

Thanks again,

~Don

Launching /v2/characters

in API Development

Posted by: Divine Don.9752

Divine Don.9752

Not sure if this relates to the questions asked above but I’m having problems with the order of characters.

When requesting character info by Id’s (‘https://api.guildwars2.com/v2/characters?ids=’ + namesString), I get all characters but they come in different order everytime. For example, If I request [A,B,C]; The return data will be [A,C,B] or [C,B,A] etc…

~Don

HEADS UP: OAuth2 being replaced next week

in API Development

Posted by: Divine Don.9752

Divine Don.9752

How will users create an API key? Can they do this in-game?

~Don

OAuth Application Creation is live!

in API Development

Posted by: Divine Don.9752

Divine Don.9752

Anyone else getting this type of response?

{ statusCode: 400,
data: ‘{"error":“invalid_grant”,“error_description”:“Grant is expired or revoked”,“text”:"ErrSessionNotFound"}’ }

Above is what I get running the nodeJS example

That can be caused either by attempting to use the same grant more than once, or by waiting more than a few minutes to pass the grant code to /oauth2/token (or it could be a bug in our backend). Not sure which is happening.

Does the auth-go example exhibit the same issue?

You are correct that I was requesting more than once with the same code. I was doing this only because the first request returned undefined. I’m horrible at explaining things so I recorded a 60sec vid of me running through the steps of the nodeJS example:
https://www.youtube.com/watch?v=59rNUY20kSs&feature=youtu.be

As the videos shows, the first request returns undefined, second request (with the same code) gets denied. I get the same result when trying to insert my own client id & secret.

I’m not familiar with goLang.

~Don

(edited by Divine Don.9752)

OAuth Application Creation is live!

in API Development

Posted by: Divine Don.9752

Divine Don.9752

Anyone else getting this type of response?

{ statusCode: 400,
data: ‘{"error":“invalid_grant”,“error_description”:“Grant is expired or revoked”,“text”:"ErrSessionNotFound"}’ }

Above is what I get running the nodeJS example

~Don

(edited by Divine Don.9752)

API for PvP Leaderboards?

in API Development

Posted by: Divine Don.9752

Divine Don.9752

(reposting because I deleted the body of the message last topic)

I was wondering if there was a API for the PvP leaderboards? Is it in the works?

~Don

9/27 - SBI/YB/Kaineng

in Match-ups

Posted by: Divine Don.9752

Divine Don.9752

HUGE fight on Yak’s bl at Hills just now, haven’t had that kinda (long siege) fight in awhile. Nice job everyone.

~Don