Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

@stagg/api

0.8.0 • Public • Published

Stagg Integration APIs

Provided by Stagg.co

Call of Duty API

Simply install the package and instantiate new instances with your own tokens.

import { CallOfDuty } from '@stagg/api'
(async () => {
    const tokens = {
        sso: '<YOUR-SSO-TOKEN-HERE>',
        xsrf: '<YOUR-CSRF/XSRF-TOKEN-HERE>',
        atkn: '<YOUR-ATKN-TOKEN-HERE>',
    }
    const API = new CallOfDuty(tokens)
    const myProfiles = await API.Identity()
    console.log(myProfiles)
})()

Keywords

none

Install

npm i @stagg/api

DownloadsWeekly Downloads

97

Version

0.8.0

License

none

Unpacked Size

73.6 kB

Total Files

36

Last publish

Collaborators

  • avatar