Skip to content

anglinb/python-crunchbase

 
 

Repository files navigation

crunchbase

This is a Python Library for the Crunchbase 2.0 API.

API Documentation

The CrunchBase API provides a RESTful interface to the data found on CrunchBase. The response is in JSON format.

###Register

Follow the steps below to start using the CrunchBase API:

###Setup

pip install git+git://github.com/anglinb/python-crunchbase

###Up & Running

Import Crunchbase then intialize the Crunchbase object with your api key.

from crunchbase import CrunchBase
cb = CrunchBase('xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx')

Here is an example of searching for an organization.

cb.getOrganizations('Dropbox', page='1', order=...)

This returns the result of an organization search query in JSON format. The keyword arguments (page, order, ... ) will be translated into GET variables and passed along with the request. Check the documentation to find which arguments are availible for which API endpoint.

Now you are ready to perform any of the following queries against the Crunchbase 2.0 API

getOrganizations(query) #This returns result of an organization search query in JSON format.

getOrganization(path) #This returns result of an organization search query in JSON format.

getPeople() #This returns result of people in JSON format.

getPerson(path) #This returns result of a single person

getProducts() This returns result of products in JSON format.

... 

Check crunchbase/crunchbase.py for a list of all the of the possible functions. These methods are in order with the ones found in the Crunchbase API Documentation.

###API Usage Terms

https://developer.crunchbase.com/

###Library License

WTFPL

About

A python library for the crunchbase api

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%