API talk:API key

From Guild Wars 2 Wiki
Jump to navigationJump to search

Key-creation-page[edit]

The link to the key-creation-page is dead. It should be changed to "https://account.arena.net/applications" instead. --Nithanim (talk) 18:35, 30 July 2015 (UTC)

Done, thanks for catching that. Eearslya (talk) 18:54, 30 July 2015 (UTC)
Thank you for correcting it! --Nithanim (talk) 19:03, 30 July 2015 (UTC)

Firefox Error ??[edit]

When I try to create a key in Firefox I get this:
{"temp":{},"features":{"registerKeyOptional":false,"forcePassword":false,"passwordReset":true,"passwordResetConfirm":true,"sms":true},"error":{"code":400,"message":"invalidFields ","formValues":{"_formName":"apikey","name":"AICTWU","permissions[]":["account","inventories","characters","tradingpost","wallet","unlocks"]}}} Instead of the hex string API Key Generation worked fine in Internet Explorer Separ (talk) 12:25, 29 August 2015 (UTC)

Someone reported a similar thing happening in the Baidu browser. —Dr Ishmael User Dr ishmael Diablo the chicken.png 15:51, 29 August 2015 (UTC)

New permission: "guilds"[edit]

  • guilds - "Guilds' rosters, history, and MOTDs for all guilds you are a member of." --BryghtShadow (talk) 10:26, 16 December 2015 (UTC)

Read-only, right?[edit]

The data available through the API key is all read-only, correct? All of the descriptions that say "allows access to ..." frighten me a little; I wouldn't want to use this key with an web site and then find the person who runs that site has cleaned out my GW2 account. Have there been any reports of this data being misused? - Brian Kendig (talk) 20:22, 8 March 2016 (UTC)

For both security and technical reasons, the API will always be read-only. This has been stated several times by the API developers, due to the fact that the API is held very seperate from actual game servers to prevent an issue with the API affecting gameplay. Rest assured, an API key will never allow people to affect your inventory or anything of the sort. Only view it. Eearslya (talk) 20:29, 8 March 2016 (UTC)

API for Home Instance Cats?[edit]

Which do I check to enable me to identify my home instance cats on Hungry_cat_scavenger_hunt? Thanks for any advice! -- Gaile User gaile 2.png 21:46, 15 August 2018 (UTC)

You'll need to select "Progression". I'll update the page to say so, but it looks like the text we have comes from the Anet API page. G R E E N E R 22:30, 15 August 2018 (UTC)
Marvelous, thanks so much. It's been far too long since I posted on the Wiki, and somehow it figures it would be about kitties. ~grin~ I even flubbed the link, but thank you for fixing it for me! -- Gaile User gaile 2.png 22:33, 15 August 2018 (UTC)
Perhaps I need to tweak the widget text - currently it states in the box where you put your api key "requires progression permissions". -Chieftain AlexUser Chieftain Alex sig.png 22:35, 15 August 2018 (UTC)
Well, I don't know about anyone else, but I had no idea what that meant, not being particularly fluent in API.  :) -- Gaile User gaile 2.png 22:55, 15 August 2018 (UTC)

chef recipes[edit]

i am trying to use the API feature to see which chef recipes i am missing. i have made numerous keys with various permissions but none of them seem to work. does anyone know which are actually required by those particular pages? --- MissRae (talk)

If you're talking about a wiki-based api tool like on Chef/Journeyman recipes, then you will need:
  • API:2/account/recipes - for account wide recipe unlocks - requires "account" + "unlocks"
  • API:2/characters - for character names and character soulbound recipe unlocks such as discovery recipes - requires "account" + "characters"
So you should need "account", "characters" and "unlocks" all at once.
To be honest, if you're the only person using your computer who plays gw2, and you're not sharing your API key with anyone, since the API is read-only you can effectively give the wiki key all the permissions and then there's zero chance permissions are missing. -Chieftain AlexUser Chieftain Alex sig.png 06:07, 15 September 2020 (UTC)