UNPKG

async-xbox-live-api

Version:

Async library to enable you to interact with the xbox live api

9 lines (7 loc) 199 B
import * as dotenv from 'dotenv'; import * as xla from './lib/api'; dotenv.config(); xla .getActivityForGamer(process.env.XBL_PLAYER_TO_SEARCH ?? '') .then(console.log) .catch(console.error);