miniPrograms(豆瓣API)

根据ID获取电影详情

 https://api.douban.com/v2/movie/subject/1764796

获取到的数据为json格式

{"rating": {"max": 10, "average": 7.4, "stars": "40", "min": 0}, "reviews_count": 299, "wish_count": 15461, "douban_site": "", "year": "2009", "images": {"small": "https://img1.doubanio.com\/view\/movie_poster_cover\/ipst\/public\/p494268647.webp", "large": "https://img1.doubanio.com\/view\/movie_poster_cover\/lpst\/public\/p494268647.webp", "medium": "https://img1.doubanio.com\/view\/movie_poster_cover\/spst\/public\/p494268647.webp"}, "alt": "https:\/\/movie.douban.com\/subject\/1764796\/", "id": "1764796", "mobile_url": "https:\/\/movie.douban.com\/subject\/1764796\/mobile", "title": "\u673a\u5668\u4eba9\u53f7", "do_count": null, "share_url": "https:\/\/m.douban.com\/movie\/subject\/1764796", "seasons_count": null, "schedule_url": "", "episodes_count": null, "countries": ["\u7f8e\u56fd"], "genres": ["\u52a8\u753b", "\u5192\u9669", "\u5947\u5e7b"], "collect_count": 73234, "casts": [{"alt": "https:\/\/movie.douban.com\/celebrity\/1054395\/", "avatars": {"small": "https://img1.doubanio.com\/img\/celebrity\/small\/51597.jpg", "large": "https://img1.doubanio.com\/img\/celebrity\/large\/51597.jpg", "medium": "https://img1.doubanio.com\/img\/celebrity\/medium\/51597.jpg"}, "name": "\u4f0a\u5229\u4e9a\u00b7\u4f0d\u5fb7", "id": "1054395"}, {"alt": "https:\/\/movie.douban.com\/celebrity\/1016673\/", "avatars": {"small": "https://img3.doubanio.com\/img\/celebrity\/small\/3996.jpg", "large": "https://img3.doubanio.com\/img\/celebrity\/large\/3996.jpg", "medium": "https://img3.doubanio.com\/img\/celebrity\/medium\/3996.jpg"}, "name": "\u8a79\u59ae\u5f17\u00b7\u5eb7\u7eb3\u5229", "id": "1016673"}, {"alt": "https:\/\/movie.douban.com\/celebrity\/1017907\/", "avatars": {"small": "https://img3.doubanio.com\/img\/celebrity\/small\/55994.jpg", "large": "https://img3.doubanio.com\/img\/celebrity\/large\/55994.jpg", "medium": "https://img3.doubanio.com\/img\/celebrity\/medium\/55994.jpg"}, "name": "\u7ea6\u7ff0\u00b7C\u00b7\u8d56\u5229", "id": "1017907"}, {"alt": "https:\/\/movie.douban.com\/celebrity\/1036321\/", "avatars": {"small": "https://img3.doubanio.com\/img\/celebrity\/small\/42033.jpg", "large": "https://img3.doubanio.com\/img\/celebrity\/large\/42033.jpg", "medium": "https://img3.doubanio.com\/img\/celebrity\/medium\/42033.jpg"}, "name": "\u514b\u91cc\u65af\u6258\u5f17\u00b7\u666e\u5362\u9ed8", "id": "1036321"}], "current_season": null, "original_title": "9", "summary": "\u673a\u5668\u4eba9\u53f7\uff08\u4f0a\u5229\u4e9a\u2022\u4f0d\u5fb7 Elijah Wood \u9970\uff09\u7a81\u7136\u9192\u6765\uff0c\u53d1\u73b0\u8eab\u8fb9\u7684\u4e16\u754c\u5145\u6ee1\u5371\u673a\uff0c\u56db\u5904\u6b8b\u8d25\uff0c\u4e00\u7247\u672b\u4e16\u666f\u8c61\u30029\u53f7\u5e26\u7740\u4e00\u4e2a\u753b\u6709\u4e09\u4e2a\u5947\u602a\u7b26\u53f7\u7684\u5706\u5f62\u7269\u4f53\u9003\u5230\u8857\u4e0a\uff0c\u5e78\u9047\u53d1\u660e\u5bb6\u673a\u5668\u4eba2\u53f7\uff08\u9a6c\u4e01\u2022\u5170\u9053 Martin Landau \u9970\uff09\u7ed9\u81ea\u5df1\u88c5\u4e0a\u4e86\u58f0\u97f3\uff0c\u4f462\u53f7\u5374\u4e0d\u5e78\u88ab\u673a\u5668\u602a\u517d\u6293\u8d70\u30029\u53f7\u627e\u5230\u4e86\u8001\u51751\u53f7\uff08\u514b\u91cc\u65af\u6258\u5f17\u2022\u666e\u5362\u9ed8 Christopher Plummer \u9970\uff09\u3001\u673a\u68b0\u5de55\u53f7\uff08\u7ea6\u7ff0\u2022\u96f7\u5229 John C. Reilly \u9970\uff09\u3001\u75af\u766b\u753b\u5bb66\u53f7\uff08\u514b\u91cc\u65af\u54c1\u2022\u683c\u62c9\u592b Crispin Glover \u9970\uff09\u548c\u5927\u529b\u58eb8\u53f7\uff08\u5f17\u96f7\u5fb7\u2022\u5854\u5854\u7ecd\u5c14 Fred Tatasciore \u9970\uff09\u30029\u53f7\u4e0e5\u53f7\u64c5\u81ea\u51fa\u884c\u63f4\u65512\u53f7\uff0c\u5371\u6025\u65f6\u88ab\u5973\u6b66\u58eb7\u53f7\uff08\u8a79\u59ae\u4f5b\u2022\u5eb7\u7eb3\u5229 Jennifer Connelly \u9970\uff09\u6551\u4e0b\uff0c\u4f46\u65e0\u610f\u4e2d9\u53f7\u5374\u4ee4\u7ec8\u6781\u673a\u5668\u517d\u590d\u6d3b\u3002\u5e26\u7740\u81ea\u5df1\u4ece\u54ea\u91cc\u6765\u4ee5\u53ca\u751f\u5b58\u4f7f\u547d\u7684\u95ee\u9898\uff0c9\u53f7\u51b3\u5b9a\u60f3\u5c3d\u529e\u6cd5\u5236\u670d\u673a\u5668\u517d\uff0c\u62ef\u6551\u5168\u4e16\u754c\u2026\u2026\u00a9\u8c46\u74e3", "subtype": "movie", "directors": [{"alt": "https:\/\/movie.douban.com\/celebrity\/1276787\/", "avatars": {"small": "https://img3.doubanio.com\/img\/celebrity\/small\/1351678808.44.jpg", "large": "https://img3.doubanio.com\/img\/celebrity\/large\/1351678808.44.jpg", "medium": "https://img3.doubanio.com\/img\/celebrity\/medium\/1351678808.44.jpg"}, "name": "\u7533\u00b7\u963f\u514b", "id": "1276787"}], "comments_count": 11830, "ratings_count": 58804, "aka": ["9\uff1a\u672b\u4e16\u51b3\u6218", "\u4e5d", "Number 9", "\u673a\u5668\u4eba9\u53f7"]}

