From 90b95788b33b05ee14d9e503a9bb70de1727e642 Mon Sep 17 00:00:00 2001 From: Romain Beuque Date: Tue, 12 Jun 2018 10:29:29 +0200 Subject: [PATCH] ovh-us: changing URL Signed-off-by: Romain Beuque --- README.md | 8 ++++++++ src/Api.php | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 39af194..717d5eb 100644 --- a/README.md +++ b/README.md @@ -249,6 +249,14 @@ Supported APIs * Create application credentials: https://eu.api.ovh.com/createApp/ * Create script credentials (all keys at once): https://eu.api.ovh.com/createToken/ +## OVH US + + * ```$endpoint = '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 * ```$endpoint = 'ovh-ca';``` diff --git a/src/Api.php b/src/Api.php index 77b4435..2be1b38 100644 --- a/src/Api.php +++ b/src/Api.php @@ -55,7 +55,7 @@ class Api private $endpoints = [ 'ovh-eu' => 'https://eu.api.ovh.com/1.0', 'ovh-ca' => 'https://ca.api.ovh.com/1.0', - 'ovh-us' => 'https://api.ovh.us/1.0', + 'ovh-us' => 'https://api.ovhcloud.com/1.0', 'kimsufi-eu' => 'https://eu.api.kimsufi.com/1.0', 'kimsufi-ca' => 'https://ca.api.kimsufi.com/1.0', 'soyoustart-eu' => 'https://eu.api.soyoustart.com/1.0',