2

I am basically trying to access crunchbase data through their REST API using python. There is a package available on github that gives me the following documentation. How do I get this "package" ?

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:

Sign Up Login & get API key Browse the documentation.

Setup

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

Up & Running

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

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

Chava Geldzahler
  • 3,225
  • 1
  • 14
  • 30
  • 1
    This link might help you out; it's a little less terse: https://data.crunchbase.com/docs/using-the-api Otherwise it's not really clear where you're stuck - the instructions on PyPI are pretty straightforward assuming you already understand how to use pip and APIs. – HFBrowning Jul 27 '17 at 23:12
  • `How do I get this "package" ?`, run the command `pip install git+git://github.com/anglinb/python-crunchbase` – davedwards Jul 27 '17 at 23:25
  • I don't understand how to use pip.. – user8378867 Jul 27 '17 at 23:50
  • @user8378867 well there's your problem :) Using it is the easy part (you just type on the command prompt `pip install [package name]`) but making sure you have it installed correctly and configured trips a lot of new Python users up. Depending on your platform and Python version (2.x or 3.x) you'll need different instructions but here's a start for Windows: https://stackoverflow.com/questions/4750806/how-do-i-install-pip-on-windows – HFBrowning Jul 27 '17 at 23:57
  • :-) yes complete newbie here. Am barely a part-time developer, I just need some venture deal info from crunchbase and I want to automate it. I wrote my own python code to get the info I need from crunchbase and parsing the JSON object was so slow!! Then I came across this package on github and it was coded so much better - I just wanted to give it a try. – user8378867 Jul 28 '17 at 00:00

2 Answers2

2

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

You are missing the https

Update: make sure you have git installed on your system.

joarleymoraes
  • 1,602
  • 12
  • 14
0

Add this in your requirements.txt file.

git+https://github.com/user_name/project_name.git

=========

Ideally requirements.txt or reqs.txt will exist in your project's root folder. This file is where all the python libraries' names will be stored along with precise version number.

Here is great deal of information with easy examples related to this topic

https://pip.readthedocs.io/en/1.1/requirements.html

nehem
  • 9,162
  • 6
  • 44
  • 71