0.5.4 • Published 29 days ago

@epilot/metering-client v0.5.4

Weekly downloads
-
License
UNLICENSED
Repository
github
Last release
29 days ago

@epilot/metering-client

API Client for epilot ts-sam API.

Uses openapi-client-axios

Getting Started

Install the package:

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

Import the package:

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

Use the client:

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

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

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/

0.5.4

29 days ago

0.5.3

4 months ago

0.5.0

4 months ago

0.5.1

4 months ago

0.4.1

4 months ago

0.3.0

5 months ago

0.2.9

6 months ago

0.2.8

10 months ago

0.2.7

11 months ago

0.2.6

11 months ago

0.2.3

1 year ago

0.2.2

1 year ago

0.2.5

11 months ago

0.2.4

1 year ago

0.1.30

1 year ago

0.1.31

1 year ago

0.2.1

1 year ago

0.1.28

1 year ago

0.1.27

1 year ago

0.1.26

1 year ago

0.1.25

1 year ago

0.1.24

1 year ago

0.1.23

1 year ago

0.1.22

1 year ago

0.1.21

1 year ago

0.1.20

1 year ago

0.1.19

1 year ago

0.1.18

1 year ago

0.1.17

2 years ago

0.1.16

2 years ago

0.1.15

2 years ago

0.1.14

2 years ago

0.1.13

2 years ago

0.1.12

2 years ago

0.1.11

2 years ago

0.1.10

2 years ago

0.1.9

2 years ago

0.1.8

2 years ago

0.1.7

2 years ago

0.1.5

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago