Skip to content

Commit 6e9835d

Browse files
authored
Merge pull request #63 from TomEros/patch-1
Add US endpoint
2 parents 526c9e0 + 4b8ad76 commit 6e9835d

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

README.rst

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ To interact with the APIs, the SDK needs to identify itself using an
7474
to register your application. Depending the API you plan to use, visit:
7575

7676
- `OVH Europe <https://eu.api.ovh.com/createApp/>`_
77+
- `OVH US <https://api.ovhcloud.com/createApp/>`_
7778
- `OVH North-America <https://ca.api.ovh.com/createApp/>`_
7879
- `So you Start Europe <https://eu.api.soyoustart.com/createApp/>`_
7980
- `So you Start North America <https://ca.api.soyoustart.com/createApp/>`_
@@ -107,6 +108,7 @@ it looks like:
107108
Depending on the API you want to use, you may set the ``endpoint`` to:
108109

109110
* ``ovh-eu`` for OVH Europe API
111+
* ``ovh-us`` for OVH US API
110112
* ``ovh-ca`` for OVH North-America API
111113
* ``soyoustart-eu`` for So you Start Europe API
112114
* ``soyoustart-ca`` for So you Start North America API
@@ -545,6 +547,14 @@ OVH Europe
545547
- **Create application credentials**: https://eu.api.ovh.com/createApp/
546548
- **Create script credentials** (all keys at once): https://eu.api.ovh.com/createToken/
547549

550+
OVH US
551+
----------
552+
553+
- **Documentation**: https://api.ovhcloud.com/
554+
- **Console**: https://api.ovhcloud.com/console/
555+
- **Create application credentials**: https://api.ovhcloud.com/createApp/
556+
- **Create script credentials** (all keys at once): https://api.ovhcloud.com/createToken/
557+
548558
OVH North America
549559
-----------------
550560

@@ -601,4 +611,3 @@ License
601611
=======
602612

603613
3-Clause BSD
604-

ovh/client.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@
7474
#: Mapping between OVH API region names and corresponding endpoints
7575
ENDPOINTS = {
7676
'ovh-eu': 'https://eu.api.ovh.com/1.0',
77+
'ovh-us': 'https://api.ovhcloud.com/1.0',
7778
'ovh-ca': 'https://ca.api.ovh.com/1.0',
7879
'kimsufi-eu': 'https://eu.api.kimsufi.com/1.0',
7980
'kimsufi-ca': 'https://ca.api.kimsufi.com/1.0',

0 commit comments

Comments
 (0)