Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 11 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,18 @@ Roadmap

Usage
=====
```
// this module isn't published to NPM yet, so you have to clone it to the node_modules folder in your machine, beforehand
var vendSdk = require('vend-nodejs-sdk')({});

First, install the npm module [vend-nodejs-sdk](https://www.npmjs.com/package/vend-nodejs-sdk) into your project directory:

`npm install vend-nodejs-sdk`

Reference the package in your application file:

`var vendSdk = require('vend-nodejs-sdk')({});`

Start using the SDK:

```
var args = vendSdk.args.products.fetch();
args.orderBy.value = 'id';
args.page.value = 1;
Expand Down