[SUGGESTION] Sticky thread with API status — Guild Wars 2 Forums
Home API Development

[SUGGESTION] Sticky thread with API status

Forgotten Legend.9281Forgotten Legend.9281 Member ✭✭✭
edited November 19, 2017 in API Development

ever since PoF launched, my account's "everything" key has been "invalid" on GW2 efficiency, and it's rather quite difficult finding a definitive answer as to whether or not the API keys are turned ON or OFF. i've tried adding a NEW account key to gw2efficiency and their site kicks it back saying it's invalid. if i knew for sure whether the API was turned on or off, i'd at least know who to bug about it.

'twould be really nice to list each category, and whether or not each specific category was enabled... such as:

API STATUS:

Tradingpost: on
Characters: on
PvP: on
Progression: on
Wallet: on
Guilds: off
Builds: off
Account: off
Inventories: off
Unlocks: on

"Bacon Defeciency DIsorder Sux"
~ The Baconnaire

Comments

  • Leablo.2651Leablo.2651 Member ✭✭✭

    This information is already obtainable in real-time from the API server by performing sanity checks on the responses received. Relying on a sticky post is treacherous as it requires a human editor to be aware of a status change in the server, which is not a given, and in any case it's bad practice to pass errors onto your users instead of catching them.

  • Zok.4956Zok.4956 Member ✭✭✭
    edited November 20, 2017

    @Forgotten Legend.9281 said:
    ever since PoF launched, my account's "everything" key has been "invalid" on GW2 efficiency, and it's rather quite difficult finding a definitive answer as to whether or not the API keys are turned ON or OFF.

    All keys that you see on your account-page at https://account.arena.net/applications should be valid.

    i've tried adding a NEW account key to gw2efficiency and their site kicks it back saying it's invalid. if i knew for sure whether the
    API was turned on or off, i'd at least know who to bug about it.

    'twould be really nice to list each category, and whether or not each specific category was enabled... such as:

    API STATUS:

    Tradingpost: on
    Characters: on
    PvP: on
    Progression: on
    Wallet: on
    Guilds: off
    Builds: off
    Account: off
    Inventories: off
    Unlocks: on

    I dont know why gw2efficiency says your key is invalid. But to check if an API-key is valid or not, an application just needs to call API:v2/tokeninfo(https://wiki.guildwars2.com/wiki/API:2/tokeninfo) and there is no need for any of the items in your list to be enabled in the key itself or in the API, so the asked for api status would not help with your issue.

    But you can also call this function yourself with a browser to check if the API works and your key is valid.
    https://api.guildwars2.com/v2/tokeninfo?access_token=your-api-key

    https://www.gw2gh.com/ - A GW2-Guild-Hall.
    Register and check your guild leaderboard to see who is the best in your guild and who finished achievements first.