代码之家  ›  专栏  ›  技术社区  ›  Luke Lowrey

Google reader API获取单个项目

  •  2
  • Luke Lowrey  · 技术社区  · 15 年前

    1 回复  |  直到 15 年前
        1
  •  8
  •   Mihai Parparita    15 年前

    你可以用POST来 http://www.google.com/reader/api/0/stream/items/contents 使用i=作为输入(可以重复i=参数以获取多个项目内容)。

    下面是一个示例curl调用:

    $ curl -d "i=tag:google.com,2005:reader/item/1bab1bbe8a8ad82f" http://www.google.com/reader/api/0/stream/items/contents
    {"direction":"ltr","id":"feed/http://googlereader.blogspot.com/atom.xml","title":"Official Google Reader Blog","description":"News, tips and tricks from the Google reader team.","self":[{"href":"http://www.google.com/reader/api/0/stream/items/contents"}],"alternate":[{"href":"http://googlereader.blogspot.com/","type":"text/html"}],"updated":1275437593,"items":[{"crawlTimeMsec":"1275437593933","id":"tag:google.com,2005:reader/item/1bab1bbe8a8ad82f","categories":[],"title":"Folder and tag renaming",
    

    推荐文章