Site Tools


random:xboxxapi

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
random:xboxxapi [2021/04/19 23:55] – created lunetikkrandom:xboxxapi [2022/10/24 10:46] (current) lunetikk
Line 1: Line 1:
-====== Xbox API ======+====== Xbox 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 ====
Line 12: Line 14:
 <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>
random/xboxxapi.1618869316.txt.gz · Last modified: 2021/04/19 23:55 by lunetikk