@ovh-api/deskaas
TypeScript icon, indicating that this package has built-in type declarations

4.0.3 • Public • Published

OVHCloud API client for deskaas region Europe

This module contains all typing needed to use OvhCloud deskaas APIs, with hi-level IntelliSense / Code Completion

NPM Version

Setup

With npm:

npm install --save @ovh-api/api
npm install --save @ovh-api/me
npm install --save @ovh-api/deskaas
... Add all APIs you needs

Usage

import OvhEngine from '@ovh-api/api';
import apiMe from '@ovh-api/me';
import apiDeskaas from '@ovh-api/deskaas';

const ovhEngine = new OvhEngine({ 
    certCache: './cert-cache.json', // optional cache certificat on disk.
    accessRules: 'GET /deskaas, GET /deskaas/*, GET /me', // optional limit the requested privileges.
});

const api = {
    me: apiMe(ovhEngine),
    deskaas: apiDeskaas(ovhEngine),
}

const test = async () => {
    const { nichandle } = await api.me.$get();
    const data = await api.deskaas.$get();
    console.log(`${nichandle} have the following services:`);
    console.log(data);
}

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
4.0.30latest

Version History

VersionDownloads (Last 7 Days)Published
4.0.30
4.0.10
4.0.00
3.1.251
3.1.230
3.1.220
3.1.210
3.1.201
3.1.190
3.1.181
3.1.140
3.1.111
3.1.100
3.1.90
3.1.80
3.1.50
3.1.40
3.1.10
3.1.00
3.0.10
3.0.01
2.0.131
2.0.120
2.0.71
2.0.60
2.0.40
2.0.20
2.0.01
1.2.40
1.2.30
1.2.20
1.2.11
1.2.00
1.0.00
0.1.01
0.0.51
0.0.40

Package Sidebar

Install

npm i @ovh-api/deskaas

Weekly Downloads

11

Version

4.0.3

License

MIT

Unpacked Size

29 kB

Total Files

8

Last publish

Collaborators

  • urielch