This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
__author__ = 'Damon Pollard (@DamonLPollard)' | |
import re | |
import random | |
import json | |
import requests | |
WLID_USERNAME = "[email protected]" | |
WLID_PASSWORD = "password" |