New endpoints: wallets and unlocks

New endpoints: wallets and unlocks

in API Development

Posted by: Lawton Campbell

Lawton Campbell

Web Programmer

Next

Just released a handful of new endpoints:

Pretty straightforward endpoints, overall.

As per usual, the authenticated endpoints need to be passed an API key with the appropriate permissions. The key can be passed either via an “Authorization: Bearer <key>” header, or via the “?access_token” URL parameter. We don’t support CORS preflighting, so if you’re making CORS requests (e.g., from a javascript app) you’ll need to use the latter.

/v2/currencies dumps all the currencies that can appear in the account wallet. /v2/account/wallet lets you fetch (with the “wallet” permission) the contents of an account’s wallet — the ids returned are cross-referenced against /v2/currencies.

/v2/account/skins returns the list of all skin_ids unlocked by an account (requires the “unlocks” permission). The ids can be cross-referenced against /v2/skins.

/v2/account/dyes returns the list of all dyes unlocked by an account (again, with the “unlocks” permission). The ids can be cross-referenced against /v2/colors.

Let the fashion wars begin.

(edited by Lawton Campbell.8517)

New endpoints: wallets and unlocks

in API Development

Posted by: darthmaim.6017

darthmaim.6017

Awesome! There a quite a few great things we can do with those.

New endpoints: wallets and unlocks

in API Development

Posted by: Makani Eldrinn.5638

Makani Eldrinn.5638

So you’re saying I jumped the gun? https://www.youtube.com/watch?v=SZgWM90mQqI

New endpoints: wallets and unlocks

in API Development

Posted by: AfterXII.2761

AfterXII.2761

Yes! Thank you, so many new ideas flowing through me right now haha

http://gw2shinies.com/ – A Guild Wars 2 Trading Post Service
http://gw2tno.com/ – The Nameless Ones [TNO]

New endpoints: wallets and unlocks

in API Development

Posted by: Creativewild.6319

Creativewild.6319

@Lawton Campbell – Thank you so much…. this is awsome I was waiting for the wallet one thank you

Heros forged in the heat of battle – Herois Lusitanos – https://www.heroislusitanos.com

New endpoints: wallets and unlocks

in API Development

Posted by: Dristig.9678

Dristig.9678

Please implement:
/v2/account/whohasmycopperfedsalvagomatic

New endpoints: wallets and unlocks

in API Development

Posted by: Lawton Campbell

Previous

Lawton Campbell

Web Programmer

Next

Please implement:
/v2/account/whohasmycopperfedsalvagomatic

I’ll put a 10g bounty on this; I need it.

EDIT: Also since people are asking, I’m hoping to release the pvp endpoints (stats and very basic match history) as well as equipped specializations sometime next week, provided nothing catches fire.

New endpoints: wallets and unlocks

in API Development

Posted by: Deheerrob.4978

Deheerrob.4978

Please implement:
/v2/account/whohasmycopperfedsalvagomatic

I’ll put a 10g bounty on this; I need it.

Luckily for you, GW2 Efficiency already has this function!
http://gw2efficiency.com/account/characters

Piken Square (EU)

New endpoints: wallets and unlocks

in API Development

Posted by: Chokapik.3741

Chokapik.3741

The currency names should be plural, shoudn’t they?

Escape from Rata Sum: http://orikaru.net/ratascape
Guild Emblem Editor: http://nailek.net/gw2/emblemeditor

New endpoints: wallets and unlocks

in API Development

Posted by: Lawton Campbell

Previous

Lawton Campbell

Web Programmer

Next

Please implement:
/v2/account/whohasmycopperfedsalvagomatic

I’ll put a 10g bounty on this; I need it.

Luckily for you, GW2 Efficiency already has this function!
http://gw2efficiency.com/account/characters

Huh, didn’t notice the search feature. Whelp, 10g coming your way.

EDIT: hold on, the search is for characters, not items. This doesn’t help — I just need to know where the copper-fed salvage-o-matic is.

EDIT2: omg this works. bounty sent.

The currency names should be plural, shoudn’t they?

…maybe. Those strings are what’s coming out of content; I’m actually not sure how it handles pluralization. I’ll look into it though.

(edited by Lawton Campbell.8517)

New endpoints: wallets and unlocks

in API Development

Posted by: Valento.9852

Valento.9852

@Lawton, use this instead.

Attempts at ele specs:
Shaman
Conjurer

New endpoints: wallets and unlocks

in API Development

Posted by: Creativewild.6319

Creativewild.6319

Please implement:
/v2/account/whohasmycopperfedsalvagomatic

I’ll put a 10g bounty on this; I need it.

Luckily for you, GW2 Efficiency already has this function!
http://gw2efficiency.com/account/characters

Huh, didn’t notice the search feature. Whelp, 10g coming your way.

EDIT: hold on, the search is for characters, not items. This doesn’t help — I just need to know where the copper-fed salvage-o-matic is.

