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

5.0.2 • Public • Published

OVHCloud API client for dedicated-nasha region Europe

This module contains all typing needed to use OvhCloud dedicated-nasha 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/dedicated-nasha
... Add all APIs you needs

Usage

import OvhEngine from '@ovh-api/api';
import apiMe from '@ovh-api/me';
import apiDedicatedNasha from '@ovh-api/dedicated-nasha';

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

const api = {
    me: apiMe(ovhEngine),
    dedicatedNasha: apiDedicatedNasha(ovhEngine),
}

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

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
5.0.20latest

Version History

VersionDownloads (Last 7 Days)Published
5.0.20
5.0.10
5.0.00
4.0.40
4.0.30
4.0.20
4.0.10
4.0.00
3.1.280
3.1.250
3.1.230
3.1.220
3.1.210
3.1.200
3.1.190
3.1.180
3.1.140
3.1.110
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.00
2.0.130
2.0.120
2.0.70
2.0.60
2.0.40
2.0.20
2.0.00
1.2.40
1.2.30
1.2.20
1.2.10
1.2.00
1.0.00
0.1.00
0.0.50
0.0.40

Package Sidebar

Install

npm i @ovh-api/dedicated-nasha

Weekly Downloads

0

Version

5.0.2

License

MIT

Unpacked Size

30.1 kB

Total Files

7

Last publish

Collaborators

  • urielch