@ovh-soyoustart-ca/support
TypeScript icon, indicating that this package has built-in type declarations

5.0.1 • Public • Published

OVHCloud API client for support region Canada

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

NPM Version

Setup

With npm:

npm install --save @ovh-api/api
npm install --save @ovh-soyoustart-ca/me
npm install --save @ovh-soyoustart-ca/support
... Add all APIs you needs

Usage

import OvhEngine from '@ovh-api/api';
import apiMe from '@ovh-soyoustart-ca/me';
import apiSupport from '@ovh-soyoustart-ca/support';

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

const api = {
    me: apiMe(ovhEngine),
    support: apiSupport(ovhEngine),
}

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

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
5.0.14latest

Version History

VersionDownloads (Last 7 Days)Published
5.0.14
5.0.04
4.0.43
4.0.33
4.0.22
4.0.10
4.0.02
3.1.253
3.1.233
3.1.223
3.1.211
3.1.202
3.1.192
3.1.181
3.1.143
3.1.82
3.1.52
3.1.42
3.1.11
3.0.12
3.0.01
2.0.151
2.0.133
2.0.123

Package Sidebar

Install

npm i @ovh-soyoustart-ca/support

Weekly Downloads

53

Version

5.0.1

License

MIT

Unpacked Size

10.4 kB

Total Files

7

Last publish

Collaborators

  • urielch