The currency names should be plural, shoudn’t they?

…maybe. Those strings are what’s coming out of content; I’m actually not sure how it handles pluralization. I’ll look into it though.

is for items as well but you need to be on the account overview for that

Attachments:

Heros forged in the heat of battle – Herois Lusitanos – https://www.heroislusitanos.com

(edited by Creativewild.6319)

New endpoints: wallets and unlocks

in API Development

Posted by: Mikah.4510

Mikah.4510

idk if this is coming to you after you changed something Lawton, but you can find it already. See below

Attachments:

New endpoints: wallets and unlocks

in API Development

Posted by: Deheerrob.4978

Deheerrob.4978

Please implement:
/v2/account/whohasmycopperfedsalvagomatic

I’ll put a 10g bounty on this; I need it.

Luckily for you, GW2 Efficiency already has this function!
http://gw2efficiency.com/account/characters

Huh, didn’t notice the search feature. Whelp, 10g coming your way.

EDIT: hold on, the search is for characters, not items. This doesn’t help — I just need to know where the copper-fed salvage-o-matic is.

Look at the icons http://i.imgur.com/4fNW20r.png, it shows right there and otherwise with the search function.

Oh, send the gold to queicherius.2563 instead of me, he made it.

Piken Square (EU)

New endpoints: wallets and unlocks

in API Development

Posted by: AfterXII.2761

AfterXII.2761

Correct me if I’m wrong but your currencies API seems to be missing id #17

Which is what my account is also asking for.

http://gw2shinies.com/ – A Guild Wars 2 Trading Post Service
http://gw2tno.com/ – The Nameless Ones [TNO]

New endpoints: wallets and unlocks

in API Development

Posted by: Lawton Campbell

Previous

Lawton Campbell

Web Programmer

Next

Correct me if I’m wrong but your currencies API seems to be missing id #17

Which is what my account is also asking for.

I think that might be … glory? Which is marked as disabled, so it isn’t exposed via the endpoint. I’ll add in a blacklist next week so it doesn’t appear in the wallet.

New endpoints: wallets and unlocks

in API Development

Posted by: AfterXII.2761

AfterXII.2761

Correct me if I’m wrong but your currencies API seems to be missing id #17

Which is what my account is also asking for.

I think that might be … glory? Which is marked as disabled, so it isn’t exposed via the endpoint. I’ll add in a blacklist next week so it doesn’t appear in the wallet.

Awesome, no problem thanks for clarifying. I’ll just manually blacklist it for now.

http://gw2shinies.com/ – A Guild Wars 2 Trading Post Service
http://gw2tno.com/ – The Nameless Ones [TNO]

New endpoints: wallets and unlocks

in API Development

Posted by: rodadams.5963

rodadams.5963

Woot Woot
/hands_in_the_air

New endpoints: wallets and unlocks

in API Development

Posted by: queicherius.2563

queicherius.2563

Please implement:
/v2/account/whohasmycopperfedsalvagomatic

I’ll put a 10g bounty on this; I need it.

Luckily for you, GW2 Efficiency already has this function!
http://gw2efficiency.com/account/characters

Huh, didn’t notice the search feature. Whelp, 10g coming your way.

EDIT: hold on, the search is for characters, not items. This doesn’t help — I just need to know where the copper-fed salvage-o-matic is.

Look at the icons http://i.imgur.com/4fNW20r.png, it shows right there and otherwise with the search function.

Oh, send the gold to queicherius.2563 instead of me, he made it.

Thanks for all the mentions, it’s awesome to know that people like and use the site. Keeps the motivation going to push further!

Edit: Also getting 10g from a dev. That’s kittening awesome.

(edited by queicherius.2563)

New endpoints: wallets and unlocks

in API Development

Posted by: Lawton Campbell

Previous

Lawton Campbell

Web Programmer

Next

Thanks for all the mentions, it’s awesome to know that people like and use the site. Keeps the motivation going to push further!

Oh man, I just noticed the share character function.

Gonna make all my guildies use this to share builds. We’ve been looking for this for awhile — massive thanks!

New endpoints: wallets and unlocks

in API Development

Posted by: queicherius.2563

queicherius.2563

Oh man, I just noticed the share character function.

Gonna make all my guildies use this to share builds. We’ve been looking for this for awhile — massive thanks!

Thank you for providing all the endpoints! And as soon as the endpoint for character traits and skills is enabled, that’ll tie in there too

New endpoints: wallets and unlocks

in API Development

Posted by: Malediktus.9250

Malediktus.9250

It is amazing to see how fast the API is expanding

1st person worldwide to reach 35,000 achievement points.

New endpoints: wallets and unlocks

in API Development

Posted by: Pat Cavit.9234

Previous

Pat Cavit.9234

Web Programming Lead

Next

I know it seems like we’ve forgotten about the APIs from time to time, but I promise we haven’t. Some of this data is just a real adventure to get into usable form that we can expose!

New endpoints: wallets and unlocks

