JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2
  • Score
    100M100P100Q20217F
  • License MIT

Hits apextracker API using your provided key and returns Apex Legends statistics

Package Exports

  • apexlegendsjs

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (apexlegendsjs) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

apexlegendsjs

npm

npm install apexlegendsjs

Very light 0 Dependency package that connects to an Apex Legends API

How to use

First run npm install apexlegendsjs

Go here to sign up for an API Key: https://apex.tracker.gg/site-api

Then paste your key into API_KEY_HERE

After that, use apex.player() to get core player information. The data this returns is listed in the documentation here:https://tracker.gg/developers/docs/titles/apex

Recently Updated to V2 of apex tracker API!

"PLAFORM" needs be either origin, psn, or xbl.

const apex = require('apexlegendsjs')(API_KEY_HERE)
async function main(){
const profile = await apexjs.profile("playerName", "PLATFORM")
const playerSegments = await apexjs.playerSegments("playerName", "PLATFORM", "legend")
const searchResults = await apexjs.search("PLATFORM", "query")
const playerSessionData = await apexjs.playerSessions("playerName", "PLATFORM")
}()

This API is documented by JSDocs and the API is promise based. Feel free to look at the code on github and suggest any improvements

Created By

This package was created by John Kryspin.