Skip to main content

Libraries for interacting with the Crunchbase 2.0 API

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

python-crunchbase-1.0.2.zip (7.4 kB view details)

Uploaded Source

File details

Details for the file python-crunchbase-1.0.2.zip.

File metadata

File hashes

Hashes for python-crunchbase-1.0.2.zip
Algorithm Hash digest
SHA256 cb4dd855c781ec4a4dc846f97e25d60f4ef6e0ea43081c214c7ac7fb685ca8da
MD5 aa9463ab86dae5fbc11f045d4193d8eb
BLAKE2b-256 39bc433aa767a2f9b12b49bfe88c93753e334987ed8da504282c8f720d5ce68e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page