完整instapaper api的python包装器。

readwise-pyinstapaper的Python项目详细描述


https://travis-ci.org/mdorn/pyinstapaper.svghttps://img.shields.io/pypi/v/pyinstapaper.svg

Instapaper是一个保存网页以便以后阅读的工具,例如在 移动设备。pyinstapaper是用于full Instapaper API的python包装器。

要使用它,除了您的Instapaper帐户用户名和密码, 您需要从Instapaper请求API凭据。

用法

frompyinstapaper.instapaperimportInstapaper,FolderINSTAPAPER_KEY='MY_INSTAPAPER_API_KEY'INSTAPAPER_SECRET='MY_INSTAPAPER_API_SECRET'INSTAPAPER_LOGIN='me@example.com'INSTAPAPER_PASSWORD='p@ssw0rd'instapaper=Instapaper(INSTAPAPER_KEY,INSTAPAPER_SECRET)instapaper.login(INSTAPAPER_LOGIN,INSTAPAPER_PASSWORD)# Get the 10 latest instapaper bookmarks for the given account and do# something with the article textbookmarks=instapaper.get_bookmarks('starred')forbookmarkinenumerate(bookmarks):do_something(bookmark.get_text())bookmark.archive()# Create a new folderfolder=Folder(instapaper,title='cool stuff')result=folder.add()

安装

要安装pyinstapaper,只需:

pip install pyinstapaper

其他信息

历史

0.1.0(2015-09-26)

  • pypi上的第一个版本。

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

推荐PyPI第三方库


热门话题
java窗口。位置和窗口。公开问题   java如何从存储在ArrayList<Node>中的动态生成的文本字段中获取文本?   java如何立即关闭InputStream?   如何重新启动Java程序以激活环境变量   java搜索字符串是否相差一个字符   java CFB模式输出与CTR输出相同;我做错什么了吗?   java如何在javaFX中将实例化对象添加到Stage   java如何在jtextarea上打印来自不同类的文本消息   java以编程方式确定IOException的原因?   限制Java NIO通道(文件或socket)中的可用内容   javajaxb与JDOM:是否可以使用JAXB更新xml文件   批处理文件到java测试   JavaFX:stage的作用是什么。可设置大小(false)是否会导致额外的页边距?   java有没有办法告诉IntelliJ按需堆叠参数?   java Seam会话范围的组件在下一个请求中消失   java Google Web Toolkit对开发复杂的java脚本有用吗?   安卓 studio java ArrayList正在检索最高值   java为什么递归地用随机数填充LinkedList时会出现StackOverflowException?