知乎日报-API

1、详细请参考

2、部分例子

{
"date":"20140621",
"stories":[{
"title":"眼花缭乱的时装周上,眼睛不能只盯着模特",
"share_url":"http://daily.zhihu.com/story/3980042",
"ga_prefix":"062120",
"images":["http://p3.zhimg.com/24/7b/247bcebba402d03c48a036f97f65c7de.jpg"],
"type":0,
"id":3980042},, ... ], "top_stories":[{
"title":"为什么今天很多人照相喜欢摆 V 手势?",
"image":"http://p2.zhimg.com/55/c3/55c3296b5fb9bcc68c938242e4da8994.jpg",
"share_url":"http://daily.zhihu.com/story/3983436",
"ga_prefix":"062118",
"type":0,
"id":3983436},, ... ]
}

date : 日期
stories : 当日新闻
title : 新闻标题
image : 图像地址
share_ur: 供在线查看内容与分享至 SNS 用的 URL
ga_prefix : 供 Google Analytics 使用
内容获取
{ 
  date: "20140620", 
  stories: [ 
  { 
    title: "深夜食堂 · 两小无猜", 
    share_url: "http://daily.zhihu.com/story/3985504", 
    ga_prefix: "062022", 
    images: [ "http://p3.zhimg.com/61/87/61879fc578db3f8f61d18c55d3dc8984.jpg" ], 
    type: 0, 
    id: 3985504 
  }, ... ]
}
{
    "body": ...,
    "image_source": "SIGitas MATulis / CC BY-SA",
    "title": "为什么今天很多人照相喜欢摆 V 手势?",
    "image": "http://p2.zhimg.com/55/c3/55c3296b5fb9bcc68c938242e4da8994.jpg",
    "share_url": "http://daily.zhihu.com/story/3983436",
    "js": 
    [
      "http://news-at.zhihu.com/js/story.js?v=97942"
    ],
    "ga_prefix": "062118",
    "type": ​0,
    "id": ​3983436,
    "css": 
    [
        "http://news-at.zhihu.com/css/news_qa.auto.css?v=77778"
    ]
}
{
  "recent": [
  {
      "news_id": ​8095363,
      "url": "http://news-at.zhihu.com/api/2/news/8095363",
      "thumbnail": "http://pic1.zhimg.com/fee362f30fe8740e5b6cf7acb9b1d520.jpg",
      "title": "公务员体检为什么要检查肛门?"
  }, ...]
}
{
    "text": "© 许英龙",
    "img": "https://pic3.zhimg.com/2d16f25c61e0323babf2f8ff5eb94d9f.jpg"
}
{
    "limit": ​1000,
    "subscribed": [ ],
    "others": [
      {
        "color": ​15007,
        "thumbnail": "http://pic3.zhimg.com/0e71e90fd6be47630399d63c58beebfc.jpg",
        "description": "了解自己和别人,了解彼此的欲望和局限。",
        "id": ​13,
        "name": "日常心理学"
},...]
{
    "stories": [
    {
        "images": 
        [
            "http://pic2.zhimg.com/878b8960b617bfb4721a103e24a0509d.jpg"
        ],
        "type": ​0,
        "id": ​7785695,
        "title": "Necromanov:分裂红海:辐射4的喧嚣和争议"
    }, ...],
    "description": "如果你喜欢游戏,就从这里开始",
    "background": "http://p2.zhimg.com/55/e0/55e06f8fe322fd87b3261b204bae4786.jpg",
    "color": ​59647,
    "name": "开始游戏",
    "image": "http://p3.zhimg.com/64/5c/645cde143c9a371005f3f749366cffad.jpg",
    editors": [
    {
        "url": "http://www.zhihu.com/people/necromanov",
        "bio": "战略航空军旗舰的元帅",
        "id": ​3,
        "avatar": "http://pic4.zhimg.com/3553d57db_m.jpg",
        "name": "Necromanov"
    }, ...]
    "image_source": ""
}
Copyright © 翻这个墙 2016 all right reserved,powered by Gitbook该文件修订时间: 2016-04-06 21:05:53