You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
varcrunchbase=require('crunchbase2');// Init the object with your API keycrunchbase.init(apikey);// Lookup all organizations with keyword "airbnb"//Accepts title search querycrunchbase.organizations({query: "airbnb"},function(error,results){if(!error){console.log(results)// Print the search results}});// Lookup a single organization with the permalink "airbnb"//accepts permalink (airbnb's happens to be airbnb)crunchbase.organization("airbnb",function(error,results){if(!error){console.log(results)// Print the search results}});//get pages of people//accepts page numbercrunchbase.people({query: "1"},function(error,results){if(!error){console.log(results)// Print the search results}});//get a single person//accepts user permalinkcrunchbase.person("richard-czechowski",function(error,results){if(!error){console.log(results)// Print the search results}});//get pages of products//accepts a page numbercrunchbase.products({query: "1"},function(error,results){if(!error){console.log(results)// Print the search results}});//get a single product//accepts a permalinkcrunchbase.product({query: "airbnb"},function(error,results){if(!error){console.log(results)// Print the search results}});//get funding round for a specific product. A uuid can be gotten from product endpoint//accepts a uuidcrunchbase.fundingRound({query: "0f74285df822ece685d63aa562f8c280"},function(error,results){if(!error){console.log(results)// Print the search results}});//This operation returns the properties and relationships of the Acquisition.//accepts a uuidcrunchbase.acquisition({query: "0f74285df822ece685d63aa562f8c280"},function(error,results){if(!error){console.log(results)// Print the search results}});//This operation returns the properties and relationships of the IPO.//accepts a uuidcrunchbase.ipo({query: "0f74285df822ece685d63aa562f8c280"},function(error,results){if(!error){console.log(results)// Print the search results}});//This operation returns the properties and relationships of the Fund Raise.//accepts a uuidcrunchbase.fundRaise({query: "0f74285df822ece685d63aa562f8c280"},function(error,results){if(!error){console.log(results)// Print the search results}});//Returns a paginated list of all active Locations in CrunchBase.//accepts a pagecrunchbase.locations({query: "1"},function(error,results){if(!error){console.log(results)// Print the search results}});//Returns a paginated list of all active Categories in CrunchBase.//accepts a pagecrunchbase.categories({query: "1"},function(error,results){if(!error){console.log(results)// Print the search results}});