3.1.25 • Published 4 years ago
@ovh-api/cloud-d-b v3.1.25
OVHCloud API client for cloud-d-b region Europe
This module contains all typing needed to use OvhCloud cloud-d-b APIs, with hi-level IntelliSense / Code Completion
Setup
With npm:
npm install --save @ovh-api/api
npm install --save @ovh-api/me
npm install --save @ovh-api/cloud-d-b
... Add all APIs you needs
Usage
import OvhEngine from '@ovh-api/api';
import apiMe from '@ovh-api/me';
import apiCloudDB from '@ovh-api/cloud-d-b';
const ovhEngine = new OvhEngine({
certCache: './cert-cache.json', // optional cache certificat on disk.
accessRules: 'GET /cloudDB, GET /cloudDB/*, GET /me', // optional limit the requested privileges.
});
const api = {
me: apiMe(ovhEngine),
cloudDB: apiCloudDB(ovhEngine),
}
const test = async () => {
const { nichandle } = await api.me.$get();
const data = await api.cloudDB.$get();
console.log(`${nichandle} have the following services:`);
console.log(data);
}
3.1.25
4 years ago
3.1.23
4 years ago
3.1.22
4 years ago
3.1.21
4 years ago
3.1.20
4 years ago
3.1.19
4 years ago
3.1.18
4 years ago
3.1.14
4 years ago
3.1.11
5 years ago
3.1.10
5 years ago
3.1.9
5 years ago
3.1.8
5 years ago
3.1.5
5 years ago
3.1.4
5 years ago
3.1.1
5 years ago
3.1.0
5 years ago
3.0.1
5 years ago
3.0.0
5 years ago
2.0.16
5 years ago
2.0.14
5 years ago
2.0.13
6 years ago
2.0.12
6 years ago
2.0.11
6 years ago
2.0.10
6 years ago