A leader plugin for the Crunchbase company API. Get a Crunchbase API key here.
var Leader = require('leader');
var CrunchBase = require('leader-crunchbase-api');
var leader = Leader()
.use(CrunchBase('CRUNCHBASE_API_KEY'))
.populate({ company: { name: 'segment.io'}}, function(err, person) {
// ..
});
It will search Crunchbase for the following keys: company.name
, domain.name
, or linkedin.summary
.
And it will add the following to the person
:
{
// ..
company: {
name: 'segment.io',
tags: 'analytics, api, web-analytics, developer, mixpanel, google-analytics, kissmetric... ',
employees: 8,
category: 'analytics',
crunchbase: {
url: 'http://www.crunchbase.com/company/segment-io'
},
funding: '$600k'
}
}
Return a Leader plugin for the CrunchBase company API.