未提供项目描述
项目描述
Python United Congress API 客户端
目录
概述
这是一个 python API 客户端库,用于从美国国会和美国政府内部的一些其他部门收集数据。该库将使过滤请求更容易,并为您提供一个易于使用的工具来获取重要的公民数据,以用于广泛的分析。
设置
要安装库,请从终端运行以下命令。
pip install united-states-congress-python-api
要升级库,请从终端运行以下命令。
pip install --upgrade united-states-congress-python-api
用法
这是一个简单的示例,使用该congress库来提取批量数据源并为隐私法问题获取特定年份的批量数据。
from pprint import pprint
from congress.client import Congress
# Initialize the Congress Client.
congress_client = Congress()
# Grab the data sources.
data_sources = congress_client.data_sources()
pprint(data_sources)
# Grab the different resources from the Privacy Act Issuance.
pia_2017 = congress_client.privacy_act_issuances(file='2017')
pprint(pia_2017)
支持这些项目
Patreon:通过向我的Patreon 页面 捐款来帮助支持这个项目和未来的项目。我一直在为像你这样的人添加更多内容,不幸的是,有些 API 需要我支付月费。
YouTube: 如果您想观看我的更多内容,请随时访问我的 YouTube 频道Sigma Coding。
项目详情
关
united_states_congress_python_api- 0.0.2 -py3-none-any.whl 的哈希值
| 算法 | 哈希摘要 | |
|---|---|---|
| SHA256 | 68c2dbd1a189cb7139c42952094f56c549a8c5fb07cb2222f22af239ddd5ddca |
|
| MD5 | 16be0358ce754b9766c08fe236bc67cd |
|
| 布莱克2-256 | 7ff03c4637b8f9d80100ee8346a1ccc0967b42fcf7f7db81c23b9c995f7ecc7b |