Data from CrunchBase API directly into an Excel or Google Spreadsheet
Today’s API is another query type from “crunchbase” which is a free database of corporations, people and investors. Yesterday I showed you how to get data about people. Today I’m showing how to get a list of people who work for a given company – this a single query API, populating multiple rows in a spreadsheet from a given name. Here’s a few lines of the response to a query on “google”
Here’s the Excel code (included in cDataSet.xlsm downloadable from the ramblings site)
Public Sub testCrunchbaseCompanies() generalQuery "who works at", "crunchbase companies", _ InputBox("Enter company name (for example google)") End Sub
and the GAS version (included in a Google Spreadsheet) using the mcpher GAS library
function testCrunchbaseCompanies() { mcpher.generalQuery ("who works at", "crunchbase companies", mcpher.InputBox("Enter company name (for example google)") ); }
The rest library is itself implemented as REST API and can be queried like this.
For more stuff like this, visit the ramblings site or the associated blog. If you have suggestion for particular API or contact me on our forum
You might be interested in checking out http://semgel.com.
It allows you to gather and analyze data from Crunchbase. More interestingly, it tries to address some of the issues of importing richly structured nested data into a spreadsheet (check out http://semgel.com/blog to read more about this)