in API Development

Posted by: Malediktus.9250

Malediktus.9250

I know it seems like we’ve forgotten about the APIs from time to time, but I promise we haven’t. Some of this data is just a real adventure to get into usable form that we can expose!

I didnt see anyone complain

1st person worldwide to reach 35,000 achievement points.

New endpoints: wallets and unlocks

in API Development

Posted by: queicherius.2563

queicherius.2563

I know it seems like we’ve forgotten about the APIs from time to time, but I promise we haven’t. Some of this data is just a real adventure to get into usable form that we can expose!

You are doing an pretty amazing job bringing us all the new endpoints. We – developers and players alike – appreciate it.

New endpoints: wallets and unlocks

in API Development

Posted by: AfterXII.2761

AfterXII.2761

Quick note, some skin ids that show in the main pull list (like 1042)
https://api.guildwars2.com/v2/skins

Are returning ErrBadParam values when attempting to look more closely at it:
https://api.guildwars2.com/v2/skins/1042

This is an issue since i use the first link to check against my database for script auto update routines.

EDIT: Here is a complete list of IDs that my system found inconsistent with the main skins API list (first URL):

New ItemID found! (1042)
New ItemID found! (1043)
New ItemID found! (1047)
New ItemID found! (2329)
New ItemID found! (2385)
New ItemID found! (2388)
New ItemID found! (2394)
New ItemID found! (2395)
New ItemID found! (2984)
New ItemID found! (6074)

http://gw2shinies.com/ – A Guild Wars 2 Trading Post Service
http://gw2tno.com/ – The Nameless Ones [TNO]

New endpoints: wallets and unlocks

in API Development

Posted by: Lawton Campbell

Previous

Lawton Campbell

Web Programmer

Quick note, some skin ids that show in the main pull list (like 1042)
https://api.guildwars2.com/v2/skins

Are returning ErrBadParam values when attempting to look more closely at it:
https://api.guildwars2.com/v2/skins/1042

This is an issue since i use the first link to check against my database for script auto update routines.

Hmm, weird. It’s either a cache coherency issue, or maybe I whitelisted something I shouldn’t have (items in banks and character inventories are now being put in the whitelist queue — been blessing them all day). I’ll track this down tomorrow — it’s highly likely that the fix will just be to remove those bad skins from the listing.

Thanks for the list of broken IDs, that saves me a bunch of time <3

New endpoints: wallets and unlocks

in API Development

Posted by: AfterXII.2761

AfterXII.2761

Quick note, some skin ids that show in the main pull list (like 1042)
https://api.guildwars2.com/v2/skins

Are returning ErrBadParam values when attempting to look more closely at it:
https://api.guildwars2.com/v2/skins/1042

This is an issue since i use the first link to check against my database for script auto update routines.

Hmm, weird. It’s either a cache coherency issue, or maybe I whitelisted something I shouldn’t have (items in banks and character inventories are now being put in the whitelist queue — been blessing them all day). I’ll track this down tomorrow — it’s highly likely that the fix will just be to remove those bad skins from the listing.

Thanks for the list of broken IDs, that saves me a bunch of time <3

No problem Always happy to help!

http://gw2shinies.com/ – A Guild Wars 2 Trading Post Service
http://gw2tno.com/ – The Nameless Ones [TNO]

New endpoints: wallets and unlocks

in API Development

Posted by: Chokapik.3741

Chokapik.3741

Here is a jsfiddle that could help finding broken IDs. You can change the URL and check other endpoints.

Escape from Rata Sum: http://orikaru.net/ratascape
Guild Emblem Editor: http://nailek.net/gw2/emblemeditor

New endpoints: wallets and unlocks

in API Development

Posted by: Vegeta.2563

Vegeta.2563

I noticed on the API application to generate a new key.. there is Minipets and Finishers, but no API for it?

This Guild Is Fire [PRUF]

New endpoints: wallets and unlocks

in API Development

Posted by: Eearslya.6309

Eearslya.6309

I noticed on the API application to generate a new key.. there is Minipets and Finishers, but no API for it?

The permission is bigger than the endpoints we have currently. So, presumably, when those endpoints do come out, that permission will apply to them as well.

Blackgate
Harbinger Tryssa – Revenant

New endpoints: wallets and unlocks

in API Development

Posted by: smiley.1438

smiley.1438

Thanks for all the mentions, it’s awesome to know that people like and use the site. Keeps the motivation going to push further!

Oh man, I just noticed the share character function.

Gonna make all my guildies use this to share builds. We’ve been looking for this for awhile — massive thanks!

Tell your team to finally make builds savable and expose the backend so that we can create stuff like this http://youpawned.com/code/OQRCAcxDP9HknNd7gqaVANA (which is still a proof of concept >.<)

New endpoints: wallets and unlocks

in API Development

Posted by: Elfo Bianco.3786

Elfo Bianco.3786

Thank you Lawton, just in time for what I’m doing right now in my app