PoE API information?

thanks :D
rawr. fear me.
Is there a way to get the passives from the skill tree on the website, not get character-window? (probably in JSON format)
http://www.pathofexile.com/passive-skill-tree
http://www.pathofexile.com/passive-skill-tree/AAAABAMAABBYHwIsnDI0RKtVrnYRghCPpt-w5Ow=

the site poebuilder has a decode button, but I can't really understand their code when looking at the sources.
rawr. fear me.
"
chromafunk wrote:


This is a game, not a service.



LOL, man :-D

“It's a SERVICE. Not a game.
It's a WORLD. Not a game.
It's a COMMUNITY. Not a game.
Anyone who says it's just a game is missing the point.”
The Laws of Online World Design, c. 1997
http://www.raphkoster.com/gaming/laws.shtml
"
tidbit wrote:
Bump:
any news on the API side of things, devs?
My program broke long ago, only returns "false". so Stuff has changed. But there's no new info on the official API page: http://www.pathofexile.com/developer/docs/api


It returned quite a while false for my script as well until I figured out how api is supposed to be used (check how procurement is coded, you will get the idea).

In essence you will need a hash from login page (which is unique) and use that with your account email address and password (email address need to be url encoded) and post those to their api's login url. You will get a response of 302 if all went well - you also get a cookie which you must use in any subsequent queries like character info and all that.

I made a javascript which will get any characters gem composition in the items its wearing and print that with respective gem colors to make it easier to figure out what is the meta for given build.

Script needs the poe account email, password, char name and the account name it belongs to.

The above info is needed as the script has no other way to access the data as the cookie needs to be set and char info is only available if you know to which account it belongs to.

The script is here: https://github.com/arsirantala/POE_Char_Gems/releases
Last edited by ixoth on Jan 24, 2017, 8:48:49 AM
Is there any way to capture also the content of the inventory?
As i am looking into writing a tool that will help me to organise my items and search all stash tabs at once, since im tired of clicking through each, i did some digging and figured out most of it with the help of this thread and about 20 minutes to spare :D

just gotta start coding :D

digging into the homepage and monitoring system calls you can see that

https://pathofexile.com/character-window/get-items?character={characterName}

You will get a list of Items.

Items.inventoryId will be "MainInventory" if it is in the characters inventory.

Flask if its in the flask slots,
otherwise will contain the slot it is in.



btw: using "get-items" is sort of bad rest, get is the method associated with the http call and therefore redundant. As Character is a resource it should probably be a path not a query param :D



AS i haven't seen this call yet:

https://www.pathofexile.com/character-window/get-characters will provide all characters associated with logged in account. - might come in handy if you dont want to type your characters name by hand, if you wanna check his intentory, rather poll for characters available and make a drop down menu with information gathered.




Another edit:

Is there any documentation on how to login? - I was thinking about trying log the login call you are doing when logging in order to figure out how to send username+password in order to obtain the cookie, as i do not like the cookie creation method. Which means, logging in in browser and copying the cookie to the application.

I'd like to be able to provide both options for the user to decide.


Last edited by Fapt4stic on Nov 24, 2017, 8:29:05 PM
Agreed on the "Just gotta start coding" part. I'm not really a programmer per se, but with a day's worth of playing around and looking at documentation on the Microsoft site for how to use PowerShell to connect to a stateful web service, it is not a problem at all.

Easy to connect and retrieve data for my own characters.

Report Forum Post

Report Account:

Report Type

Additional Info