用于与crunchbase 2.0api交互的库

python-crunchbase的Python项目详细描述


crunchbase

这是一个用于crunchbase 2.0api的python库。

API文档

crunchbase api为 Crunchbase公司。响应是json格式的。

寄存器

按照以下步骤开始使用crunchbase api:

设置

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

启动和运行

导入crunchbase,然后用api初始化crunchbase对象 钥匙

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

下面是搜索组织的示例。

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

这将以json格式返回组织搜索查询的结果。 关键字参数(page, order, ... )将转换为 获取变量并与请求一起传递。检查文档 查找哪些参数可用于哪个api端点。

现在您可以对 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.

...

查看crunchbase/crunchbase.py以获取所有可能的 功能。这些方法与 Crunchbase API Documentation

库许可证

WTFPL

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
Java Double。将长位加倍到C#位转换器。ToDouble   java如何使用正则表达式从固定的Y位数中提取最后的X位数?   java如何显示ChatMessage类列表中的字符串消息属性?   java从JSON或XML提要导入数据,并在Android中创建列表   在整数之间使用按位AND运算符的java好处?   java从Android中的Bean类获取空值?   java会话id对另一台服务器意味着什么?   java未选择案例时开关的工作方式   java组织。openqa。硒。SessionNotCreatedException:无法创建新的远程会话。在emulator中初始化安卓驱动程序时   JavaSWT父和子对话框通信   java请确保java_HOME指向JDK而不是JRE   java用户即使在成功登录后也是匿名的   java控制器单元测试无法自动连接所需的bean   Java小程序类文件