Skip to content

Instantly share code, notes, and snippets.

@almic
almic / Halo MCC API (Node).js
Last active February 2, 2022 07:21
The Node.js way for getting into the Halo MCC API.
const request = require('then-request')
// This is your microsoft live account information
const LOGIN = process.env.LOGIN // typically an email address
const PASSWD = process.env.PASSWD // typically your xbox live password
// This is the "api" we'll be calling once we login
const endpoint = 'https://www.halowaypoint.com/en-us/games/halo-the-master-chief-collection/xbox-one/' +
'game-history?gamertags=Furiousn00b&gameVariant=all&view=DataOnly'