3.1.0 • Published 6 years ago

apex-api v3.1.0

Weekly downloads
7
License
ISC
Repository
github
Last release
6 years ago

APEX

A simple, easy to use module for interacting with the API.

This module is powered by apex-api.tk

Setup and Installation

$ npm i apex-api
  1. Signup at ApexTracker
  2. Generate an API Key

Get stats

// Bring in the Apex module
const Apex = require('apex-api');
// Create an instance of the client with your API Key
const apex = new Apex('YourAPIkey');

apex.user('username', 'platform [PC | XBOX | PSN]').then(data => {
    console.log(data.data)
});

Get info of weapons

const Apex = require('apex-api');
const apex = new Apex('YourAPIkey');

apex.weaponInfo('[alternator, devotion, eva8auto, flatline, g7scout, havoc, hemlok, kraber, longbow, mastiff, mozambique, p2020, peacekeeper, prowler, r99, r301, re45, spitfire, tripletake, wingman]').then(data => {
    console.log(data)
});

Get info of legends

const Apex = require('apex-api');
const apex = new Apex('YourAPIkey');

apex.legendInfo('[bloodhound, gibraltar, lifeline, pathfinder, wraith, bangalore, caustic, mirage]').then(data => {
    console.log(data)
});

Get usage of legends

const Apex = require('apex-api');
const apex = new Apex('YourAPIkey');

apex.legendUsage().then(data => {
    console.log(data)
});
3.1.0

6 years ago

3.0.1

6 years ago

3.0.0

6 years ago

2.3.0

6 years ago

2.2.2

6 years ago

2.2.1

6 years ago

2.2.0

6 years ago

2.1.0

6 years ago

2.0.0

6 years ago

1.2.0

6 years ago

1.1.0

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago