Node module that wraps the Crunchbase API
This module is designed to be an easy-to-use wrapper around the CrunchBase API. This module is designed to be used with node.js, but could be modified to be used directly in the browser as well.
npm install crunchbase
Or from source:
git clone git://github.com/rgerard/node-crunchbase.git cd node-crunchbase npm install
var crunchbase = ;// Init the object with your API keycrunchbase;// Search for a company namecrunchbase;
I have written unit tests for these API calls using the nodeunit framework. The unit tests make actual API calls, so be wary of your API call limit.
To run the unit tests:
Please refer to the CrunchBase API documentation for more detail on their API.### init(apikey)
Inits the object with your API data, including your API key.
// Fetch the schedule for Week 1 of the NFL seasonvar crunchbase = ;crunchbase;
Returns information about the entity as a JSON object
// Fetch information about Dropboxcrunchbase;
Returns every entity of a certain type in the system as a JSON object
// Fetch every company in the systemcrunchbase;
Returns search results as a JSON object
// Search for the company Xobnicrunchbase;
Returns the posts of a person in an entity as a JSON object
// Fetch the posts for a company/personcrunchbase;