json在线解析后结果

{
    "rating": {
        "max": 10,
        "average": 7.5,
        "stars": "40",
        "min": 0
    },
    "reviews_count": 612,
    "wish_count": 16696,
    "douban_site": "",
    "year": "2017",
    "images": {
        "small": "https://img1.doubanio.com/view/movie_poster_cover/ipst/public/p2499793218.webp",
        "large": "https://img1.doubanio.com/view/movie_poster_cover/lpst/public/p2499793218.webp",
        "medium": "https://img1.doubanio.com/view/movie_poster_cover/spst/public/p2499793218.webp"
    },
    "alt": "https://movie.douban.com/subject/27038183/",
    "id": "27038183",
    "mobile_url": "https://movie.douban.com/subject/27038183/mobile",
    "title": "羞羞的铁拳",
    "do_count": null,
    "share_url": "https://m.douban.com/movie/subject/27038183",
    "seasons_count": null,
    "schedule_url": "https://movie.douban.com/subject/27038183/cinema/",
    "episodes_count": null,
    "countries": [
        "中国大陆"
    ],
    "genres": [
        "喜剧"
    ],
    "collect_count": 71058,
    "casts": [
        {
            "alt": "https://movie.douban.com/celebrity/1350408/",
            "avatars": {
                "small": "https://img3.doubanio.com/img/celebrity/small/1437031126.82.jpg",
                "large": "https://img3.doubanio.com/img/celebrity/large/1437031126.82.jpg",
                "medium": "https://img3.doubanio.com/img/celebrity/medium/1437031126.82.jpg"
            },
            "name": "艾伦",
            "id": "1350408"
        },
        {
            "alt": "https://movie.douban.com/celebrity/1319032/",
            "avatars": {
                "small": "https://img3.doubanio.com/img/celebrity/small/1444800807.11.jpg",
                "large": "https://img3.doubanio.com/img/celebrity/large/1444800807.11.jpg",
                "medium": "https://img3.doubanio.com/img/celebrity/medium/1444800807.11.jpg"
            },
            "name": "马丽",
            "id": "1319032"
        },
        {
            "alt": "https://movie.douban.com/celebrity/1325700/",
            "avatars": {
                "small": "https://img1.doubanio.com/img/celebrity/small/1356510694.28.jpg",
                "large": "https://img1.doubanio.com/img/celebrity/large/1356510694.28.jpg",
                "medium": "https://img1.doubanio.com/img/celebrity/medium/1356510694.28.jpg"
            },
            "name": "沈腾",
            "id": "1325700"
        },
        {
            "alt": "https://movie.douban.com/celebrity/1316331/",
            "avatars": {
                "small": "https://img3.doubanio.com/img/celebrity/small/50212.jpg",
                "large": "https://img3.doubanio.com/img/celebrity/large/50212.jpg",
                "medium": "https://img3.doubanio.com/img/celebrity/medium/50212.jpg"
            },
            "name": "田雨",
            "id": "1316331"
        }
    ],
    "current_season": null,
    "original_title": "羞羞的铁拳",
    "summary": "靠打假拳混日子的艾迪生(艾伦 饰),本来和正义感十足的体育记者马小(马丽 饰)是一对冤家,没想到因为一场意外的电击,男女身体互换。性别错乱后,两人互坑互害,引发了拳坛的大地震,也揭开了假拳界的秘密,惹来一堆麻烦,最终两人在“卷莲门”副掌门张茱萸(沈腾 饰)的指点下,向恶势力挥起了羞羞的铁拳。",
    "subtype": "movie",
    "directors": [
        {
            "alt": "https://movie.douban.com/celebrity/1350407/",
            "avatars": {
                "small": "https://img3.doubanio.com/img/celebrity/small/1437031175.04.jpg",
                "large": "https://img3.doubanio.com/img/celebrity/large/1437031175.04.jpg",
                "medium": "https://img3.doubanio.com/img/celebrity/medium/1437031175.04.jpg"
            },
            "name": "宋阳",
            "id": "1350407"
        },
        {
            "alt": "https://movie.douban.com/celebrity/1381643/",
            "avatars": {
                "small": "https://img3.doubanio.com/img/celebrity/small/1506162881.51.jpg",
                "large": "https://img3.doubanio.com/img/celebrity/large/1506162881.51.jpg",
                "medium": "https://img3.doubanio.com/img/celebrity/medium/1506162881.51.jpg"
            },
            "name": "张吃鱼",
            "id": "1381643"
        }
    ],
    "comments_count": 37447,
    "ratings_count": 69015,
    "aka": [
        "Never Say Die"
    ]
}
最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
  • 序言:七十年代末,一起剥皮案震惊了整个滨河市,随后出现的几起案子,更是在滨河造成了极大的恐慌,老刑警刘岩,带你破解...
    沈念sama阅读 211,265评论 6 490
  • 序言:滨河连续发生了三起死亡事件,死亡现场离奇诡异,居然都是意外死亡,警方通过查阅死者的电脑和手机,发现死者居然都...
    沈念sama阅读 90,078评论 2 385
  • 文/潘晓璐 我一进店门,熙熙楼的掌柜王于贵愁眉苦脸地迎上来,“玉大人,你说我怎么就摊上这事。” “怎么了?”我有些...
    开封第一讲书人阅读 156,852评论 0 347
  • 文/不坏的土叔 我叫张陵,是天一观的道长。 经常有香客问我,道长,这世上最难降的妖魔是什么? 我笑而不...
    开封第一讲书人阅读 56,408评论 1 283
  • 正文 为了忘掉前任,我火速办了婚礼,结果婚礼上,老公的妹妹穿的比我还像新娘。我一直安慰自己,他们只是感情好,可当我...
    茶点故事阅读 65,445评论 5 384
  • 文/花漫 我一把揭开白布。 她就那样静静地躺着,像睡着了一般。 火红的嫁衣衬着肌肤如雪。 梳的纹丝不乱的头发上,一...
    开封第一讲书人阅读 49,772评论 1 290
  • 那天,我揣着相机与录音,去河边找鬼。 笑死,一个胖子当着我的面吹牛,可吹牛的内容都是我干的。 我是一名探鬼主播,决...
    沈念sama阅读 38,921评论 3 406
  • 文/苍兰香墨 我猛地睁开眼,长吁一口气:“原来是场噩梦啊……” “哼!你这毒妇竟也来了?” 一声冷哼从身侧响起,我...
    开封第一讲书人阅读 37,688评论 0 266
  • 序言:老挝万荣一对情侣失踪,失踪者是张志新(化名)和其女友刘颖,没想到半个月后,有当地人在树林里发现了一具尸体,经...
    沈念sama阅读 44,130评论 1 303
  • 正文 独居荒郊野岭守林人离奇死亡,尸身上长有42处带血的脓包…… 初始之章·张勋 以下内容为张勋视角 年9月15日...
    茶点故事阅读 36,467评论 2 325
  • 正文 我和宋清朗相恋三年,在试婚纱的时候发现自己被绿了。 大学时的朋友给我发了我未婚夫和他白月光在一起吃饭的照片。...
    茶点故事阅读 38,617评论 1 340
  • 序言:一个原本活蹦乱跳的男人离奇死亡,死状恐怖,灵堂内的尸体忽然破棺而出,到底是诈尸还是另有隐情,我是刑警宁泽,带...
    沈念sama阅读 34,276评论 4 329
  • 正文 年R本政府宣布,位于F岛的核电站,受9级特大地震影响,放射性物质发生泄漏。R本人自食恶果不足惜,却给世界环境...
    茶点故事阅读 39,882评论 3 312
  • 文/蒙蒙 一、第九天 我趴在偏房一处隐蔽的房顶上张望。 院中可真热闹,春花似锦、人声如沸。这庄子的主人今日做“春日...
    开封第一讲书人阅读 30,740评论 0 21
  • 文/苍兰香墨 我抬头看了看天上的太阳。三九已至,却和暖如春,着一层夹袄步出监牢的瞬间,已是汗流浃背。 一阵脚步声响...
    开封第一讲书人阅读 31,967评论 1 265
  • 我被黑心中介骗来泰国打工, 没想到刚下飞机就差点儿被人妖公主榨干…… 1. 我叫王不留,地道东北人。 一个月前我还...
    沈念sama阅读 46,315评论 2 360
  • 正文 我出身青楼,却偏偏与公主长得像,于是被迫代替她去往敌国和亲。 传闻我的和亲对象是个残疾皇子,可洞房花烛夜当晚...
    茶点故事阅读 43,486评论 2 348

推荐阅读更多精彩内容

  • Spring Cloud为开发人员提供了快速构建分布式系统中一些常见模式的工具(例如配置管理,服务发现,断路器,智...
    卡卡罗2017阅读 134,629评论 18 139
  • Android 自定义View的各种姿势1 Activity的显示之ViewRootImpl详解 Activity...
    passiontim阅读 171,749评论 25 707
  • 发现 关注 消息 iOS 第三方库、插件、知名博客总结 作者大灰狼的小绵羊哥哥关注 2017.06.26 09:4...
    肇东周阅读 12,059评论 4 62
  • Leaderjs阅读 148评论 0 0
  • 数学老师正在讲题时正在做英语作业的同桌突然拍了我一下,说,旺哥你监督我吧,监督我要好好学习,然后我就点了点头,再后...
    踏步阅读 211评论 1 1