less hacking way of pulling poe data

This commit is contained in:
2018-08-27 23:54:27 -05:00
parent 5423b81c95
commit 97acc0d4fa
34 changed files with 651 additions and 221 deletions

7
app/constants.ts Normal file
View File

@@ -0,0 +1,7 @@
export const POE_HOME = 'https://www.pathofexile.com';
export const POE_LOGIN_URL = `${POE_HOME}/login`;
export const POE_LOGIN_STEAM_URL = `${POE_LOGIN_URL}/steam`;
export const POE_MY_ACCOUNT_URL = `${POE_HOME}/my-account`;
export const POE_GET_CHARACTERS_URL = `${POE_HOME}/character-window/get-characters`;
export const POE_STASH_ITEMS_URL = `${POE_HOME}/character-window/get-stash-items`;
export const POE_LEAGUE_LIST_URL = 'http://api.pathofexile.com/leagues?type=main&compact=1';