Google Reader API Unread Count
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: Does Google Reader have an API and if so, how can I get the count of the number of unread posts for a specific user knowing their username and password? 回答1: This URL will give you a count of unread posts per feed. You can then iterate over the feeds and sum up the counts. http://www.google.com/reader/api/0/unread-count?all=true Here is a minimalist example in Python...parsing the xml/json and summing the counts is left as an exercise for the reader: import urllib import urllib2 username = 'username@gmail.com' password = '******' #