From fef24b65a7035095c10289c73a5bfe4371e22143 Mon Sep 17 00:00:00 2001 From: Vincent Casse Date: Wed, 3 Feb 2016 10:26:24 +0100 Subject: [PATCH 1/2] Add endpoints into the documentation Signed-off-by: Vincent Casse --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 67a38b3..49b6880 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ use \Ovh\Api; $ovh = new Api( $applicationKey, $applicationSecret, - $endpoint_name, + $endpoint, $consumer_key); echo "Welcome " . $ovh->get('/me')['firstname']; ?> @@ -202,6 +202,7 @@ Supported APIs ## OVH Europe + * $endpoint = 'ovh-eu'; * Documentation: https://eu.api.ovh.com/ * Community support: api-subscribe@ml.ovh.net * Console: https://eu.api.ovh.com/console @@ -210,6 +211,7 @@ Supported APIs ## OVH North America + * $endpoint = 'ovh-ca'; * Documentation: https://ca.api.ovh.com/ * Community support: api-subscribe@ml.ovh.net * Console: https://ca.api.ovh.com/console @@ -218,6 +220,7 @@ Supported APIs ## So you Start Europe + * $endpoint = 'soyoustart-eu'; * Documentation: https://eu.api.soyoustart.com/ * Community support: api-subscribe@ml.ovh.net * Console: https://eu.api.soyoustart.com/console/ @@ -226,6 +229,7 @@ Supported APIs ## So you Start North America + * $endpoint = 'soyoustart-ca'; * Documentation: https://ca.api.soyoustart.com/ * Community support: api-subscribe@ml.ovh.net * Console: https://ca.api.soyoustart.com/console/ @@ -234,6 +238,7 @@ Supported APIs ## Kimsufi Europe + * $endpoint = 'kimsufi-eu'; * Documentation: https://eu.api.kimsufi.com/ * Community support: api-subscribe@ml.ovh.net * Console: https://eu.api.kimsufi.com/console/ @@ -242,6 +247,7 @@ Supported APIs ## Kimsufi North America + * $endpoint = 'kimsufi-ca'; * Documentation: https://ca.api.kimsufi.com/ * Community support: api-subscribe@ml.ovh.net * Console: https://ca.api.kimsufi.com/console/ @@ -250,6 +256,7 @@ Supported APIs ## Runabove + * $endpoint = 'runabove-ca'; * Documentation: https://community.runabove.com/kb/en/instances/how-to-use-runabove-api.html * Community support: https://community.runabove.com * Console: https://api.runabove.com/console/ From cc676cd9a2c7fa1fb8750423cfd29a188d97abc4 Mon Sep 17 00:00:00 2001 From: Romain Beuque Date: Wed, 3 Feb 2016 10:45:50 +0100 Subject: [PATCH 2/2] (fix): add formatting to endpoint information Signed-off-by: Romain Beuque --- README.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 49b6880..f2fa1bb 100644 --- a/README.md +++ b/README.md @@ -202,7 +202,7 @@ Supported APIs ## OVH Europe - * $endpoint = 'ovh-eu'; + * ```$endpoint = 'ovh-eu';``` * Documentation: https://eu.api.ovh.com/ * Community support: api-subscribe@ml.ovh.net * Console: https://eu.api.ovh.com/console @@ -211,7 +211,7 @@ Supported APIs ## OVH North America - * $endpoint = 'ovh-ca'; + * ```$endpoint = 'ovh-ca';``` * Documentation: https://ca.api.ovh.com/ * Community support: api-subscribe@ml.ovh.net * Console: https://ca.api.ovh.com/console @@ -220,7 +220,7 @@ Supported APIs ## So you Start Europe - * $endpoint = 'soyoustart-eu'; + * ```$endpoint = 'soyoustart-eu';``` * Documentation: https://eu.api.soyoustart.com/ * Community support: api-subscribe@ml.ovh.net * Console: https://eu.api.soyoustart.com/console/ @@ -229,7 +229,7 @@ Supported APIs ## So you Start North America - * $endpoint = 'soyoustart-ca'; + * ```$endpoint = 'soyoustart-ca';``` * Documentation: https://ca.api.soyoustart.com/ * Community support: api-subscribe@ml.ovh.net * Console: https://ca.api.soyoustart.com/console/ @@ -238,7 +238,7 @@ Supported APIs ## Kimsufi Europe - * $endpoint = 'kimsufi-eu'; + * ```$endpoint = 'kimsufi-eu';``` * Documentation: https://eu.api.kimsufi.com/ * Community support: api-subscribe@ml.ovh.net * Console: https://eu.api.kimsufi.com/console/ @@ -247,7 +247,7 @@ Supported APIs ## Kimsufi North America - * $endpoint = 'kimsufi-ca'; + * ```$endpoint = 'kimsufi-ca';``` * Documentation: https://ca.api.kimsufi.com/ * Community support: api-subscribe@ml.ovh.net * Console: https://ca.api.kimsufi.com/console/ @@ -256,7 +256,7 @@ Supported APIs ## Runabove - * $endpoint = 'runabove-ca'; + * ```$endpoint = 'runabove-ca';``` * Documentation: https://community.runabove.com/kb/en/instances/how-to-use-runabove-api.html * Community support: https://community.runabove.com * Console: https://api.runabove.com/console/