Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision |
| random:xboxxapi [2021/04/19 23:55] – created lunetikk | random:xboxxapi [2022/10/24 10:46] (current) – lunetikk |
|---|
| ====== Xbox API ====== | ====== Xbox X API ====== |
| |
| ===== API key ===== | ===== API key ===== |
| |
| Create an account\\ | Create an account to get an API key (not free anymore!)\\ |
| [[https://xapi.us/]] | [[https://xapi.us/]] |
| |
| ===== Codes ===== | ===== Codes ===== |
| | |
| | [[https://xapi.us/documentation]] |
| |
| ==== Codesnippets ==== | ==== Codesnippets ==== |
| <code> | <code> |
| |
| | IN: |
| | curl -s -H "X-AUTH: <YOUR_AUTH_KEY_HERE>" https://xapi.us/v2/accountxuid |
| | |
| | OUT: |
| | {"xuid":2533274799963524,"gamerTag":"DPS Lunetikk","gamertag":"DPS Lunetikk"} |
| | |
| | MORE: |
| | curl -s -H "X-AUTH: <YOUR_AUTH_KEY_HERE>" https://xapi.us/v2/profile |
| | |
| | curl -s -H "X-AUTH: <YOUR_AUTH_KEY_HERE>" https://xapi.us/v2/<YOUR_ACCOUNTXUID>/gamercard |
| | |
| | curl -s -H "X-AUTH: <YOUR_AUTH_KEY_HERE>" https://xapi.us/v2/<YOUR_ACCOUNTXUID>/activity |
| | |
| | curl -s -H "X-AUTH: <YOUR_AUTH_KEY_HERE>" https://xapi.us/v2/<YOUR_ACCOUNTXUID>/activity/recent |
| | |
| | curl -s -H "X-AUTH: <YOUR_AUTH_KEY_HERE>" https://xapi.us/v2/<YOUR_ACCOUNTXUID>/game-clips |
| | |
| | curl -s -H "X-AUTH: <YOUR_AUTH_KEY_HERE>" https://xapi.us/v2/<YOUR_ACCOUNTXUID>/screenshots |
| | |
| | curl -s -H "X-AUTH: <YOUR_AUTH_KEY_HERE>" https://xapi.us/v2/<YOUR_ACCOUNTXUID>/xbox360games |
| | |
| | curl -s -H "X-AUTH: <YOUR_AUTH_KEY_HERE>" https://xapi.us/v2/<YOUR_ACCOUNTXUID>/xboxonegames |
| </code> | </code> |