Last active
August 29, 2015 13:57
-
-
Save ZergRael/9768262 to your computer and use it in GitHub Desktop.
TGC public proxy Json API v3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Json results by default | |
On success : {status: "success", data: {...}} | |
On error : {status: "error", message: "Error string"} | |
http://api.thetabx.net/tgc/3 | |
-- Item query / 30d cache | |
/?item=<id> | |
-- Optionnal params | |
&db -- Pure db data / Ignores every other param / Debug usage | |
&tooltip -- Return html tooltip | |
&html -- Return html tooltip with proper DOM | |
&locale=(fr|en) -- Html localization / Defaults to fr | |
&gems=<gemId>[:<gemId>...] -- Fills sockets with gems item ids | |
&ench=<enchantId> -- Add enchant id to item | |
&enchspell=<enchantSpellId> -- Add enchant from spell id to item | |
&enchstr=<enchantString> -- Tries to add an enchant based on url encoded spell description | |
-- Spell query / 30d cache | |
/?spell=<id> | |
-- Optionnal params | |
&db -- Pure db data / Ignores every other param / Debug usage | |
&tooltip -- Return html tooltip | |
&html -- Return html tooltip with proper DOM | |
&locale=(fr|en) -- Html localization / Defaults to fr | |
-- Character query / 1h cache | |
/?char=<id|name> | |
-- Optionnal params | |
&simple -- Only ids and pure armory data | |
-- Guild query / 1h cache | |
/?guild=<id> | |
-- No params yet | |
-- Item search based on localized name / 1d cache | |
/search/item?q=<nameStringQuery> | |
-- Optionnal params | |
&locale=(fr|en) -- Query and result localization / Defaults to fr | |
&start=0 -- Results page start | |
&limit=1000 -- Results page length | |
-- Spell search based on localized name / 1d cache | |
/search/item?q=<nameStringQuery> | |
-- Optionnal params | |
&locale=(fr|en) -- Query and result localization / Defaults to fr | |
&start=0 -- Results page start | |
&limit=1000 -- Results page length | |
-- Character search based on name / 1h cache | |
/search/char?q=<nameStringQuery> | |
-- Optionnal params | |
&start=0 -- Results page start | |
&limit=1000 -- Results page length | |
-- Guild search based on name / 1h cache | |
/search/guild?q=<nameStringQuery> | |
-- Optionnal params | |
&start=0 -- Results page start | |
&limit=1000 -- Results page length | |
Exemples | |
http://api.thetabx.net/tgc/3/?char=Ape | |
http://api.thetabx.net/tgc/3/?item=30034&html | |
http://api.thetabx.net/tgc/3/search/item?q=ashbringer&locale=en | |
http://api.thetabx.net/tgc/3/search/spell?q=b%C3%A9n%C3%A9diction%20de%20sacrifice |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Useful static ressources | |
365d cache | |
http://static.thetabx.net | |
/css/wow/wowheadlike.css | |
/images | |
/icons | |
/money-copper.gif | |
/money-silver.gif | |
/money-gold.gif | |
/socket-blue.gif | |
/socket-meta.gif | |
/socket-prismatic.gif | |
/socket-red.gif | |
/socket-yellow.gif | |
/large/border/default.png | |
/medium/border/default.png | |
/wow | |
/tooltip.png | |
/armory/avatars/<genre>-<race>-<class>.gif | |
/icons | |
/tiny/<itemDisplayName>.gif | |
/small/<itemDisplayName>.jpg | |
/medium/<itemDisplayName>.jpg | |
/large/<itemDisplayName>.jpg | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment