Newbie question regarding API request/response speed — Guild Wars 2 Forums

Newbie question regarding API request/response speed

Hi!
I'm starting a project and for training, I wanted to use the GW2 API. My project will be base on a restful API.
I created a API key (with Account+Characters+Builds) and I wanted to know, when I make a simple request on the url browser, it can take 5 to 6 seconds (max i got was 11sec!) to get the response. And sometimes, It takes only 1 to 2 secs max (using Google Chrome Console -> Network).

Exemple URL : https://api.guildwars2.com/v2/characters/MYCHARACTERNAME?access_token=MYKEY

It's the second time I'm working with an API and I was wondering if I'm doing something wrong.

Thank you very much

Comments

  • I can confirm that especially the characters endpoint is very slow.
    And please don't call the GW2 API restful. It is not fully restful.

  • Riff.1037Riff.1037 Member ✭✭

    Some responses to things with API keys and individual character things take some time to process. It's nothing you can really do on your end, just the servers on ANet's end working. It takes time.

  • @Riff.1037 said:
    Some responses to things with API keys and individual character things take some time to process. It's nothing you can really do on your end, just the servers on ANet's end working. It takes time.

    Alright, tyvm!

©2010–2018 ArenaNet, LLC. All rights reserved. Guild Wars, Guild Wars 2, Heart of Thorns, Guild Wars 2: Path of Fire, ArenaNet, NCSOFT, the Interlocking NC Logo, and all associated logos and designs are trademarks or registered trademarks of NCSOFT Corporation. All other trademarks are the property of their respective owners.