diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index f3a58f9..e58c79f 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -32,7 +32,7 @@ It can be accessed online too: https://www.kernel.org/doc/Documentation/SubmittingPatches -You can submit your patches via GitHub +You can submit your patches via GitHub. Licensing for new files: ------------------------ diff --git a/README.md b/README.md index e7ac80a..32c309d 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ Compatible with PHP 7.4, 8.0, 8.1, 8.2. ## Installation -Install this wrapper and integrate it inside your PHP application with [Composer](https://getcomposer.org) : +Install this wrapper and integrate it inside your PHP application with [Composer](https://getcomposer.org): composer require ovh/ovh @@ -26,7 +26,7 @@ Install this wrapper and integrate it inside your PHP application with [Composer require __DIR__ . '/vendor/autoload.php'; use \Ovh\Api; -// Api credentials can be retreived from the urls specified in the "Supported endpoints" section below. +// Api credentials can be retrieved from the urls specified in the "Supported endpoints" section below. $ovh = new Api($applicationKey, $applicationSecret, $endpoint, @@ -71,7 +71,7 @@ $client = new Client(); $client->setDefaultOption('timeout', 1); $client->setDefaultOption('headers', ['User-Agent' => 'api_client']); -// Api credentials can be retreived from the urls specified in the "Supported endpoints" section below. +// Api credentials can be retrieved from the urls specified in the "Supported endpoints" section below. // Inject the custom HTTP client as the 5th argument of the constructor $ovh = new Api($applicationKey, $applicationSecret, @@ -94,7 +94,7 @@ See "OVHcloud API authentication" section below for more information about the a use \Ovh\Api; session_start(); -// Api credentials can be retreived from the urls specified in the "Supported endpoints" section below. +// Api credentials can be retrieved from the urls specified in the "Supported endpoints" section below. $ovh = new Api($applicationKey, $applicationSecret, $endpoint); @@ -115,7 +115,7 @@ header('location: '. $credentials['validationUrl']); // After successful redirect, the consumerKey in the session will be activated and you will be able to use it to make API requests like in the "Basic usage" section above. ``` -### Code sample : Enable network burst on GRA1 dedicated servers +### Code sample: Enable network burst on GRA1 dedicated servers Here is a more complex example of how to use the wrapper to enable network burst on GRA1 dedicated servers. @@ -124,7 +124,7 @@ Here is a more complex example of how to use the wrapper to enable network burst require __DIR__ . '/vendor/autoload.php'; use \Ovh\Api; -// Api credentials can be retreived from the urls specified in the "Supported endpoints" section below. +// Api credentials can be retrieved from the urls specified in the "Supported endpoints" section below. $ovh = new Api($applicationKey, $applicationSecret, $endpoint, @@ -151,7 +151,7 @@ Do you want to use OVH APIs? Maybe the script you want is already written in the ## OVHcloud API authentication -To use the OVHcloud APIs you need three credentials : +To use the OVHcloud APIs you need three credentials: * An application key * An application secret