【分享】利用豆瓣API按照关键词或TAG搜索图书信息

搜索图书

GET https://api.douban.com/v2/book/search

参数 意义 备注
q 查询关键字 q和tag必传其一
tag 查询的tag q和tag必传其一
start 取结果的offset 默认为0
count 取结果的条数 默认为20,最大为100

 

 

 

举例:https://api.douban.com/v2/book/search?q=riyu
返回:

{
    "count": 15,
    "start": 0,
    "total": 15,
    "books": [
        {
            "rating": {
                "max": 10,
                "numRaters": 0,
                "average": "0.0",
                "min": 0
            },
            "subtitle": "",
            "author": [
                "Yamakami, Riyu"
            ],
            "pubdate": "2011-5",
            "tags": [],
            "origin_title": "",
            "image": "http://img3.douban.com/mpic/s6744167.jpg",
            "binding": "",
            "translator": [],
            "catalog": "",
            "pages": "200",
            "images": {
                "small": "http://img3.douban.com/spic/s6744167.jpg",
                "large": "http://img3.douban.com/lpic/s6744167.jpg",
                "medium": "http://img3.douban.com/mpic/s6744167.jpg"
            },
            "alt": "http://book.douban.com/subject/6690827/",
            "id": "6690827",
            "publisher": "",
            "isbn10": "1569701202",
            "isbn13": "9781569701201",
            "title": "Treasure",
            "url": "http://api.douban.com/v2/book/6690827",
            "alt_title": "",
            "author_intro": "",
            "summary": "Satoshi is almost too perfect. He's smart, good looking, and has everything one can ask for. It's not often that you get to meet someone like this, especially for someone like Naoyuki, a naive boy from the conservative countryside. Naoyuki is always nervous and apprehensive about moving forward in his relationship with Satoshi. Just as they thought things are going well for them, Satoshi's ex-boyfriend shows up - and starts rattling his cage and causing trouble.",
            "price": "$ 14.63"
        },
        {
            "rating": {
                "max": 10,
                "numRaters": 0,
                "average": "0.0",
                "min": 0
            },
            "subtitle": "",
            "author": [
                "Riyu Yamakami"
            ],
            "pubdate": "2010-11-30",
            "tags": [],
            "origin_title": "",
            "image": "http://img3.douban.com/mpic/s5554676.jpg",
            "binding": "Paperback",
            "translator": [],
            "catalog": "",
            "pages": "200",
            "images": {
                "small": "http://img3.douban.com/spic/s5554676.jpg",
                "large": "http://img3.douban.com/lpic/s5554676.jpg",
                "medium": "http://img3.douban.com/mpic/s5554676.jpg"
            },
            "alt": "http://book.douban.com/subject/6294279/",
            "id": "6294279",
            "publisher": "Digital Manga Publishing",
            "isbn10": "1569701199",
            "isbn13": "9781569701195",
            "title": "Treasure",
            "url": "http://api.douban.com/v2/book/6294279",
            "alt_title": "",
            "author_intro": "",
            "summary": "",
            "price": "USD 12.95"
        },
        {
            "rating": {
                "max": 10,
                "numRaters": 0,
                "average": "0.0",
                "min": 0
            },
            "subtitle": "",
            "author": [
                "Suginuma, Yasuna; Yamakami, Riyu; Yamakami, Riyu"
            ],
            "pubdate": "",
            "tags": [],
            "origin_title": "",
            "image": "http://img3.douban.com/mpic/s8358082.jpg",
            "binding": "",
            "translator": [],
            "catalog": "",
            "pages": "200",
            "images": {
                "small": "http://img3.douban.com/spic/s8358082.jpg",
                "large": "http://img3.douban.com/lpic/s8358082.jpg",
                "medium": "http://img3.douban.com/mpic/s8358082.jpg"
            },
            "alt": "http://book.douban.com/subject/7159436/",
            "id": "7159436",
            "publisher": "",
            "isbn10": "1569702578",
            "isbn13": "9781569702574",
            "title": "Depression of the Anti-Romanticist",
            "url": "http://api.douban.com/v2/book/7159436",
            "alt_title": "",
            "author_intro": "",
            "summary": "",
            "price": "$ 14.63"
        },
        {
            "rating": {
                "max": 10,
                "numRaters": 0,
                "average": "0.0",
                "min": 0
            },
            "subtitle": "",
            "author": [
                "1885, Abka-Riyu-S Iskandar Ibn Ya?qu"
            ],
            "pubdate": "",
            "tags": [],
            "origin_title": "",
            "image": "http://img3.douban.com/mpic/s26464804.jpg",
            "binding": "",
            "translator": [],
            "catalog": "",
            "pages": "218",
            "images": {
                "small": "http://img3.douban.com/spic/s26464804.jpg",
                "large": "http://img3.douban.com/lpic/s26464804.jpg",
                "medium": "http://img3.douban.com/mpic/s26464804.jpg"
            },
            "alt": "http://book.douban.com/subject/24607899/",
            "id": "24607899",
            "publisher": "",
            "isbn10": "1313524395",
            "isbn13": "9781313524391",
            "title": "The Lebanon in Turmoil, Syria and the Powers in 1860; Book of the Marvels of the Time Concerning the Massacres in the Arab Country",
            "url": "http://api.douban.com/v2/book/24607899",
            "alt_title": "",
            "author_intro": "",
            "summary": "",
            "price": ""
        },
        {
            "rating": {
                "max": 10,
                "numRaters": 0,
                "average": "0.0",
                "min": 0
            },
            "subtitle": "",
            "author": [
                "Yamakami, Riyu"
            ],
            "pubdate": "2008-11",
            "tags": [],
            "origin_title": "",
            "image": "http://img3.douban.com/mpic/s6744200.jpg",
            "binding": "",
            "translator": [],
            "catalog": "",
            "pages": "200",
            "images": {
                "small": "http://img3.douban.com/spic/s6744200.jpg",
                "large": "http://img3.douban.com/lpic/s6744200.jpg",
                "medium": "http://img3.douban.com/mpic/s6744200.jpg"
            },
            "alt": "http://book.douban.com/subject/4420628/",
            "id": "4420628",
            "publisher": "",
            "isbn10": "1569705798",
            "isbn13": "9781569705797",
            "title": "Sighing Kiss",
            "url": "http://api.douban.com/v2/book/4420628",
            "alt_title": "",
            "author_intro": "",
            "summary": "The classic love triangle gets a new twist in this school-age love story. Tanabe likes Akira. Akira likes Tatsuya. And really no one knows who Tatsuya is lusting after! But when Akira decides that unrequited love isn't all that noble and responds to Tanabe's advances, Tatsuya confesses! Akira isn't sure which way is up let alone which way lies love!",
            "price": "$ 14.63"
        },
        {
            "rating": {
                "max": 10,
                "numRaters": 0,
                "average": "0.0",
                "min": 0
            },
            "subtitle": "",
            "author": [
                "Yamakami, Riyu"
            ],
            "pubdate": "2008-2",
            "tags": [],
            "origin_title": "",
            "image": "http://img3.douban.com/mpic/s5554764.jpg",
            "binding": "",
            "translator": [],
            "catalog": "",
            "pages": "200",
            "images": {
                "small": "http://img3.douban.com/spic/s5554764.jpg",
                "large": "http://img3.douban.com/lpic/s5554764.jpg",
                "medium": "http://img3.douban.com/mpic/s5554764.jpg"
            },
            "alt": "http://book.douban.com/subject/4377405/",
            "id": "4377405",
            "publisher": "",
            "isbn10": "1569707553",
            "isbn13": "9781569707555",
            "title": "Vanilla",
            "url": "http://api.douban.com/v2/book/4377405",
            "alt_title": "",
            "author_intro": "",
            "summary": "Things seemed to be finally working out between Ichiru and Saeki, but their bliss didn't last long. Ichiru is worried because Saeki doesn't seem to give the same importance to their love as he does, and after a huge argument, it looks like the two will break up! Is there no safe exit to this labyrinth of love?",
            "price": "$ 14.63"
        },
        {
            "rating": {
                "max": 10,
                "numRaters": 0,
                "average": "0.0",
                "min": 0
            },
            "subtitle": "",
            "author": [
                "Yamakami, Riyu"
            ],
            "pubdate": "2007-11",
            "tags": [],
            "origin_title": "",
            "image": "http://img4.douban.com/mpic/s5555208.jpg",
            "binding": "",
            "translator": [],
            "catalog": "",
            "pages": "200",
            "images": {
                "small": "http://img4.douban.com/spic/s5555208.jpg",
                "large": "http://img4.douban.com/lpic/s5555208.jpg",
                "medium": "http://img4.douban.com/mpic/s5555208.jpg"
            },
            "alt": "http://book.douban.com/subject/4370500/",
            "id": "4370500",
            "publisher": "",
            "isbn10": "1569707545",
            "isbn13": "9781569707548",
            "title": "Vanilla",
            "url": "http://api.douban.com/v2/book/4370500",
            "alt_title": "",
            "author_intro": "",
            "summary": "Morio is fascinated by his new high school teacher Saeki-sensei. Despite Saeki-sensei unsociable, cold and unfeeling attitude, Morio finds himself following his every move. But does Morio simply admire his new teacher, or does he desire something more...",
            "price": "$ 14.63"
        },
        {
            "rating": {
                "max": 10,
                "numRaters": 0,
                "average": "0.0",
                "min": 0
            },
            "subtitle": "",
            "author": [
                "Yamakami, Riyu"
            ],
            "pubdate": "2009-1",
            "tags": [],
            "origin_title": "",
            "image": "http://img3.douban.com/mpic/s5555090.jpg",
            "binding": "",
            "translator": [],
            "catalog": "",
            "pages": "200",
            "images": {
                "small": "http://img3.douban.com/spic/s5555090.jpg",
                "large": "http://img3.douban.com/lpic/s5555090.jpg",
                "medium": "http://img3.douban.com/mpic/s5555090.jpg"
            },
            "alt": "http://book.douban.com/subject/4448444/",
            "id": "4448444",
            "publisher": "",
            "isbn10": "1569700222",
            "isbn13": "9781569700228",
            "title": "Then Comes Love",
            "url": "http://api.douban.com/v2/book/4448444",
            "alt_title": "",
            "author_intro": "",
            "summary": "The beautiful Midori is antisocial; while Takahiro is immensely popular. Nevertheless, they continue to be fast friends. After an evening of heavy drinking at a party, Midori inadvertently outs the upperclassman Soeshima...and the two of them wind up going out! Midori knows that he can find safety in Takahiro's friendship, but will this wild, new relationship with Soeshima take precedence?",
            "price": "$ 14.63"
        },
        {
            "rating": {
                "max": 10,
                "numRaters": 0,
                "average": "0.0",
                "min": 0
            },
            "subtitle": "Morita Akio goroku de tokiakasu \"hitorigachi\" no riyu (Japanese Edition)",
            "author": [
                "Ryuichi Kunitomo"
            ],
            "pubdate": "1990",
            "tags": [],
            "origin_title": "",
            "image": "http://img3.douban.com/pics/book-default-medium.gif",
            "binding": "Hardcover",
            "translator": [],
            "catalog": "",
            "pages": "",
            "images": {
                "small": "http://img3.douban.com/pics/book-default-small.gif",
                "large": "http://img3.douban.com/pics/book-default-large.gif",
                "medium": "http://img3.douban.com/pics/book-default-medium.gif"
            },
            "alt": "http://book.douban.com/subject/4095029/",
            "id": "4095029",
            "publisher": "Ko Shobo",
            "isbn10": "4769603924",
            "isbn13": "9784769603924",
            "title": "Soni, kyoi no dokusoryoku no himitsu",
            "url": "http://api.douban.com/v2/book/4095029",
            "alt_title": "",
            "author_intro": "",
            "summary": "",
            "price": ""
        },
        {
            "rating": {
                "max": 10,
                "numRaters": 11,
                "average": "7.8",
                "min": 0
            },
            "subtitle": "初级",
            "author": [
                "宋国治"
            ],
            "pubdate": "2006-1",
            "tags": [
                {
                    "count": 13,
                    "name": "日语",
                    "title": "日语"
                },
                {
                    "count": 7,
                    "name": "日语学习",
                    "title": "日语学习"
                },
                {
                    "count": 6,
                    "name": "教材",
                    "title": "教材"
                },
                {
                    "count": 5,
                    "name": "日本",
                    "title": "日本"
                },
                {
                    "count": 4,
                    "name": "语言",
                    "title": "语言"
                },
                {
                    "count": 1,
                    "name": "riyu",
                    "title": "riyu"
                },
                {
                    "count": 1,
                    "name": "H36/59/.1[1]",
                    "title": "H36/59/.1[1]"
                }
            ],
            "origin_title": "",
            "image": "http://img3.douban.com/mpic/s10013700.jpg",
            "binding": "平装",
            "translator": [],
            "catalog": "",
            "pages": "384",
            "images": {
                "small": "http://img3.douban.com/spic/s10013700.jpg",
                "large": "http://img3.douban.com/lpic/s10013700.jpg",
                "medium": "http://img3.douban.com/mpic/s10013700.jpg"
            },
            "alt": "http://book.douban.com/subject/1236266/",
            "id": "1236266",
            "publisher": "大连出版社",
            "isbn10": "7806121358",
            "isbn13": "9787806121351",
            "title": "新版中日交流标准日本语自学指南(初级上下) (平装)",
            "url": "http://api.douban.com/v2/book/1236266",
            "alt_title": "",
            "author_intro": "",
            "summary": "《中日交流标准日本语》一书在我国日语教材中是最受青睐的,自1988年问世后已跨过十七年,人民教育出版社与(日本)光村图书出版株氏会社从语言教育类图书资源开发的角度于2005年4月推出《新版中日交流标准日本语》,对旧本教材进行了更新整合,使其更贴近时代的要求。\n《中日交流标准日本语自学指南》是为了帮助广大日语学习者学好日语掌握标日教材中的知识而编写的,自1995年出版发行以来深受广大日语学习者的喜爱和认可,现已发行十几万册。为了答谢广大读者多年来的支持和厚爱,紧随新版标日教材之后,我们也及时对原来的《中日交流标准日本语自学指南》进行了大幅度的修订,使其在内容方面更全面、充实、系统,学习起来更得心应手。是广大日语学习者自学《新版中日交流标准日本语》的最佳选择和得力助手。\n《新版中日交流标准日本语(初级)》仍分上下两册,承袭了旧版的宗旨。力求简明通俗,方便自学,做到既不忽视传授语言知识有注重听说训练等等。",
            "price": "35.0"
        },
        {
            "rating": {
                "max": 10,
                "numRaters": 8,
                "average": "0.0",
                "min": 0
            },
            "subtitle": "",
            "author": [
                "大野 晋"
            ],
            "pubdate": "1999-1",
            "tags": [
                {
                    "count": 4,
                    "name": "日语",
                    "title": "日语"
                },
                {
                    "count": 3,
                    "name": "语言学",
                    "title": "语言学"
                },
                {
                    "count": 1,
                    "name": "语言学习无止境",
                    "title": "语言学习无止境"
                },
                {
                    "count": 1,
                    "name": "语言",
                    "title": "语言"
                },
                {
                    "count": 1,
                    "name": "日本~",
                    "title": "日本~"
                },
                {
                    "count": 1,
                    "name": "入手",
                    "title": "入手"
                },
                {
                    "count": 1,
                    "name": "riyu",
                    "title": "riyu"
                },
                {
                    "count": 1,
                    "name": "08",
                    "title": "08"
                }
            ],
            "origin_title": "",
            "image": "http://img3.douban.com/mpic/s2872193.jpg",
            "binding": "新書",
            "translator": [],
            "catalog": "目录\n1 単語に敏感になろう\n2 文法なんか嫌い―役に立つか\n3 二つの心得\n4 文章の骨格\n5 敬語の基本",
            "pages": "",
            "images": {
                "small": "http://img3.douban.com/spic/s2872193.jpg",
                "large": "http://img3.douban.com/lpic/s2872193.jpg",
                "medium": "http://img3.douban.com/mpic/s2872193.jpg"
            },
            "alt": "http://book.douban.com/subject/1340694/",
            "id": "1340694",
            "publisher": "岩波書店",
            "isbn10": "4004305969",
            "isbn13": "9784004305965",
            "title": "日本語練習帳",
            "url": "http://api.douban.com/v2/book/1340694",
            "alt_title": "",
            "author_intro": "大野 晋\n1919年東京に生まれる。1943年東京大学文学部国文学科卒業。専攻は国語学。現在、学習院大学名誉教授。",
            "summary": "概要\nどうすればよりよく読めて書けるようになるか.何に気をつけどんな姿勢で文章に向かえばよいのか.練習問題に答えながら,単語に敏感になる習練から始めて,文の組み立て,文章の展開,敬語の基本など,日本語の骨格を理解し技能をみがく.学生·社会人のために著者が60年の研究を傾けて語る日本語トレーニングの手順.",
            "price": "660E+税"
        },
        {
            "rating": {
                "max": 10,
                "numRaters": 9,
                "average": "0.0",
                "min": 0
            },
            "subtitle": "",
            "author": [
                "刘文照",
                "海老原博"
            ],
            "pubdate": "2006-5",
            "tags": [
                {
                    "count": 9,
                    "name": "日语",
                    "title": "日语"
                },
                {
                    "count": 1,
                    "name": "riyu",
                    "title": "riyu"
                },
                {
                    "count": 1,
                    "name": "Linguistic",
                    "title": "Linguistic"
                }
            ],
            "origin_title": "",
            "image": "http://img3.douban.com/mpic/s5661455.jpg",
            "binding": "",
            "translator": [],
            "catalog": "",
            "pages": "275",
            "images": {
                "small": "http://img3.douban.com/spic/s5661455.jpg",
                "large": "http://img3.douban.com/lpic/s5661455.jpg",
                "medium": "http://img3.douban.com/mpic/s5661455.jpg"
            },
            "alt": "http://book.douban.com/subject/1852635/",
            "id": "1852635",
            "publisher": "华东理工大学出版社",
            "isbn10": "7562818916",
            "isbn13": "9787562818915",
            "title": "日本语能力考试4级语法",
            "url": "http://api.douban.com/v2/book/1852635",
            "alt_title": "",
            "author_intro": "",
            "summary": "《日本语能力考试4级语法》依据日本凡人社出版的“日本语能力测验出题基准”(改订版)即新考试大纲编写,《日本语能力考试4级语法》对四级语法做了归纳之后分成七课,它涵盖了大纲中所有的四级语法条目.实际上历年试题有99%的语法题都是出自这些语法条目.根据主考单位的解释,今后数年中不会有太大的变动.因为2000年已经作了部分调整,就是上面所提道的大纲“修订本”。所以《日本语能力考试4级语法》所列出的语法对四级考生来说是必备的基础语法知识。个别条目虽然属于三级语法程度,但是,由于历年试题中已经出现过数次,所以也将其编入《日本语能力考试4级语法》。",
            "price": "25.00元"
        },
        {
            "rating": {
                "max": 10,
                "numRaters": 1,
                "average": "0.0",
                "min": 0
            },
            "subtitle": "",
            "author": [
                "徐敏民"
            ],
            "pubdate": "1998-9",
            "tags": [
                {
                    "count": 4,
                    "name": "日本语听力",
                    "title": "日本语听力"
                },
                {
                    "count": 2,
                    "name": "日语",
                    "title": "日语"
                },
                {
                    "count": 1,
                    "name": "riyu",
                    "title": "riyu"
                },
                {
                    "count": 1,
                    "name": "`1111",
                    "title": "`1111"
                }
            ],
            "origin_title": "",
            "image": "http://img3.douban.com/mpic/s25098567.jpg",
            "binding": "平装",
            "translator": [],
            "catalog": "",
            "pages": "148",
            "images": {
                "small": "http://img3.douban.com/spic/s25098567.jpg",
                "large": "http://img3.douban.com/lpic/s25098567.jpg",
                "medium": "http://img3.douban.com/mpic/s25098567.jpg"
            },
            "alt": "http://book.douban.com/subject/1612291/",
            "id": "1612291",
            "publisher": "第1版 (1998年9月1日)",
            "isbn10": "7561718675",
            "isbn13": "9787561718674",
            "title": "日本语听力 教师用书·第一册",
            "url": "http://api.douban.com/v2/book/1612291",
            "alt_title": "",
            "author_intro": "",
            "summary": "",
            "price": "18.0"
        },
        {
            "rating": {
                "max": 10,
                "numRaters": 7,
                "average": "0.0",
                "min": 0
            },
            "subtitle": "",
            "author": [
                "徐曙"
            ],
            "pubdate": "2006-1",
            "tags": [
                {
                    "count": 1,
                    "name": "日语",
                    "title": "日语"
                },
                {
                    "count": 1,
                    "name": "日本語",
                    "title": "日本語"
                },
                {
                    "count": 1,
                    "name": "riyu",
                    "title": "riyu"
                }
            ],
            "origin_title": "",
            "image": "http://img5.douban.com/mpic/s5642209.jpg",
            "binding": "简裝本",
            "translator": [],
            "catalog": "",
            "pages": "301",
            "images": {
                "small": "http://img5.douban.com/spic/s5642209.jpg",
                "large": "http://img5.douban.com/lpic/s5642209.jpg",
                "medium": "http://img5.douban.com/mpic/s5642209.jpg"
            },
            "alt": "http://book.douban.com/subject/1734131/",
            "id": "1734131",
            "publisher": "上海交通大学出版社",
            "isbn10": "7313042523",
            "isbn13": "9787313042521",
            "title": "日语专业八级考试全攻略",
            "url": "http://api.douban.com/v2/book/1734131",
            "alt_title": "",
            "author_intro": "",
            "summary": "本书是根据高校日语专业八级考试大纲和“高等院校日语专业高年级阶段教学大纲”的要求编写而成。内有日语专业八级考试的大纲、样题及样题解析,对备考具有一定的指导意义。另有三套近三年的考试真题与三套模拟题,并分别附有详尽的解析,以便读者进行自我测试和评估。\n  本书的主要对象是高等院校日语专业的学生,也可供准备参加日语专业研究生入学考试的考生练习参考。日语专业教师也可将其作为教学参考书及教学测试参考书。",
            "price": "30.00元"
        },
        {
            "rating": {
                "max": 10,
                "numRaters": 2,
                "average": "0.0",
                "min": 0
            },
            "subtitle": "",
            "author": [],
            "pubdate": "2008-5",
            "tags": [
                {
                    "count": 3,
                    "name": "日本語",
                    "title": "日本語"
                },
                {
                    "count": 1,
                    "name": "riyu",
                    "title": "riyu"
                }
            ],
            "origin_title": "",
            "image": "http://img3.douban.com/mpic/s5908111.jpg",
            "binding": "",
            "translator": [],
            "catalog": "",
            "pages": "582",
            "images": {
                "small": "http://img3.douban.com/spic/s5908111.jpg",
                "large": "http://img3.douban.com/lpic/s5908111.jpg",
                "medium": "http://img3.douban.com/mpic/s5908111.jpg"
            },
            "alt": "http://book.douban.com/subject/3116739/",
            "id": "3116739",
            "publisher": "",
            "isbn10": "7310029178",
            "isbn13": "9787310029174",
            "title": "日语演讲范文精选(上下)",
            "url": "http://api.douban.com/v2/book/3116739",
            "alt_title": "",
            "author_intro": "",
            "summary": "《日语演讲范文精选(上下)》上下两册所选演讲范文共200篇左右,其构思新颖、表达贴切细腻,富有感染力,而且词语丰富优美,其文字代表了日本当今最鲜活的日语。这套精选演讲范文,体现了日语演讲的最高水平。为我国广大日语学习者,提供了一套丰富的日语演讲及日语学习资料,我们可以从中品味、借鉴和仿效。",
            "price": "35.00元"
        }
    ]
}

posted @ 2013-08-06 11:11  zehrry  阅读(2903)  评论(0编辑  收藏  举报