Close.io
A Close.io API wrapper for Node.js. See the API documentation at http://developer.close.io/
Installation
npm install --save close.io
Usage
npm install
mocha test
Get an API key from your settings page: https://app.close.io/settings/
var Closeio = ; var closeio = "YOUR_API_KEY_HERE"; closeiolead;
Searching for Leads
The lead.search
method accepts either a string or a dictionary of search keywords as valid parameters.
To use a string to specify your search query, pass a query
parameter to the lead.search
method:
closeiolead;
To use a dictionary of search keywords to specify your search query, structure your parameters as follows:
closeiolead;
Note: The query
parameter will override any other search keywords present in your dictionary.