XboxAPI.com

FREE
By djekl
Updated 5 months ago
Entertainment
6.9/10
Popularity Score
447ms
Latency
-
Success Rate
Discussions
Hi Developer, feel free to ask your question:
dvlsadvc8:2 years ago
0 Answers

discontinued

carlitron5000:3 years ago
0 Answers

discontinued

Mikewa33:3 years ago
0 Answers

Discountied

msintome:4 years ago
2 Answers

Does seem to work any longer. Results report "discontinued".

crimsonsun17:4 years ago
0 Answers

This api is discontinued apparently?

vivek306:5 years ago
0 Answers

Outputs discontinued

andyts93:5 years ago
0 Answers

Login failed

james.skemp:5 years ago
1 Answer

Achievements documentation is incorrect

Install SDK for NodeJS

Installing

To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

unirest.get("https://xboxapi.p.rapidapi.com/json/friends/{gamertag}")
.header("X-RapidAPI-Host", "xboxapi.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication