diff --git a/README.rst b/README.rst index 78ff96a..c651cc0 100644 --- a/README.rst +++ b/README.rst @@ -74,6 +74,7 @@ To interact with the APIs, the SDK needs to identify itself using an to register your application. Depending the API you plan to use, visit: - `OVH Europe `_ +- `OVH US `_ - `OVH North-America `_ - `So you Start Europe `_ - `So you Start North America `_ @@ -107,6 +108,7 @@ it looks like: Depending on the API you want to use, you may set the ``endpoint`` to: * ``ovh-eu`` for OVH Europe API +* ``ovh-us`` for OVH US API * ``ovh-ca`` for OVH North-America API * ``soyoustart-eu`` for So you Start Europe API * ``soyoustart-ca`` for So you Start North America API @@ -545,6 +547,14 @@ OVH Europe - **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 ----------------- @@ -601,4 +611,3 @@ License ======= 3-Clause BSD - diff --git a/ovh/client.py b/ovh/client.py index 563ce47..2c8c56a 100644 --- a/ovh/client.py +++ b/ovh/client.py @@ -74,6 +74,7 @@ #: Mapping between OVH API region names and corresponding endpoints ENDPOINTS = { 'ovh-eu': 'https://eu.api.ovh.com/1.0', + 'ovh-us': 'https://api.ovhcloud.com/1.0', 'ovh-ca': 'https://ca.api.ovh.com/1.0', 'kimsufi-eu': 'https://eu.api.kimsufi.com/1.0', 'kimsufi-ca': 'https://ca.api.kimsufi.com/1.0',