0.4.0 • Published 3 years ago

sophos-api-helper v0.4.0

Weekly downloads
11
License
MIT
Repository
github
Last release
3 years ago

Helper for work with Sophos API

Complete API Documentation Here

Quick Start

import { getTenantInfo, getToken, getEndpoints } from "sophos-api-helper";

const { access_token } = await getToken({
  clientId: USER,
  clientSecret: PASSWORD,
});

const {
  id: tenantId,
  apiHosts: { dataRegion },
} = await getTenantInfo({ token: access_token });

const sophosEndpoints = await getEndpoints({
  accessToken: access_token,
  dataRegion,
  xTenantId: tenantId,
});
0.4.0

3 years ago

0.3.1

4 years ago

0.3.0

4 years ago

0.2.0

4 years ago

0.1.0

4 years ago