From ca532e522a4030ca9c14980ecf3d2943b038e9a0 Mon Sep 17 00:00:00 2001 From: Marie JONES <14836007+marie-j@users.noreply.github.com> Date: Wed, 16 Apr 2025 17:18:08 +0200 Subject: [PATCH] fix: update import solves #59 --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 51d0bc9..3f51c2d 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ The easiest way to use the [OVHcloud.com](https://www.ovhcloud.com) APIs in your ```js // Create your first application tokens here: https://api.ovh.com/createToken/?GET=/me -var ovh = require('ovh')({ +var ovh = require('@ovhcloud/node-ovh')({ appKey: process.env.APP_KEY, appSecret: process.env.APP_SECRET, consumerKey: process.env.CONSUMER_KEY @@ -56,7 +56,7 @@ Generate a valid pair of clientID/clientSecret following this [documentation](ht #### 2. Create an OVHcloud API client ```js -var ovh = require('ovh')({ +var ovh = require('@ovhcloud/node-ovh')({ clientID: 'YOUR_CLIENT_ID' clientSecret: 'YOUR_CLIENT_SECRET' endpoint: 'ovh-eu', @@ -106,7 +106,7 @@ Depending the API you want to use, you need to specify the below API endpoint: * Kimsufi North-America: ```kimsufi-ca``` ```js -var ovh = require('ovh')({ +var ovh = require('@ovhcloud/node-ovh')({ endpoint: 'ovh-eu', appKey: 'YOUR_APP_KEY', appSecret: 'YOUR_APP_SECRET'