diff --git a/README.md b/README.md index c64e737..1551f82 100644 --- a/README.md +++ b/README.md @@ -55,6 +55,7 @@ Depending the API you plan yo use, you need to create an application on the belo websites: * [OVH Europe](https://eu.api.ovh.com/createApp/) +* [OVH US](https://api.ovhcloud.com/createApp/) * [OVH North-America](https://ca.api.ovh.com/createApp/) * [RunAbove](https://api.runabove.com/createApp/) * [SoYouStart Europe](https://eu.api.soyoustart.com/createApp/) @@ -76,6 +77,7 @@ complete account. Depending the API you want to use, you need to specify the below API endpoint: * OVH Europe: ```ovh-eu``` (default) +* OVH US: ```ovh-us``` * OVH North-America: ```ovh-ca``` * RunAbove: ```runabove-ca``` * SoYouStart Europe: ```soyoustart-eu``` @@ -133,6 +135,7 @@ You are now be able to play with the API. Look at the You can browse the API schemas using the web consoles of the APIs: * [OVH Europe](https://eu.api.ovh.com/console/) +* [OVH US](https://api.ovhcloud.com/console/) * [OVH North-America](https://ca.api.ovh.com/console/) * [RunAbove](https://api.runabove.com/console/) * [SoYouStart Europe](https://eu.api.soyoustart.com/console/) @@ -220,6 +223,13 @@ available in the *gh-pages* branch. - **Create application credentials**: https://eu.api.ovh.com/createApp/ - **Create script credentials** (all keys at once): https://eu.api.ovh.com/createToken/ +### OVH US + +- **Documentation**: https://api.ovhcloud.com/ +- **Console**: https://api.ovhcloud.com/console/ +- **Create application credentials**: https://api.ovhcloud.com/createApp/ +- **Create script credentials** (all keys at once): https://api.ovhcloud.com/createToken/ + ### OVH North America - **Documentation**: https://ca.api.ovh.com/ diff --git a/lib/endpoints.js b/lib/endpoints.js index 6db1442..2f13ffb 100644 --- a/lib/endpoints.js +++ b/lib/endpoints.js @@ -28,6 +28,7 @@ * Preconfigured API endpoints * * ovh-eu: OVH Europe + * ovh-us: OVH US * ovh-ca: OVH North America * runabove-ca: RunAbove * sys-eu: SoYouStart Europe @@ -39,6 +40,9 @@ module.exports = { 'ovh-eu': { 'host': 'eu.api.ovh.com' }, + 'ovh-us': { + 'host': 'api.ovhcloud.com' + }, 'ovh-ca': { 'host': 'ca.api.ovh.com' },