@ampsec/platform-client
TypeScript icon, indicating that this package has built-in type declarations

70.4.0 • Public • Published

Amplifier Security - Platform Client

Collection of data models, utilities, and clients used by and with our Platform API.

Entry Points

API Clients

Services

Data

Getting Started

import {UpsertUserDto} from '@ampsec/platform-client'

async function testAgentApi() {
    const agentApi = AmpApi.instance({
        baseUrl: process.env.PLATFORM_API_URL,
        token: process.env.PLATFORM_TOKEN,
    })
    const me = await agentApi.identity.me();
    console.log(me);
}

async function testAgentApi() {
    const sdk = AmpSdkServices.instance({
        baseUrl: process.env.PLATFORM_API_URL,
        token: process.env.PLATFORM_TOKEN,
    })
    const me = await agentApi.identity.me();
    console.log(me);
}

Development

See DEVELOPMENT.md

Readme

Keywords

none

Package Sidebar

Install

npm i @ampsec/platform-client

Weekly Downloads

2,465

Version

70.4.0

License

MIT

Unpacked Size

1.2 MB

Total Files

550

Last publish

Collaborators

  • de44