Skip to content

Commit 64603b1

Browse files
TrixterTheTuxbnjjj
authored andcommitted
feat(api): add US API
* Add US API * Remove comma to match every other api endpoint
1 parent b906fd7 commit 64603b1

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ Depending the API you plan yo use, you need to create an application on the belo
5555
websites:
5656

5757
* [OVH Europe](https://eu.api.ovh.com/createApp/)
58+
* [OVH US](https://api.ovhcloud.com/createApp/)
5859
* [OVH North-America](https://ca.api.ovh.com/createApp/)
5960
* [RunAbove](https://api.runabove.com/createApp/)
6061
* [SoYouStart Europe](https://eu.api.soyoustart.com/createApp/)
@@ -76,6 +77,7 @@ complete account.
7677
Depending the API you want to use, you need to specify the below API endpoint:
7778

7879
* OVH Europe: ```ovh-eu``` (default)
80+
* OVH US: ```ovh-us```
7981
* OVH North-America: ```ovh-ca```
8082
* RunAbove: ```runabove-ca```
8183
* SoYouStart Europe: ```soyoustart-eu```
@@ -133,6 +135,7 @@ You are now be able to play with the API. Look at the
133135
You can browse the API schemas using the web consoles of the APIs:
134136
135137
* [OVH Europe](https://eu.api.ovh.com/console/)
138+
* [OVH US](https://api.ovhcloud.com/console/)
136139
* [OVH North-America](https://ca.api.ovh.com/console/)
137140
* [RunAbove](https://api.runabove.com/console/)
138141
* [SoYouStart Europe](https://eu.api.soyoustart.com/console/)
@@ -220,6 +223,13 @@ available in the *gh-pages* branch.
220223
- **Create application credentials**: https://eu.api.ovh.com/createApp/
221224
- **Create script credentials** (all keys at once): https://eu.api.ovh.com/createToken/
222225
226+
### OVH US
227+
228+
- **Documentation**: https://api.ovhcloud.com/
229+
- **Console**: https://api.ovhcloud.com/console/
230+
- **Create application credentials**: https://api.ovhcloud.com/createApp/
231+
- **Create script credentials** (all keys at once): https://api.ovhcloud.com/createToken/
232+
223233
### OVH North America
224234
225235
- **Documentation**: https://ca.api.ovh.com/

lib/endpoints.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
* Preconfigured API endpoints
2929
*
3030
* ovh-eu: OVH Europe
31+
* ovh-us: OVH US
3132
* ovh-ca: OVH North America
3233
* runabove-ca: RunAbove
3334
* sys-eu: SoYouStart Europe
@@ -39,6 +40,9 @@ module.exports = {
3940
'ovh-eu': {
4041
'host': 'eu.api.ovh.com'
4142
},
43+
'ovh-us': {
44+
'host': 'api.ovhcloud.com'
45+
},
4246
'ovh-ca': {
4347
'host': 'ca.api.ovh.com'
4448
},

0 commit comments

Comments
 (0)