Example Nutshell API client written in Node.js.
npm install -g nutshell-api-client
Note: Requires Node.js version 4.0.0
or greater.
To use the cli:
nutshell
The cli will ask for a user name and password, defaulting to the demo account from Nutshell's docs.
It will also ask you for:
- The kind of objects you want to find
- The quantity of results you want
- Whether and how you want the results ordered
- Whether you want to only get results which have a specified property, and if so what property that is
It will then query the Nutshell API and print out the results.