Nth Permutation Mathematics

    sophos
    TypeScript icon, indicating that this package has built-in type declarations

    0.1.2 • Public • Published

    Sophos API Wrapper

    Typescript wrapper for Sophos's API.

    Getting Started

    You can install the package with the following command:

    npm install sophos
    

    You must import the package and pass in the clientId and clientSecret from Sophos to the constructor:

    const Sophos = require('sophos')
    
    const sophos = new Sophos({
      clientId: "332....",
      clientSecret: "2333..."
    }) 

    You can also pass in your partnerId, if using getTenants():

    const Sophos = require('sophos')
    
    const sophos = new Sophos({
      clientId: "332....",
      clientSecret: "2333...",
      partnerId: "zh67.."
    }) 

    Usage

    Get all Tenants as Partner

    await sophos.getTenants()

    Get All Endpoints from Tenant

    await sophos.getEndpoints(tenantId, tenantApiHost)

    Keywords

    none

    Install

    npm i sophos

    DownloadsWeekly Downloads

    9

    Version

    0.1.2

    License

    MIT

    Unpacked Size

    10.8 kB

    Total Files

    8

    Last publish

    Collaborators

    • santese
    • pliancy-bot