Public stash tab API: Difference between revisions

From Path of Exile Wiki
Jump to navigation Jump to search
>TheFrz
>TheFrz
mNo edit summary
Line 1: Line 1:
{{development information}}
{{development information}}


== "API"/Interface ==
With the game [[Version 2.2.0|patch 2.2]] GGG published a basic JSON interface to obtain information relevant for general trade using [[Premium Stash Tab]]s.
With game path 2.2 GGG published a basic JSON interface to obtain information relevant for general trade according to the new Premium/Public Stash Tabs.
Basically the interface serves global update information (considerable as a update-"stream") on any public stash tabs recognized by the game servers.
Basically the interface serves global update information (considerable as a update-"stream") on any public stash tabs recognized by the game servers.


== URL ==
API doesn't contain any historical data and always returns the current state of stash tabs.<ref name="API1"/>
 
==URL==
http://www.pathofexile.com/api/public-stash-tabs
http://www.pathofexile.com/api/public-stash-tabs


== "Pagination" ==
==Pagination==
The json data is prefixed with the field "next_change_id"  
The JSON data is prefixed with the field "next_change_id"  
If you want the next page of update information append the next_change_id to the URL:  
If you want the next page of update information append the next_change_id to the URL:  


For example:
For example:
http://www.pathofexile.com/api/public-stash-tabs?id=220_1652_744_1341_230
http://www.pathofexile.com/api/public-stash-tabs?id=220-1652-744-1341-230


[Note: I needed to replace dashes with underscores because the wiki took the ID for a phone number and blocked creating this article]
==Docs==
 
== Docs ==
[http://www.pathofexile.com/developer/docs/api-resource-public-stash-tabs Official Docs]
[http://www.pathofexile.com/developer/docs/api-resource-public-stash-tabs Official Docs]


== Further information and reading ==
==Further information and reading==
https://www.reddit.com/r/pathofexiledev/comments/48i4s1/information_on_the_new_stash_tab_api/
https://www.reddit.com/r/pathofexiledev/comments/48i4s1/information_on_the_new_stash_tab_api/
==References==
{{reflist|refs=
<ref name="API1">{{cite web|author=Novynn|date=October 4, 2016|title=Development Manifesto: 2.3.0 Balance|url=https://www.reddit.com/r/pathofexiledev/comments/55hxeb/read_several_threads_but_still_got_some_questions/|publisher=Path of Exile Dev subreddit|accessdate=October 4, 2016}}</ref>
}}

Revision as of 14:45, 4 October 2016

This page contains development information and is intended for developers and not regular end users.

With the game patch 2.2 GGG published a basic JSON interface to obtain information relevant for general trade using Premium Stash Tabs. Basically the interface serves global update information (considerable as a update-"stream") on any public stash tabs recognized by the game servers.

API doesn't contain any historical data and always returns the current state of stash tabs.[1]

URL

http://www.pathofexile.com/api/public-stash-tabs

Pagination

The JSON data is prefixed with the field "next_change_id" If you want the next page of update information append the next_change_id to the URL:

For example: http://www.pathofexile.com/api/public-stash-tabs?id=220-1652-744-1341-230

Docs

Official Docs

Further information and reading

https://www.reddit.com/r/pathofexiledev/comments/48i4s1/information_on_the_new_stash_tab_api/

References

  1. Novynn (October 4, 2016). "Development Manifesto: 2.3.0 Balance". Path of Exile Dev subreddit. Retrieved October 4, 2016.