1.0.0 • Published 6 years ago

apextracker-v2 v1.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

Apex Tracker v2

A simple, easy to use module for interacting with the Apex Tracker

Setup and Installation

yarn add apextracker-v2

or if you are using npm

npm i apextracker-v2
  1. Signup at ApexTracker
  2. Generate an API Key

Get Player

const Apex = require("apextracker-v2");
const api = new Apex("Your Api Key");

api
  .user("username", "platform [origin||xbl||psn]")
  .then(res => console.log(res.data));

Search Player

const Apex = require("apextracker-v2");
const api = new Apex("Your Api Key");

api
  .search("platform [origin||xbl||psn]", "search term")
  .then(res => console.log(res.data));