From 348285e9eb63d0f0222453417f8d3a9da0a98d77 Mon Sep 17 00:00:00 2001 From: AlexeyKorkoza Date: Sat, 14 Jul 2018 14:50:51 +0300 Subject: [PATCH] Update examples initialization --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 82666cf..bef15bf 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ A Node.js API Wrapper for the [Bitso REST API](https://bitso.com/api_info). Plea ```javascript var BitsoNode = require('bitso-node-api'); // Key and Secret are only necessary if you use the Private REST API -var bitsoClient = new BitsoNode({ +var bitsoClient = BitsoNode.BitsoClient({ key: '1234', secret: 'secret', }); @@ -26,7 +26,7 @@ bitsoClient ```javascript const BitsoNode = require('bitso-node-api'); -const client = new BitsoNode({ +const client = BitsoNode.BitsoClient({ key: "KEY", secret: "SECRET", }); @@ -51,7 +51,7 @@ information you need to create the API client with the `authorizeMovements` para ```javascript const BitsoNode = require('bitso-node-api'); -const client = new BitsoNode({ +const client = BitsoNode.BitsoClient({ key: "KEY", secret: "SECRET", authorizeMovements: true