miniflux api的客户端库

miniflux的Python项目详细描述


https://travis-ci.org/miniflux/python-client.svg?branch=masterhttps://badge.fury.io/py/miniflux.svg

用于miniflux api的python客户端库。

依赖关系

  • 微通量=2.x
  • python=3.6
  • 请求

安装

pip install miniflux

运行测试

pip install tox
tox

用法示例

importminifluxclient=miniflux.Client("https://miniflux.example.org","my_username","my_secret_password")# Get all feedsfeeds=client.get_feeds()# Refresh a feedclient.refresh_feed(123)# Discover subscriptions from a websitesubscriptions=client.discover("https://example.org")# Create a new feed, with a personalized user agent and with the crawler enabledfeed_id=client.create_feed("http://example.org/feed.xml",42,crawler=True,user_agent="GoogleBot")# Fetch 10 starred entriesentries=client.get_entries(starred=True,limit=10)# Fetch last 5 feed entriesfeed_entries=client.get_feed_entries(123,direction='desc',order='published_at',limit=5)# Update a feed categoryclient.update_feed(123,category_id=456)# OPML Exportopml=client.export()

作者

弗里德里克·吉洛特

许可证

这个图书馆是在麻省理工学院的许可下发行的。

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

推荐PyPI第三方库


热门话题
java Jboss LinkageError:加载程序约束冲突:解析重写的方法时   java Struts 1:如何使用表单bean设置<html:multibox/>值?   使用Fortify将字段设置为Null时的Java Null取消引用   用java对连接字符的图像进行分割   java无法使用Quarkus模拟,NullPointer异常,无法找到相关导入   html试图使iframe垫片与Java小程序上的CSS下拉菜单一起工作   java无法获取Base64。decodeBase64正常工作(Commons编解码器)   java为什么我不能通过点击打开jar文件?   java当用户第一次使用预先填充的sqlite数据库时,安卓应用程序如何添加新的列或表?   在tomcat中安装java GoDaddy SSL证书。。。没有与私钥匹配的证书   java试图实现一些伪代码、算法   java如何读取其他按钮id,避免所有转到第一个按钮   java使用单个   oop为什么Java Map不扩展集合?