在当地图书馆找书
bibliophile的Python项目详细描述
藏书后台
这是一个基于Python的工具,用于在本地图书馆查找书籍。在
它从中解析你的“要读”列表Goodreads.com网站并检查哪些项目 你可以选择一个图书馆。在
要找图形用户界面吗?在
通过命令行在本地使用该工具所需的全部信息就是这个存储库。 有关基于web的用户界面,请参见Bibliophile。在
我能用这个吗?在
如果你住在190个公共图书馆的附近 系统,那么运行这个软件应该对你有用。它依赖于 无证API,因此您的里程数可能会有所不同。在
- 在 在
- 在
获取您的Goodreads用户id
在 - 在
[可选]在
.bashrc
中设置这两个值exportGOODREADS_USER_ID=123456789exportGOODREADS_DEV_KEY=whatever-your-actual-key-is
在 - 在 在
- 在
执行脚本!在
^{pr2}$ 在
确保遵守Goodreads' API的条款,并且 玩得高兴。在
其他选项
您可以选择只显示本地分支机构提供的标题,请选择“标题”
从另一个Goodreads工具架等,通过--help
查看所有选项:
usage: lookup.py [-h] [--branch BRANCH] [--shelf SHELF] [--biblio BIBLIO]
[--csv CSV]
[user_id] [dev_key]
See which books you want to read are available at your local library.
positional arguments:
user_id User's ID on Goodreads
dev_key Goodreads developer key. See https://www.goodreads.com/api
optional arguments:
-h, --help show this help message and exit
--branch BRANCH Only show titles available at this branch. e.g. 'Fremont
Branch'
--shelf SHELF Name of the shelf containing desired books
--biblio BIBLIO subdomain of bibliocommons.com (seattle, vpl, etc.)
--csv CSV Output results to a CSV of this name.
基于云的部署
这也可以作为Lambda函数在AWS中部署。 有关说明,请参阅Bibliophile README。在
- 项目
标签: