5.0.2 • Published 12 months ago

@ovh-api/saas-csp2 v5.0.2

Weekly downloads
27
License
MIT
Repository
github
Last release
12 months ago

OVHCloud API client for saas-csp2 region Europe

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

Usage

import OvhEngine from '@ovh-api/api';
import apiMe from '@ovh-api/me';
import apiSaasCsp2 from '@ovh-api/saas-csp2';

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

const api = {
    me: apiMe(ovhEngine),
    saasCsp2: apiSaasCsp2(ovhEngine),
}

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

12 months ago

5.0.1

12 months ago

5.0.0

12 months ago

4.0.4

12 months ago

4.0.3

2 years ago

4.0.1

2 years ago

4.0.0

2 years ago

3.1.28

3 years ago

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.14

5 years ago

2.0.13

5 years ago

2.0.12

5 years ago

2.0.7

6 years ago

2.0.6

6 years ago

2.0.4

6 years ago

2.0.3

6 years ago

2.0.2

6 years ago

2.0.0

6 years ago

1.2.4

6 years ago

1.2.3

6 years ago

1.2.2

6 years ago

1.2.1

6 years ago

1.2.0

6 years ago

1.0.0

6 years ago

0.1.0

6 years ago

0.0.5

6 years ago