Socket
Book a DemoInstallSign in
Socket

@epilot/automation-client

Package Overview
Dependencies
Maintainers
6
Versions
169
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@epilot/automation-client

API Client for epilot automation API

0.1.0
Source
npmnpm
Version published
Weekly downloads
387
-47.7%
Maintainers
6
Weekly downloads
 
Created
Source

@epilot/automation-client

API Client for epilot automation API.

Uses openapi-client-axios

Getting Started

Install the package:

npm install --save-dev @epilot/automation-client

Import the package:

import { getClient } from '@epilot/automation-client';

Use the client:

// get typed client
const client = await getClient();

// call an operation
const res = await client.testS3();

BaseURL & Authorization

To pass an authorization header and set up the API url, you can use axios defaults:

const client = getClient();
client.defaults.baseURL = config.API_URL;
client.defaults.headers['authorization'] = `Bearer ${token}`;

API Docs:

https://docs.api.epilot.io/

FAQs

Package last updated on 24 Sep 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.