0.7.0 • Published 8 months ago

@epilot/metering-client v0.7.0

Weekly downloads
-
License
UNLICENSED
Repository
github
Last release
8 months 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.7.0

8 months ago

0.5.6

11 months ago

0.5.5

1 year ago

0.5.8

10 months ago

0.5.7

10 months ago

0.5.9

9 months ago

0.6.1

9 months ago

0.6.0

9 months ago

0.5.4

1 year ago

0.5.3

1 year ago

0.5.0

1 year ago

0.5.1

1 year ago

0.4.1

2 years ago

0.3.0

2 years ago

0.2.9

2 years ago

0.2.8

2 years ago

0.2.7

2 years ago

0.2.6

2 years ago

0.2.3

2 years ago

0.2.2

2 years ago

0.2.5

2 years ago

0.2.4

2 years ago

0.1.30

3 years ago

0.1.31

3 years ago

0.2.1

3 years ago

0.1.28

3 years ago

0.1.27

3 years ago

0.1.26

3 years ago

0.1.25

3 years ago

0.1.24

3 years ago

0.1.23

3 years ago

0.1.22

3 years ago

0.1.21

3 years ago

0.1.20

3 years ago

0.1.19

3 years ago

0.1.18

3 years ago

0.1.17

3 years ago

0.1.16

3 years ago

0.1.15

3 years ago

0.1.14

3 years ago

0.1.13

3 years ago

0.1.12

3 years ago

0.1.11

3 years ago

0.1.10

3 years ago

0.1.9

3 years ago

0.1.8

3 years ago

0.1.7

3 years ago

0.1.5

3 years ago

0.1.4

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago