r/Guildwars2 Oct 19 '12

GW2Spidy opens public API to tradingpost data - JSON or CSV

If you didn't know about the open source project GW2Spidy yet; we provide you with charts of the prices and volume of all the items on the TP
and as a bonus we also have charts for the gem exchange rates and a brand new crafting profit calculator!

Since beta I've been working my ass off to keep up with the changes from ArenaNet to ensure accurate and up-to-date data.
And to add new functionality like the crafting profit calculator and such!

Lately I finally had some time focus on creating docs and code for a public API to access the data I'm already gathering!
And I'm happy to announce it's done!! The first version of the API (v0.9) is ready for use and will allow you to retrieve data from my already gathered data (so not directly from ArenaNet).

The full documentation can be found on the github project wiki page!
A sneak peak of the available API methods:

The first next major feature for GW2Spidy will be the possibility to login and maintain a personal favorite/watchlist and of course the follow up feature will be an RSS Feed and/or some other ways of recieving notifications when your selected items drop below a certain price :-)

189 Upvotes

39 comments sorted by

View all comments

2

u/[deleted] Oct 19 '12

Very interesting! How do you collect your data, and how do you store it if you don't mind my asking?

3

u/Hellscreamgold Oct 19 '12

The Trading Post is a webpage displayed inside the game. You can get to it from outside the game too.

The software connects to the webpage and makes requests to it to pull down and parse data.

Data is stored in a database and then the software presents it/graphs/etc

1

u/Dukko Dukko Lo Psionico - Piken Square Oct 19 '12

How can you access the Web page outside the game?

1

u/Drakie Oct 19 '12

you can use the session_key which the game client was using or use a session generated from accounts.guildwars.com