0.41.2 • Published 2 days ago

@allbin/viu-api-client v0.41.2

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

viu-api-client

Example use

import { ViuApiClient } from '@allbin/viu-api-client';

const client = ViuApiClient({
  baseUrl: 'https://api.viu.dev.allbin.se',
  token: () => getTokenPromise(),
});

const devices = await client.devices.list();

Generate new types from viu-api

Adjust path to api.d.ts to fit your own machine

cat ../viu-api/src/types/api.d.ts | sed -e 's/^type/export type/g' > src/api.ts && npx eslint --fix src/api.ts
0.41.1

2 days ago

0.41.2

2 days ago

0.40.0

7 days ago

0.41.0

6 days ago

0.39.2

28 days ago

0.39.1

4 months ago

0.39.0

4 months ago

0.38.0

4 months ago

0.37.1

5 months ago

0.37.0

5 months ago

0.36.1

5 months ago

0.36.0

5 months ago

0.34.0

5 months ago

0.33.0

5 months ago

0.32.0

6 months ago

0.30.7

6 months ago

0.31.3

6 months ago

0.31.2

6 months ago

0.31.1

6 months ago

0.31.0

6 months ago

0.30.6

6 months ago

0.30.5

7 months ago

0.30.2

7 months ago

0.30.1

7 months ago

0.30.4

7 months ago

0.30.3

7 months ago

0.30.0

1 year ago

0.29.5

1 year ago

0.29.4

1 year ago

0.29.3

1 year ago

0.29.2

1 year ago

0.29.1

1 year ago

0.29.0

1 year ago

0.28.0

1 year ago

0.27.0

1 year ago

0.26.0

1 year ago

0.25.0

1 year ago

0.24.0

1 year ago

0.23.1

1 year ago

0.23.0

1 year ago

0.22.0

1 year ago

0.21.0

1 year ago

0.20.0

1 year ago