开放科隆API客户端
okclient的Python项目详细描述
这是一个平台,可以灵活地访问Cologne市/德国市议会信息系统的内容。pip install okclient
**快速启动**
import okclient
oc=okclient.Client()
doc.title
检索标识符为“3323/2008”的文档
包括附件和缩略图
result=oc.documents(“3323/2008”,attachments=true,
缩略图=true)
打印结果[0].date,结果[0].title
打印结果[0].attachments[0].url
打印结果[0].attachments[0].content
distance)=街道
打印%s在%d米之外“%(名称,距离)
节点
**反馈**
欢迎通过https://github.com/marians/ok python客户端的问题跟踪提供反馈。
**请继续关注**
通过跟踪我们在github上的
提交,随时了解此客户端和api中的更改(请参阅上面的url)。阅读我们的博客和/或关注Twitter账户。
http://blog.offeneskoeln.de/
https://twitter.com/offeneskoeln
**快速启动**
import okclient
oc=okclient.Client()
doc.title
检索标识符为“3323/2008”的文档
包括附件和缩略图
result=oc.documents(“3323/2008”,attachments=true,
缩略图=true)
打印结果[0].date,结果[0].title
打印结果[0].attachments[0].url
打印结果[0].attachments[0].content
distance)=街道
打印%s在%d米之外“%(名称,距离)
节点
**反馈**
欢迎通过https://github.com/marians/ok python客户端的问题跟踪提供反馈。
**请继续关注**
通过跟踪我们在github上的
提交,随时了解此客户端和api中的更改(请参阅上面的url)。阅读我们的博客和/或关注Twitter账户。
http://blog.offeneskoeln.de/
https://twitter.com/offeneskoeln