博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
关于LittleSis网站数据API的简单整理
阅读量:7022 次
发布时间:2019-06-28

本文共 1265 字,大约阅读时间需要 4 分钟。

最近在做一个简单的社会关系展示,用到网站的数据。

该网站提供了美国一些公众人物的社会关系数据,网站本身提供数据的下载,前提是需要注册一个Key,每个Key每天限制下载数10000。

 

具体的文档在:

 

花了一下午时间,简单的阅读了下相关的文档,整理了一些基本的应用:

一、获取一个实体的简单信息:

二、获取一个实体的详细信息:

三、批量获取指定实体的详细信息:

参数说明:

1、参数ids指定需要查询的实体编号;

2、参数details指定是否返回该实体的详细信息。

四、获取指定实体的关系信息:

参数说明:

1、参数cat_ids指定需要查询哪种类型的关系,由以下xml文件来说明:

五、获取指定实体(组织)的管理层信息:

六、获取指定实体(个人)所执掌的企业信息:

For people, you can make a request for just the organizations of which they are executives and board members.

七、获取指定实体所隶属的Lists信息:

八、获取指定实体的子组织信息:

Request a list of Entities that are suborganizations of the given Entity

九、获取指定实体的一组图片信息:

Request the profile image for a given Entity with . If no profile image is set, a blank response with a 404 status will be returned.

十、搜索指定条件的实体信息:

The resource for searching for Entities by text accepts paging parameters plus three others. The "q" parameter is required and specifies the text to match. The search text can contain multiple terms separated by spaces; terms less than two characters long will be ignored. By default, Entity names and Aliases will be searched. If an optional "search_all" parameter has a value of 1, an Entity's description and summary will also be searched. The optional "type_ids" parameter limits the search results to Entities with one of the specified types.

转载地址:http://rdbxl.baihongyu.com/

你可能感兴趣的文章
缓冲区溢出(二)
查看>>
js高级程序设计笔记(13章)
查看>>
Nginx安装PHP-FPM及优化
查看>>
Zabbix 3.2 监控部署
查看>>
seekBar,RatingBar拖动条
查看>>
JavaScript原型、原型链和继承
查看>>
git错误集
查看>>
谷歌深度学习公开课任务 1: notMNIST
查看>>
java锁的理解
查看>>
本地连接已连接上,但电脑无法上网
查看>>
WinAPI: PolyPolygon - 绘制一组多边形
查看>>
MusicXML 3.0 (16) - 小音符
查看>>
我的友情链接
查看>>
局域网中彻底隐身
查看>>
慢慢琢磨JVM
查看>>
我的友情链接
查看>>
linux 使用SMTP代理发送邮件
查看>>
CISCO HSRP配置
查看>>
20个Linux命令及Linux终端的趣事
查看>>
TSMessages,非HUD风格的iOS提示框(附官方demo BUG修复方案)
查看>>