Version | Update Time | Status | Author | Description |
---|---|---|---|---|
2.0.0 | create | humingk | 创建RESTful-API文档 | |
2.0.7 | update | humingk | 更新 |
1. 知乎电影
1.1. 豆瓣电影知乎相关
Type: GET
Author: humingk
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description: 包括知乎话题、知乎评分、猫眼评分、知乎问题列表等
Request-headers:
Header | Type | Description | Required | Since |
---|---|---|---|---|
Authorization | string | access_token | false | 2.0.0 |
Request-parameters:
Parameter | Type | Description | Required | Since |
---|---|---|---|---|
id | int64 | 豆瓣电影ID | true | - |
Request-example:
curl -X GET -i https://api.doubans.com/v2/movie/zhihu/bases?id=197
Response-fields:
Field | Type | Description | Since |
---|---|---|---|
code | int32 | 状态码 | - |
msg | string | 状态信息 | - |
data | object | 具体结果 | - |
└─topic | object | 知乎话题 | - |
└─id | int64 | 知乎电影ID | - |
└─urlZhihuTopic | string | 知乎话题链接 | - |
└─idMovieDouban | int64 | 豆瓣电影ID | - |
└─urlMovieDouban | string | 豆瓣电影链接 | - |
└─nameZh | string | 知乎电影中文名 | - |
└─zhihuScore | number | 知乎推荐度 | - |
└─zhihuColor | string | 知乎推荐度主题色 | - |
└─zhihuVote | int32 | 知乎评分票数 | - |
└─maoyanScore | number | 猫眼评分 | - |
└─maoyanColor | string | 猫眼评分主题色 | - |
└─questionList | array | 知乎问题列表 | - |
└─id | int64 | 知乎问题ID | - |
└─urlZhihuQuestion | string | 知乎问题链接 | - |
└─idMovieDouban | int64 | 豆瓣电影ID | - |
└─urlMovieDouban | string | 豆瓣电影链接 | - |
└─nameZh | string | 知乎问题中文名 | - |
└─answerNum | int32 | 回答数 0-默认 1-文章 | - |
Response-example:
{ "code":773, "msg":"fasxwd", "data":{ "topic":{ "id":520, "urlZhihuTopic":"37om9i", "idMovieDouban":762, "urlMovieDouban":"6ltdjf", "nameZh":"43qrqp", "zhihuScore":958, "zhihuColor":"2m0me9", "zhihuVote":394, "maoyanScore":105, "maoyanColor":"xkuq5z" }, "questionList":[ { "id":476, "urlZhihuQuestion":"fyru15", "idMovieDouban":755, "urlMovieDouban":"ge0pg5", "nameZh":"vq5lhv", "answerNum":791 } ] } }
2. 电影集合
2.1. 电影基础信息
Type: GET
Author: humingk
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description: 豆瓣电影和IMDB电影,包括电影海报,电影简介等基础信息
Request-headers:
Header | Type | Description | Required | Since |
---|---|---|---|---|
Authorization | string | access_token | false | 2.0.0 |
Request-parameters:
Parameter | Type | Description | Required | Since |
---|---|---|---|---|
id | int64 | 豆瓣电影ID | true | - |
Request-example:
curl -X GET -i https://api.doubans.com/v2/movie/bases?id=488
Response-fields:
Field | Type | Description | Since |
---|---|---|---|
code | int32 | 状态码 | - |
msg | string | 状态信息 | - |
data | object | 具体结果 | - |
└─douban | object | 豆瓣电影基础信息 | - |
└─id | int64 | 豆瓣电影ID | - |
└─urlMovieDouban | string | 豆瓣电影链接 | - |
└─idTypeVideo | string | 影片类型ID | - |
└─typeVideo | string | 影片类型 | - |
└─idMovieImdb | string | IMDB电影ID | - |
└─urlMovieImdb | string | IMDB电影链接 | - |
└─startYear | int16 | 上映时间 /year | - |
└─nameZh | string | 豆瓣电影中文名 | - |
└─nameOrigin | string | 豆瓣电影原始名 | - |
└─runtime | int16 | 豆瓣电影运行片长 /m | - |
└─urlPoster | string | 豆瓣电影海报链接 | - |
└─haveSeen | int32 | 已看人数 | - |
└─wannaSee | int32 | 想看人数 | - |
└─summary | string | 简介 | - |
└─imdb | object | IMDB电影基础信息 | - |
└─id | string | IMDB电影ID | - |
└─urlMovieImdb | string | IMDB电影链接 | - |
└─idTypeVideo | string | 影片种类ID | - |
└─typeVideo | string | 影片种类 | - |
└─nameEn | string | IMDB电影英文名 | - |
└─startYear | int16 | IMDB电影发行年份 | - |
└─isAdult | string | 是否是成人电影 0-不是 1-是 | - |
└─nameOrigin | string | IMDB电影原始名 | - |
└─runtime | int16 | IMDB电影片长 /m | - |
└─urlPoster | string | IMDB海报链接 | - |
└─idMovieDouban | int64 | 豆瓣电影ID 0-未匹配 1-已匹配 | - |
└─summary | string | 简介 | - |
Response-example:
{ "code":839, "msg":"zpgga8", "data":{ "douban":{ "id":914, "urlMovieDouban":"49h549", "idTypeVideo":"b4nncn", "typeVideo":"f7qq5z", "idMovieImdb":"mw7egn", "urlMovieImdb":"brt5co", "startYear":18159, "nameZh":"jg9rqz", "nameOrigin":"z9g2lt", "runtime":11803, "urlPoster":"gu68fv", "haveSeen":168, "wannaSee":623, "summary":"8kaxwz" }, "imdb":{ "id":"21", "urlMovieImdb":"4xni40", "idTypeVideo":"o31wzh", "typeVideo":"3cfhub", "nameEn":"vv7xb3", "startYear":1954, "isAdult":"lohinx", "nameOrigin":"htwjvb", "runtime":2927, "urlPoster":"cbeask", "idMovieDouban":712, "summary":"mldtks" } } }
2.2. 电影详情信息
Type: GET
Author: humingk
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description: 豆瓣电影和IMDB电影,包括电影基础信息、评分信息、标签类型、相关影人基础信息、图片、预告片、热门影评短评、奖项等
Request-headers:
Header | Type | Description | Required | Since |
---|---|---|---|---|
Authorization | string | access_token | false | 2.0.0 |
Request-parameters:
Parameter | Type | Description | Required | Since |
---|---|---|---|---|
id | int64 | 豆瓣电影ID | true | - |
Request-example:
curl -X GET -i https://api.doubans.com/v2/movie/details?id=875
Response-fields:
Field | Type | Description | Since |
---|---|---|---|
code | int32 | 状态码 | - |
msg | string | 状态信息 | - |
data | object | 具体结果 | - |
└─douban | object | 豆瓣电影详细信息 | - |
└─base | object | 豆瓣电影基础信息 | - |
└─id | int64 | 豆瓣电影ID | - |
└─urlMovieDouban | string | 豆瓣电影链接 | - |
└─idTypeVideo | string | 影片类型ID | - |
└─typeVideo | string | 影片类型 | - |
└─idMovieImdb | string | IMDB电影ID | - |
└─urlMovieImdb | string | IMDB电影链接 | - |
└─startYear | int16 | 上映时间 /year | - |
└─nameZh | string | 豆瓣电影中文名 | - |
└─nameOrigin | string | 豆瓣电影原始名 | - |
└─runtime | int16 | 豆瓣电影运行片长 /m | - |
└─urlPoster | string | 豆瓣电影海报链接 | - |
└─haveSeen | int32 | 已看人数 | - |
└─wannaSee | int32 | 想看人数 | - |
└─summary | string | 简介 | - |
└─rate | object | 豆瓣电影评分信息 | - |
└─id | int64 | 豆瓣电影ID | - |
└─score | number | 豆瓣电影评分 | - |
└─vote | int32 | 豆瓣电影评分人数 | - |
└─rateColor | string | 评分主题色 | - |
└─score5 | number | 豆瓣5星比例 | - |
└─score4 | number | 豆瓣4星比例 | - |
└─score3 | number | 豆瓣3星比例 | - |
└─score2 | number | 豆瓣2星比例 | - |
└─score1 | number | 豆瓣1星比例 | - |
└─aliasList | array | 豆瓣电影别名列表 | - |
└─typeList | array | 豆瓣电影-类型列表 | - |
└─tagList | array | 豆瓣电影标签列表 | - |
└─celebrityList | array | 豆瓣电影影人列表 | - |
└─id | int64 | 豆瓣影人ID | - |
└─urlCelebrityDouban | string | 豆瓣影人链接 | - |
└─idCelebrityImdb | string | IMDB影人ID | - |
└─urlCelebrityImdb | string | IMDB影人链接 | - |
└─nameZh | string | 豆瓣影人中文名 | - |
└─nameOrigin | string | 豆瓣影人英文名 | - |
└─sex | string | 性别 | - |
└─birthDate | string | 生日日期 | - |
└─urlPortrait | string | 豆瓣影人海报链接 | - |
└─summary | string | 影人简介 | - |
└─relationList | array | 该影人与该电影的关系列表 | - |
└─idMovieDouban | int64 | 豆瓣电影ID | - |
└─idCelebrityDouban | int64 | 豆瓣影人ID | - |
└─idProfession | string | 该影人在该电影中的职位ID | - |
└─profession | string | 该影人在该电影中的职位 | - |
└─sort | int16 | 该影人在该电影中的演员排列顺序 | - |
└─trailerList | array | 豆瓣电影预告片列表 | - |
└─id | int64 | 豆瓣电影预告片ID | - |
└─idMovieDouban | int64 | 豆瓣电影ID | - |
└─urlTrailer | string | 预告片豆瓣链接 | - |
└─urlVideo | string | 预告片mp4链接 | - |
└─imageList | array | 豆瓣电影图片列表 | - |
└─id | int64 | 豆瓣图片ID | - |
└─urlImageSqxs | string | 豆瓣图片链接 sqxs | - |
└─urlImageS | string | 豆瓣图片链接 s | - |
└─urlImageM | string | 豆瓣图片链接 m | - |
└─urlImageL | string | 豆瓣图片链接 L | - |
└─sort | string | 序号 | - |
└─length | int32 | Large版本的长 /px | - |
└─width | int32 | Large版本的宽 /px | - |
└─classicList | array | 豆瓣电影经典台词列表 | - |
└─id | string | 豆瓣电影经典台词ID | - |
└─idMovieDouban | int64 | 豆瓣电影ID | - |
└─urlMovieDouban | string | 豆瓣电影链接 | - |
└─content | string | 经典台词内容 | - |
└─happenTime | int32 | 经典台词在影片中的出现时间 /m | - |
└─agreeVote | int32 | 经典台词获得的赞同数 | - |
└─user | object | 相关豆瓣用户 | - |
└─idUserDouban | string | 豆瓣用户ID 0-未登录用户 | - |
└─idClassicDouban | string | 豆瓣电影经典台词ID | - |
└─nameZhUserDouban | string | 用户中文名 | - |
└─recordDatetime | int64 | 豆瓣用户收录时间 /unix | - |
└─description | string | 豆瓣用户评价 | - |
└─celebrity | object | 相关豆瓣影人 | - |
└─idCelebrityDouban | int64 | 豆瓣影人ID | - |
└─idClassicDouban | string | 豆瓣电影经典台词ID | - |
└─nameZhCelebrityDouban | string | 豆瓣影人中文名 | - |
└─reviewList | array | 豆瓣电影热门影评列表 | - |
└─id | int64 | 豆瓣电影影评ID | - |
└─idUserDouban | string | 豆瓣用户ID | - |
└─nameUserDouban | string | 豆瓣用户昵称 | - |
└─urlUserDouban | string | 豆瓣用户链接 | - |
└─urlReview | string | 影评链接 | - |
└─agreeVote | int32 | 赞同数 | - |
└─againstVote | int32 | 反对数 | - |
└─createDatetime | string | 影评日期 | - |
└─title | string | 影评标题 | - |
└─content | string | 影评内容 | - |
└─awardList | array | 豆瓣电影奖项列表 | - |
└─idMovieDouban | int64 | 豆瓣电影ID | - |
└─idAwardMovie | string | 获奖奖项ID | - |
└─nameZh | string | 奖项中文名 | - |
└─urlAward | string | 奖项链接 | - |
└─idCelebrityDouban | int64 | 获奖豆瓣影人ID | - |
└─urlCelebrityDouban | string | 豆瓣影人链接 | - |
└─typeAward | string | 奖项的类别中文名 | - |
└─awardTh | int16 | 获奖奖项届数 | - |
└─isNominated | string | 是否提名 0-仅提名未获奖 1-已提名且获奖 | - |
└─commentList | array | 豆瓣电影热门评论列表 | - |
└─idMovieDouban | int64 | 豆瓣电影ID | - |
└─idUserDouban | string | 豆瓣用户ID | - |
└─nameUserDouban | string | 豆瓣用户昵称 | - |
└─urlUserDouban | string | 豆瓣用户链接 | - |
└─agreeVote | int64 | 投票数 | - |
└─createDate | string | 短评日期 | - |
└─content | string | 短评内容 | - |
└─imdb | object | IMDB电影详细信息 | - |
└─base | object | IMDB电影基础信息 | - |
└─id | string | IMDB电影ID | - |
└─urlMovieImdb | string | IMDB电影链接 | - |
└─idTypeVideo | string | 影片种类ID | - |
└─typeVideo | string | 影片种类 | - |
└─nameEn | string | IMDB电影英文名 | - |
└─startYear | int16 | IMDB电影发行年份 | - |
└─isAdult | string | 是否是成人电影 0-不是 1-是 | - |
└─nameOrigin | string | IMDB电影原始名 | - |
└─runtime | int16 | IMDB电影片长 /m | - |
└─urlPoster | string | IMDB海报链接 | - |
└─idMovieDouban | int64 | 豆瓣电影ID 0-未匹配 1-已匹配 | - |
└─summary | string | 简介 | - |
└─rate | object | IMDB电影评分 | - |
└─idMovieImdb | string | IMDB电影ID | - |
└─imdbScore | number | IMDB评分 | - |
└─imdbColor | string | IMDB评分主题色 | - |
└─imdbVote | int32 | IMDB评分人数 | - |
└─tomatoScore | number | 烂番茄新鲜度 | - |
└─tomatoColor | string | 烂番茄新鲜度主题色 | - |
└─mtcScore | number | MTC评分 | - |
└─mtcColor | string | MTC评分主题色 | - |
└─typeList | array | IMDB电影类型列表 | - |
└─celebrityList | array | IMDB电影影人列表 | - |
└─idCelebrityImdb | string | IMDB影人ID | - |
└─urlCelebrityImdb | string | IMDB影人链接 | - |
└─idCelebrityDouban | int64 | 豆瓣影人ID 0-未匹配 1-已匹配 | - |
└─urlCelebrityDouban | string | 豆瓣电影链接 | - |
└─nameEn | string | IMDB影人英文名 | - |
└─birthYear | int16 | 出生年份 /year | - |
└─relationList | array | 该影人与该电影的关系列表 | - |
└─idMovieImdb | int64 | IMDB电影ID | - |
└─idCelebrityImdb | int64 | IMDB影人ID | - |
└─idProfession | string | 该影人在该电影中的职位ID | - |
└─profession | string | 该影人在该电影中的职位 | - |
Response-example:
{ "code":275, "msg":"itc3qz", "data":{ "douban":{ "base":{ "id":229, "urlMovieDouban":"8my35a", "idTypeVideo":"qjtvdc", "typeVideo":"ww28lu", "idMovieImdb":"t3chz8", "urlMovieImdb":"42ecfi", "startYear":157, "nameZh":"somumo", "nameOrigin":"n6jf0n", "runtime":30021, "urlPoster":"haybs2", "haveSeen":828, "wannaSee":634, "summary":"o3c1tn" }, "rate":{ "id":743, "score":418, "vote":64, "rateColor":"47c32e", "score5":865, "score4":192, "score3":649, "score2":644, "score1":316 }, "aliasList":[ "s01eq5" ], "typeList":[ "izvsls" ], "tagList":[ "837c7m" ], "celebrityList":[ { "id":437, "urlCelebrityDouban":"w3zzt4", "idCelebrityImdb":"3587jl", "urlCelebrityImdb":"5wxo9f", "nameZh":"bv8nka", "nameOrigin":"7unk47", "sex":"mk0ha6", "birthDate":"2020-05-31", "urlPortrait":"a3kca2", "summary":"a93fsr", "relationList":[ { "idMovieDouban":52, "idCelebrityDouban":886, "idProfession":"2t9rs0", "profession":"1s54hz", "sort":19969 } ] } ], "trailerList":[ { "id":325, "idMovieDouban":461, "urlTrailer":"p6xwpu", "urlVideo":"q40kx4" } ], "imageList":[ { "id":332, "urlImageSqxs":"8bmcwl", "urlImageS":"ifefez", "urlImageM":"ct7psk", "urlImageL":"jz46tp", "sort":"hkkl1w", "length":971, "width":90 } ], "classicList":[ { "id":"21", "idMovieDouban":740, "urlMovieDouban":"7nd7pw", "content":"bqkqfo", "happenTime":318, "agreeVote":93, "user":{ "idUserDouban":"wi0vep", "idClassicDouban":"ylf0th", "nameZhUserDouban":"5l8pxm", "recordDatetime":1590896103574, "description":"cqh77e" }, "celebrity":{ "idCelebrityDouban":662, "idClassicDouban":"urcblx", "nameZhCelebrityDouban":"t94j6g" } } ], "reviewList":[ { "id":873, "idUserDouban":"e3vdmm", "nameUserDouban":"rw4pun", "urlUserDouban":"hz0id9", "urlReview":"54f6ls", "agreeVote":431, "againstVote":546, "createDatetime":"2020-05-31 11:35:03", "title":"meo2j0", "content":"w76pi5" } ], "awardList":[ { "idMovieDouban":410, "idAwardMovie":"340m3b", "nameZh":"94dx4a", "urlAward":"cpu3oa", "idCelebrityDouban":98, "urlCelebrityDouban":"ljb9cf", "typeAward":"aefr60", "awardTh":28138, "isNominated":"ckitfi" } ], "commentList":[ { "idMovieDouban":392, "idUserDouban":"rt1nsw", "nameUserDouban":"cua4pp", "urlUserDouban":"mt28zw", "agreeVote":340, "createDate":"2020-05-31", "content":"ve9yxz" } ] }, "imdb":{ "base":{ "id":"21", "urlMovieImdb":"d0wjyk", "idTypeVideo":"169rfu", "typeVideo":"hk8tuj", "nameEn":"sj5mb7", "startYear":29376, "isAdult":"qy84dq", "nameOrigin":"t5w95u", "runtime":15266, "urlPoster":"hxhtj0", "idMovieDouban":228, "summary":"b56lih" }, "rate":{ "idMovieImdb":"ayqmd5", "imdbScore":403, "imdbColor":"g3nf0x", "imdbVote":670, "tomatoScore":90, "tomatoColor":"m67csg", "mtcScore":735, "mtcColor":"xcm93p" }, "typeList":[ "bpgfai" ], "celebrityList":[ { "idCelebrityImdb":"b9dtqh", "urlCelebrityImdb":"9ztrob", "idCelebrityDouban":122, "urlCelebrityDouban":"umz8ka", "nameEn":"xhddbg", "birthYear":31763, "relationList":[ { "idMovieImdb":255, "idCelebrityImdb":877, "idProfession":"fes54s", "profession":"b7zjuo" } ] } ] } } }
2.3. 电影评分信息
Type: GET
Author: humingk
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description: 包括豆瓣电影评分、IMDB评分、烂番茄新鲜度、MTC评分、猫眼评分、知乎推荐度等
Request-headers:
Header | Type | Description | Required | Since |
---|---|---|---|---|
Authorization | string | access_token | false | 2.0.0 |
Request-parameters:
Parameter | Type | Description | Required | Since |
---|---|---|---|---|
id | int64 | 豆瓣电影ID | true | - |
Request-example:
curl -X GET -i https://api.doubans.com/v2/movie/rate/details?id=305
Response-fields:
Field | Type | Description | Since |
---|---|---|---|
code | int32 | 状态码 | - |
msg | string | 状态信息 | - |
data | object | 具体结果 | - |
└─bases | object | 豆瓣电影基础信息 | - |
└─id | int64 | 豆瓣电影ID | - |
└─urlMovieDouban | string | 豆瓣电影链接 | - |
└─idTypeVideo | string | 影片类型ID | - |
└─typeVideo | string | 影片类型 | - |
└─idMovieImdb | string | IMDB电影ID | - |
└─urlMovieImdb | string | IMDB电影链接 | - |
└─startYear | int16 | 上映时间 /year | - |
└─nameZh | string | 豆瓣电影中文名 | - |
└─nameOrigin | string | 豆瓣电影原始名 | - |
└─runtime | int16 | 豆瓣电影运行片长 /m | - |
└─urlPoster | string | 豆瓣电影海报链接 | - |
└─haveSeen | int32 | 已看人数 | - |
└─wannaSee | int32 | 想看人数 | - |
└─summary | string | 简介 | - |
└─doubanRate | object | 豆瓣电影评分 | - |
└─id | int64 | 豆瓣电影ID | - |
└─score | number | 豆瓣电影评分 | - |
└─vote | int32 | 豆瓣电影评分人数 | - |
└─rateColor | string | 评分主题色 | - |
└─score5 | number | 豆瓣5星比例 | - |
└─score4 | number | 豆瓣4星比例 | - |
└─score3 | number | 豆瓣3星比例 | - |
└─score2 | number | 豆瓣2星比例 | - |
└─score1 | number | 豆瓣1星比例 | - |
└─idMovieImdb | string | IMDB电影ID | - |
└─urlMovieImdb | string | IMDB电影链接 | - |
└─imdbScore | number | IMDB评分 | - |
└─imdbVote | int32 | IMDB评分人数 | - |
└─imdbColor | string | IMDB评分主题色 | - |
└─tomatoScore | number | 烂番茄新鲜度 | - |
└─tomatoColor | string | 烂番茄新鲜度主题色 | - |
└─mtcScore | number | MTC评分 | - |
└─mtcColor | string | MTC评分主题色 | - |
└─idMovieZhihu | int64 | 知乎电影ID | - |
└─urlZhihuTopic | string | 知乎话题链接 | - |
└─zhihuScore | number | 知乎评分 | - |
└─zhihuVote | int32 | 知乎评分票数 | - |
└─zhihuColor | string | 知乎推荐度主题色 | - |
└─maoyanScore | number | 猫眼评分 | - |
└─maoyanColor | string | 猫眼评分主题色 | - |
Response-example:
{ "code":21, "msg":"mskxi8", "data":{ "bases":{ "id":140, "urlMovieDouban":"zplr68", "idTypeVideo":"w3mo9x", "typeVideo":"3m5j3r", "idMovieImdb":"bb409k", "urlMovieImdb":"4v18cl", "startYear":9685, "nameZh":"rnny28", "nameOrigin":"zjrjz1", "runtime":10669, "urlPoster":"x28klo", "haveSeen":791, "wannaSee":147, "summary":"0d781m" }, "doubanRate":{ "id":43, "score":778, "vote":344, "rateColor":"n75t42", "score5":324, "score4":452, "score3":993, "score2":59, "score1":803 }, "idMovieImdb":"isuion", "urlMovieImdb":"uk8fhr", "imdbScore":416, "imdbVote":667, "imdbColor":"y948ow", "tomatoScore":934, "tomatoColor":"gp4py3", "mtcScore":96, "mtcColor":"tz10t9", "idMovieZhihu":6, "urlZhihuTopic":"yx6tie", "zhihuScore":714, "zhihuVote":493, "zhihuColor":"k2i58w", "maoyanScore":412, "maoyanColor":"yw9psf" } }
3. 豆瓣电影
3.1. 豆瓣电影基础信息
Type: GET
Author: humingk
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description: 包括电影海报,电影简介等基础信息
Request-headers:
Header | Type | Description | Required | Since |
---|---|---|---|---|
Authorization | string | access_token | false | 2.0.0 |
Request-parameters:
Parameter | Type | Description | Required | Since |
---|---|---|---|---|
id | int64 | 豆瓣电影ID | true | - |
Request-example:
curl -X GET -i https://api.doubans.com/v2/movie/douban/bases?id=57
Response-fields:
Field | Type | Description | Since |
---|---|---|---|
code | int32 | 状态码 | - |
msg | string | 状态信息 | - |
data | object | 具体结果 | - |
└─id | int64 | 豆瓣电影ID | - |
└─urlMovieDouban | string | 豆瓣电影链接 | - |
└─idTypeVideo | string | 影片类型ID | - |
└─typeVideo | string | 影片类型 | - |
└─idMovieImdb | string | IMDB电影ID | - |
└─urlMovieImdb | string | IMDB电影链接 | - |
└─startYear | int16 | 上映时间 /year | - |
└─nameZh | string | 豆瓣电影中文名 | - |
└─nameOrigin | string | 豆瓣电影原始名 | - |
└─runtime | int16 | 豆瓣电影运行片长 /m | - |
└─urlPoster | string | 豆瓣电影海报链接 | - |
└─haveSeen | int32 | 已看人数 | - |
└─wannaSee | int32 | 想看人数 | - |
└─summary | string | 简介 | - |
Response-example:
{ "code":241, "msg":"0scft5", "data":{ "id":165, "urlMovieDouban":"nvnj2r", "idTypeVideo":"793o05", "typeVideo":"6howlj", "idMovieImdb":"s6punn", "urlMovieImdb":"cp3jf2", "startYear":18235, "nameZh":"7m7fz7", "nameOrigin":"47n8zi", "runtime":14042, "urlPoster":"w2yi8r", "haveSeen":18, "wannaSee":724, "summary":"otng97" } }
3.2. 豆瓣电影详情信息
Type: GET
Author: humingk
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description: 包括电影基础信息、评分信息、标签类型、相关影人基础信息、图片、预告片、热门影评短评、奖项等
Request-headers:
Header | Type | Description | Required | Since |
---|---|---|---|---|
Authorization | string | access_token | false | 2.0.0 |
Request-parameters:
Parameter | Type | Description | Required | Since |
---|---|---|---|---|
id | int64 | 豆瓣电影ID | true | - |
Request-example:
curl -X GET -i https://api.doubans.com/v2/movie/douban/details?id=709
Response-fields:
Field | Type | Description | Since |
---|---|---|---|
code | int32 | 状态码 | - |
msg | string | 状态信息 | - |
data | object | 具体结果 | - |
└─base | object | 豆瓣电影基础信息 | - |
└─id | int64 | 豆瓣电影ID | - |
└─urlMovieDouban | string | 豆瓣电影链接 | - |
└─idTypeVideo | string | 影片类型ID | - |
└─typeVideo | string | 影片类型 | - |
└─idMovieImdb | string | IMDB电影ID | - |
└─urlMovieImdb | string | IMDB电影链接 | - |
└─startYear | int16 | 上映时间 /year | - |
└─nameZh | string | 豆瓣电影中文名 | - |
└─nameOrigin | string | 豆瓣电影原始名 | - |
└─runtime | int16 | 豆瓣电影运行片长 /m | - |
└─urlPoster | string | 豆瓣电影海报链接 | - |
└─haveSeen | int32 | 已看人数 | - |
└─wannaSee | int32 | 想看人数 | - |
└─summary | string | 简介 | - |
└─rate | object | 豆瓣电影评分信息 | - |
└─id | int64 | 豆瓣电影ID | - |
└─score | number | 豆瓣电影评分 | - |
└─vote | int32 | 豆瓣电影评分人数 | - |
└─rateColor | string | 评分主题色 | - |
└─score5 | number | 豆瓣5星比例 | - |
└─score4 | number | 豆瓣4星比例 | - |
└─score3 | number | 豆瓣3星比例 | - |
└─score2 | number | 豆瓣2星比例 | - |
└─score1 | number | 豆瓣1星比例 | - |
└─aliasList | array | 豆瓣电影别名列表 | - |
└─typeList | array | 豆瓣电影-类型列表 | - |
└─tagList | array | 豆瓣电影标签列表 | - |
└─celebrityList | array | 豆瓣电影影人列表 | - |
└─id | int64 | 豆瓣影人ID | - |
└─urlCelebrityDouban | string | 豆瓣影人链接 | - |
└─idCelebrityImdb | string | IMDB影人ID | - |
└─urlCelebrityImdb | string | IMDB影人链接 | - |
└─nameZh | string | 豆瓣影人中文名 | - |
└─nameOrigin | string | 豆瓣影人英文名 | - |
└─sex | string | 性别 | - |
└─birthDate | string | 生日日期 | - |
└─urlPortrait | string | 豆瓣影人海报链接 | - |
└─summary | string | 影人简介 | - |
└─relationList | array | 该影人与该电影的关系列表 | - |
└─idMovieDouban | int64 | 豆瓣电影ID | - |
└─idCelebrityDouban | int64 | 豆瓣影人ID | - |
└─idProfession | string | 该影人在该电影中的职位ID | - |
└─profession | string | 该影人在该电影中的职位 | - |
└─sort | int16 | 该影人在该电影中的演员排列顺序 | - |
└─trailerList | array | 豆瓣电影预告片列表 | - |
└─id | int64 | 豆瓣电影预告片ID | - |
└─idMovieDouban | int64 | 豆瓣电影ID | - |
└─urlTrailer | string | 预告片豆瓣链接 | - |
└─urlVideo | string | 预告片mp4链接 | - |
└─imageList | array | 豆瓣电影图片列表 | - |
└─id | int64 | 豆瓣图片ID | - |
└─urlImageSqxs | string | 豆瓣图片链接 sqxs | - |
└─urlImageS | string | 豆瓣图片链接 s | - |
└─urlImageM | string | 豆瓣图片链接 m | - |
└─urlImageL | string | 豆瓣图片链接 L | - |
└─sort | string | 序号 | - |
└─length | int32 | Large版本的长 /px | - |
└─width | int32 | Large版本的宽 /px | - |
└─classicList | array | 豆瓣电影经典台词列表 | - |
└─id | string | 豆瓣电影经典台词ID | - |
└─idMovieDouban | int64 | 豆瓣电影ID | - |
└─urlMovieDouban | string | 豆瓣电影链接 | - |
└─content | string | 经典台词内容 | - |
└─happenTime | int32 | 经典台词在影片中的出现时间 /m | - |
└─agreeVote | int32 | 经典台词获得的赞同数 | - |
└─user | object | 相关豆瓣用户 | - |
└─idUserDouban | string | 豆瓣用户ID 0-未登录用户 | - |
└─idClassicDouban | string | 豆瓣电影经典台词ID | - |
└─nameZhUserDouban | string | 用户中文名 | - |
└─recordDatetime | int64 | 豆瓣用户收录时间 /unix | - |
└─description | string | 豆瓣用户评价 | - |
└─celebrity | object | 相关豆瓣影人 | - |
└─idCelebrityDouban | int64 | 豆瓣影人ID | - |
└─idClassicDouban | string | 豆瓣电影经典台词ID | - |
└─nameZhCelebrityDouban | string | 豆瓣影人中文名 | - |
└─reviewList | array | 豆瓣电影热门影评列表 | - |
└─id | int64 | 豆瓣电影影评ID | - |
└─idUserDouban | string | 豆瓣用户ID | - |
└─nameUserDouban | string | 豆瓣用户昵称 | - |
└─urlUserDouban | string | 豆瓣用户链接 | - |
└─urlReview | string | 影评链接 | - |
└─agreeVote | int32 | 赞同数 | - |
└─againstVote | int32 | 反对数 | - |
└─createDatetime | string | 影评日期 | - |
└─title | string | 影评标题 | - |
└─content | string | 影评内容 | - |
└─awardList | array | 豆瓣电影奖项列表 | - |
└─idMovieDouban | int64 | 豆瓣电影ID | - |
└─idAwardMovie | string | 获奖奖项ID | - |
└─nameZh | string | 奖项中文名 | - |
└─urlAward | string | 奖项链接 | - |
└─idCelebrityDouban | int64 | 获奖豆瓣影人ID | - |
└─urlCelebrityDouban | string | 豆瓣影人链接 | - |
└─typeAward | string | 奖项的类别中文名 | - |
└─awardTh | int16 | 获奖奖项届数 | - |
└─isNominated | string | 是否提名 0-仅提名未获奖 1-已提名且获奖 | - |
└─commentList | array | 豆瓣电影热门评论列表 | - |
└─idMovieDouban | int64 | 豆瓣电影ID | - |
└─idUserDouban | string | 豆瓣用户ID | - |
└─nameUserDouban | string | 豆瓣用户昵称 | - |
└─urlUserDouban | string | 豆瓣用户链接 | - |
└─agreeVote | int64 | 投票数 | - |
└─createDate | string | 短评日期 | - |
└─content | string | 短评内容 | - |
Response-example:
{ "code":569, "msg":"470m19", "data":{ "base":{ "id":43, "urlMovieDouban":"8dpptq", "idTypeVideo":"gk6sbl", "typeVideo":"ktvpxr", "idMovieImdb":"d4oag8", "urlMovieImdb":"05uxdl", "startYear":28110, "nameZh":"d6tmtr", "nameOrigin":"2ztg79", "runtime":10733, "urlPoster":"3im1ss", "haveSeen":61, "wannaSee":695, "summary":"hni2sa" }, "rate":{ "id":414, "score":366, "vote":552, "rateColor":"ibm2yz", "score5":114, "score4":31, "score3":94, "score2":962, "score1":123 }, "aliasList":[ "cswob0" ], "typeList":[ "j9qu7j" ], "tagList":[ "dv8hl8" ], "celebrityList":[ { "id":730, "urlCelebrityDouban":"1ic8mg", "idCelebrityImdb":"kbi7gf", "urlCelebrityImdb":"gv7n18", "nameZh":"2cer21", "nameOrigin":"aazi0j", "sex":"h3f9zq", "birthDate":"2020-05-31", "urlPortrait":"c2s3ut", "summary":"dpaosr", "relationList":[ { "idMovieDouban":563, "idCelebrityDouban":228, "idProfession":"7920u4", "profession":"olbkit", "sort":17469 } ] } ], "trailerList":[ { "id":591, "idMovieDouban":841, "urlTrailer":"uui8zw", "urlVideo":"fdycc7" } ], "imageList":[ { "id":926, "urlImageSqxs":"0sxtms", "urlImageS":"ukwhoz", "urlImageM":"6iw3mm", "urlImageL":"cbum6k", "sort":"iqukxi", "length":617, "width":128 } ], "classicList":[ { "id":"21", "idMovieDouban":244, "urlMovieDouban":"xw882b", "content":"snsgaq", "happenTime":410, "agreeVote":509, "user":{ "idUserDouban":"q5pn3v", "idClassicDouban":"kere92", "nameZhUserDouban":"igee2m", "recordDatetime":1590896103574, "description":"fj5lsz" }, "celebrity":{ "idCelebrityDouban":893, "idClassicDouban":"8ck7hn", "nameZhCelebrityDouban":"n9fejx" } } ], "reviewList":[ { "id":227, "idUserDouban":"uovuvc", "nameUserDouban":"rlkk5x", "urlUserDouban":"9anl58", "urlReview":"6tqhhc", "agreeVote":964, "againstVote":122, "createDatetime":"2020-05-31 11:35:03", "title":"cnz970", "content":"awhk19" } ], "awardList":[ { "idMovieDouban":870, "idAwardMovie":"rdaaad", "nameZh":"4xjxs0", "urlAward":"h9ji7c", "idCelebrityDouban":796, "urlCelebrityDouban":"cy2onr", "typeAward":"zikn7o", "awardTh":15056, "isNominated":"bjya59" } ], "commentList":[ { "idMovieDouban":136, "idUserDouban":"sko5d4", "nameUserDouban":"eth97x", "urlUserDouban":"1ekdrf", "agreeVote":947, "createDate":"2020-05-31", "content":"q18xqb" } ] } }
4. IMDB电影
4.1. IMDB电影基础信息
Type: GET
Author: humingk
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description: 包括电影海报、电影简介等
Request-headers:
Header | Type | Description | Required | Since |
---|---|---|---|---|
Authorization | string | access_token | false | 2.0.0 |
Request-parameters:
Parameter | Type | Description | Required | Since |
---|---|---|---|---|
id | int64 | IMDB电影ID | true | - |
Request-example:
curl -X GET -i https://api.doubans.com/v2/movie/imdb/bases?id=783
Response-fields:
Field | Type | Description | Since |
---|---|---|---|
code | int32 | 状态码 | - |
msg | string | 状态信息 | - |
data | object | 具体结果 | - |
└─id | string | IMDB电影ID | - |
└─urlMovieImdb | string | IMDB电影链接 | - |
└─idTypeVideo | string | 影片种类ID | - |
└─typeVideo | string | 影片种类 | - |
└─nameEn | string | IMDB电影英文名 | - |
└─startYear | int16 | IMDB电影发行年份 | - |
└─isAdult | string | 是否是成人电影 0-不是 1-是 | - |
└─nameOrigin | string | IMDB电影原始名 | - |
└─runtime | int16 | IMDB电影片长 /m | - |
└─urlPoster | string | IMDB海报链接 | - |
└─idMovieDouban | int64 | 豆瓣电影ID 0-未匹配 1-已匹配 | - |
└─summary | string | 简介 | - |
Response-example:
{ "code":734, "msg":"houxnh", "data":{ "id":"21", "urlMovieImdb":"ca2iz9", "idTypeVideo":"c5jrp9", "typeVideo":"ms390h", "nameEn":"0f26qs", "startYear":29751, "isAdult":"fzcmm7", "nameOrigin":"6fw6mp", "runtime":13186, "urlPoster":"3kq2zj", "idMovieDouban":308, "summary":"7b2q50" } }
4.2. IMDB电影详情信息
Type: GET
Author: humingk
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description: 包括电影基础信息、评分、相关影人信息等
Request-headers:
Header | Type | Description | Required | Since |
---|---|---|---|---|
Authorization | string | access_token | false | 2.0.0 |
Request-parameters:
Parameter | Type | Description | Required | Since |
---|---|---|---|---|
id | int64 | IMDB电影ID | true | - |
Request-example:
curl -X GET -i https://api.doubans.com/v2/movie/imdb/details?id=920
Response-fields:
Field | Type | Description | Since |
---|---|---|---|
code | int32 | 状态码 | - |
msg | string | 状态信息 | - |
data | object | 具体结果 | - |
└─base | object | IMDB电影基础信息 | - |
└─id | string | IMDB电影ID | - |
└─urlMovieImdb | string | IMDB电影链接 | - |
└─idTypeVideo | string | 影片种类ID | - |
└─typeVideo | string | 影片种类 | - |
└─nameEn | string | IMDB电影英文名 | - |
└─startYear | int16 | IMDB电影发行年份 | - |
└─isAdult | string | 是否是成人电影 0-不是 1-是 | - |
└─nameOrigin | string | IMDB电影原始名 | - |
└─runtime | int16 | IMDB电影片长 /m | - |
└─urlPoster | string | IMDB海报链接 | - |
└─idMovieDouban | int64 | 豆瓣电影ID 0-未匹配 1-已匹配 | - |
└─summary | string | 简介 | - |
└─rate | object | IMDB电影评分 | - |
└─idMovieImdb | string | IMDB电影ID | - |
└─imdbScore | number | IMDB评分 | - |
└─imdbColor | string | IMDB评分主题色 | - |
└─imdbVote | int32 | IMDB评分人数 | - |
└─tomatoScore | number | 烂番茄新鲜度 | - |
└─tomatoColor | string | 烂番茄新鲜度主题色 | - |
└─mtcScore | number | MTC评分 | - |
└─mtcColor | string | MTC评分主题色 | - |
└─typeList | array | IMDB电影类型列表 | - |
└─celebrityList | array | IMDB电影影人列表 | - |
└─idCelebrityImdb | string | IMDB影人ID | - |
└─urlCelebrityImdb | string | IMDB影人链接 | - |
└─idCelebrityDouban | int64 | 豆瓣影人ID 0-未匹配 1-已匹配 | - |
└─urlCelebrityDouban | string | 豆瓣电影链接 | - |
└─nameEn | string | IMDB影人英文名 | - |
└─birthYear | int16 | 出生年份 /year | - |
└─relationList | array | 该影人与该电影的关系列表 | - |
└─idMovieImdb | int64 | IMDB电影ID | - |
└─idCelebrityImdb | int64 | IMDB影人ID | - |
└─idProfession | string | 该影人在该电影中的职位ID | - |
└─profession | string | 该影人在该电影中的职位 | - |
Response-example:
{ "code":711, "msg":"nt5ebt", "data":{ "base":{ "id":"21", "urlMovieImdb":"fcwk4c", "idTypeVideo":"03m64v", "typeVideo":"ort9w3", "nameEn":"pdacrq", "startYear":25364, "isAdult":"tb3mdj", "nameOrigin":"9okzf7", "runtime":6202, "urlPoster":"oc1q0r", "idMovieDouban":77, "summary":"dl86od" }, "rate":{ "idMovieImdb":"w57mzt", "imdbScore":921, "imdbColor":"fnmz0s", "imdbVote":842, "tomatoScore":197, "tomatoColor":"mjbobw", "mtcScore":17, "mtcColor":"yd4net" }, "typeList":[ "l4x4kr" ], "celebrityList":[ { "idCelebrityImdb":"b691db", "urlCelebrityImdb":"dzhr3u", "idCelebrityDouban":554, "urlCelebrityDouban":"qlfuxt", "nameEn":"1lgt1g", "birthYear":6820, "relationList":[ { "idMovieImdb":264, "idCelebrityImdb":849, "idProfession":"j6qncn", "profession":"lmmn60" } ] } ] } }
5. 场景地点搜索
5.1. 场景地点搜索提示
Type: GET
Author: humingk
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description: 根据地点名称开头的字符串找出场景地点的基本信息列表,,查询结果为空的将替换为模糊匹配
Request-headers:
Header | Type | Description | Required | Since |
---|---|---|---|---|
Authorization | string | access_token | false | 2.0.0 |
Request-parameters:
Parameter | Type | Description | Required | Since |
---|---|---|---|---|
keyword | string | 搜索关键字 | true | - |
offset | int32 | 偏移量(默认0) | false | - |
limit | int32 | 限制数(默认10) | false | - |
Request-example:
curl -X GET -i https://api.doubans.com/v2/search/place/scene/tips?keyword=ahgafy&limit=10&offset=0
Response-fields:
Field | Type | Description | Since |
---|---|---|---|
code | int32 | 状态码 | - |
msg | string | 状态信息 | - |
data | object | 具体结果 | - |
└─id | int64 | 场景地点ID | - |
└─longitude | number | 经度 | - |
└─latitude | number | 纬度 | - |
└─nameZh | string | 中文名 | - |
└─nameEn | string | 英文名 | - |
└─nameOther | string | 其他语言名 | - |
└─alias | string | 别名 | - |
└─addressZh | string | 中文地址 | - |
└─addressEn | string | 英文地址 | - |
└─description | string | 地点描述 | - |
└─areaZh | string | 区域中文 | - |
└─areaEn | string | 区域英文 | - |
└─phone | string | 电话号码 | - |
└─urlPoster | string | 地点海报图链接 | - |
└─urlEarth | string | 地点地球位置图链接 | - |
└─urlSatellite | string | 地点卫星图链接 | - |
└─urlMap | string | 地点地图 | - |
Response-example:
{ "code":290, "msg":"xuye6r", "data":[ { "id":867, "longitude":693, "latitude":463, "nameZh":"91d20u", "nameEn":"mjqp80", "nameOther":"72uss4", "alias":"w5g328", "addressZh":"qbfm1v", "addressEn":"93dpgm", "description":"qpbq4d", "areaZh":"so6gk8", "areaEn":"8icjch", "phone":"15092571616", "urlPoster":"vfomov", "urlEarth":"uzo72e", "urlSatellite":"k6p2qv", "urlMap":"jli9un" } ] }
6. 豆瓣搜索
6.1. 豆瓣搜索提示
Type: GET
Author: humingk
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description: 根据名称开头的字符串找出豆瓣电影、豆瓣影人等基本信息列表,查询结果为空的将替换为模糊匹配
Request-headers:
Header | Type | Description | Required | Since |
---|---|---|---|---|
Authorization | string | access_token | false | 2.0.0 |
Request-parameters:
Parameter | Type | Description | Required | Since |
---|---|---|---|---|
keyword | string | 搜索关键字 | true | - |
offset | int32 | 偏移量(默认0) | false | - |
limit | int32 | 限制数(默认10) | false | - |
Request-example:
curl -X GET -i https://api.doubans.com/v2/search/douban/tips?offset=0&limit=10&keyword=t1aumy
Response-fields:
Field | Type | Description | Since |
---|---|---|---|
code | int32 | 状态码 | - |
msg | string | 状态信息 | - |
data | object | 具体结果 | - |
└─movieList | array | 豆瓣电影搜索提示列表 | - |
└─base | object | 豆瓣电影基础信息 | - |
└─id | int64 | 豆瓣电影ID | - |
└─urlMovieDouban | string | 豆瓣电影链接 | - |
└─idTypeVideo | string | 影片类型ID | - |
└─typeVideo | string | 影片类型 | - |
└─idMovieImdb | string | IMDB电影ID | - |
└─urlMovieImdb | string | IMDB电影链接 | - |
└─startYear | int16 | 上映时间 /year | - |
└─nameZh | string | 豆瓣电影中文名 | - |
└─nameOrigin | string | 豆瓣电影原始名 | - |
└─runtime | int16 | 豆瓣电影运行片长 /m | - |
└─urlPoster | string | 豆瓣电影海报链接 | - |
└─haveSeen | int32 | 已看人数 | - |
└─wannaSee | int32 | 想看人数 | - |
└─summary | string | 简介 | - |
└─rate | object | 豆瓣电影评分信息 | - |
└─id | int64 | 豆瓣电影ID | - |
└─score | number | 豆瓣电影评分 | - |
└─vote | int32 | 豆瓣电影评分人数 | - |
└─rateColor | string | 评分主题色 | - |
└─score5 | number | 豆瓣5星比例 | - |
└─score4 | number | 豆瓣4星比例 | - |
└─score3 | number | 豆瓣3星比例 | - |
└─score2 | number | 豆瓣2星比例 | - |
└─score1 | number | 豆瓣1星比例 | - |
└─aliasList | array | 豆瓣电影别名列表 | - |
└─celebrityList | array | 豆瓣影人搜索提示列表 | - |
└─base | object | 豆瓣影人基础信息 | - |
└─id | int64 | 豆瓣影人ID | - |
└─urlCelebrityDouban | string | 豆瓣影人链接 | - |
└─idCelebrityImdb | string | IMDB影人ID | - |
└─urlCelebrityImdb | string | IMDB影人链接 | - |
└─nameZh | string | 豆瓣影人中文名 | - |
└─nameOrigin | string | 豆瓣影人英文名 | - |
└─sex | string | 性别 | - |
└─birthDate | string | 生日日期 | - |
└─urlPortrait | string | 豆瓣影人海报链接 | - |
└─summary | string | 影人简介 | - |
└─aliasList | array | 豆瓣影人别称列表 | - |
└─nameAlias | string | 豆瓣影人别称 | - |
└─isNikename | string | 是否为昵称 0-本名 1-昵称 | - |
Response-example:
{ "code":508, "msg":"no45ls", "data":{ "movieList":[ { "base":{ "id":484, "urlMovieDouban":"ahrxaq", "idTypeVideo":"ma7zmv", "typeVideo":"brbcb5", "idMovieImdb":"otas8g", "urlMovieImdb":"e74ppb", "startYear":9421, "nameZh":"xh9jsy", "nameOrigin":"7l7aak", "runtime":12722, "urlPoster":"0adsq3", "haveSeen":620, "wannaSee":387, "summary":"op4p0u" }, "rate":{ "id":454, "score":281, "vote":906, "rateColor":"wijgeo", "score5":108, "score4":460, "score3":390, "score2":242, "score1":414 }, "aliasList":[ "57nthe" ] } ], "celebrityList":[ { "base":{ "id":504, "urlCelebrityDouban":"9d06pb", "idCelebrityImdb":"jsg9jw", "urlCelebrityImdb":"y54rha", "nameZh":"ot52p5", "nameOrigin":"u5rku7", "sex":"jownl9", "birthDate":"2020-05-31", "urlPortrait":"588zto", "summary":"wnixbo" }, "aliasList":[ { "nameAlias":"q7he7t", "isNikename":"yeo4me" } ] } ] } }
6.2. 豆瓣搜索结果
Type: GET
Author: humingk
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description: 根据名称字符串找出豆瓣电影、豆瓣影人等基本信息列表
Request-headers:
Header | Type | Description | Required | Since |
---|---|---|---|---|
Authorization | string | access_token | false | 2.0.0 |
Request-parameters:
Parameter | Type | Description | Required | Since |
---|---|---|---|---|
keyword | string | 搜索关键字 | true | - |
offset | int32 | 偏移量(默认0) | false | - |
limit | int32 | 限制数(默认10) | false | - |
Request-example:
curl -X GET -i https://api.doubans.com/v2/search/douban/details?keyword=6ai5kl&limit=10&offset=0
Response-fields:
Field | Type | Description | Since |
---|---|---|---|
code | int32 | 状态码 | - |
msg | string | 状态信息 | - |
data | object | 具体结果 | - |
└─movieList | array | 豆瓣电影搜索结果列表 | - |
└─base | object | 豆瓣电影基础信息 | - |
└─id | int64 | 豆瓣电影ID | - |
└─urlMovieDouban | string | 豆瓣电影链接 | - |
└─idTypeVideo | string | 影片类型ID | - |
└─typeVideo | string | 影片类型 | - |
└─idMovieImdb | string | IMDB电影ID | - |
└─urlMovieImdb | string | IMDB电影链接 | - |
└─startYear | int16 | 上映时间 /year | - |
└─nameZh | string | 豆瓣电影中文名 | - |
└─nameOrigin | string | 豆瓣电影原始名 | - |
└─runtime | int16 | 豆瓣电影运行片长 /m | - |
└─urlPoster | string | 豆瓣电影海报链接 | - |
└─haveSeen | int32 | 已看人数 | - |
└─wannaSee | int32 | 想看人数 | - |
└─summary | string | 简介 | - |
└─rate | object | 豆瓣电影评分信息 | - |
└─id | int64 | 豆瓣电影ID | - |
└─score | number | 豆瓣电影评分 | - |
└─vote | int32 | 豆瓣电影评分人数 | - |
└─rateColor | string | 评分主题色 | - |
└─score5 | number | 豆瓣5星比例 | - |
└─score4 | number | 豆瓣4星比例 | - |
└─score3 | number | 豆瓣3星比例 | - |
└─score2 | number | 豆瓣2星比例 | - |
└─score1 | number | 豆瓣1星比例 | - |
└─aliasList | array | 豆瓣电影别名列表 | - |
└─typeList | array | 豆瓣电影-类型列表 | - |
└─celebrityList | array | 豆瓣电影影人列表 | - |
└─id | int64 | 豆瓣影人ID | - |
└─urlCelebrityDouban | string | 豆瓣影人链接 | - |
└─idCelebrityImdb | string | IMDB影人ID | - |
└─urlCelebrityImdb | string | IMDB影人链接 | - |
└─nameZh | string | 豆瓣影人中文名 | - |
└─nameOrigin | string | 豆瓣影人英文名 | - |
└─sex | string | 性别 | - |
└─birthDate | string | 生日日期 | - |
└─urlPortrait | string | 豆瓣影人海报链接 | - |
└─summary | string | 影人简介 | - |
└─relationList | array | 该影人与该电影的关系列表 | - |
└─idMovieDouban | int64 | 豆瓣电影ID | - |
└─idCelebrityDouban | int64 | 豆瓣影人ID | - |
└─idProfession | string | 该影人在该电影中的职位ID | - |
└─profession | string | 该影人在该电影中的职位 | - |
└─sort | int16 | 该影人在该电影中的演员排列顺序 | - |
└─celebrityList | array | 豆瓣影人搜索结果列表 | - |
└─base | object | 豆瓣影人基础信息 | - |
└─id | int64 | 豆瓣影人ID | - |
└─urlCelebrityDouban | string | 豆瓣影人链接 | - |
└─idCelebrityImdb | string | IMDB影人ID | - |
└─urlCelebrityImdb | string | IMDB影人链接 | - |
└─nameZh | string | 豆瓣影人中文名 | - |
└─nameOrigin | string | 豆瓣影人英文名 | - |
└─sex | string | 性别 | - |
└─birthDate | string | 生日日期 | - |
└─urlPortrait | string | 豆瓣影人海报链接 | - |
└─summary | string | 影人简介 | - |
└─aliasList | array | 豆瓣影人别称列表 | - |
└─nameAlias | string | 豆瓣影人别称 | - |
└─isNikename | string | 是否为昵称 0-本名 1-昵称 | - |
└─movieList | array | 与豆瓣影人相关的豆瓣电影列表 | - |
└─id | int64 | 豆瓣电影ID | - |
└─urlMovieDouban | string | 豆瓣电影链接 | - |
└─idTypeVideo | string | 影片类型ID | - |
└─typeVideo | string | 影片类型 | - |
└─idMovieImdb | string | IMDB电影ID | - |
└─urlMovieImdb | string | IMDB电影链接 | - |
└─startYear | int16 | 上映时间 /year | - |
└─nameZh | string | 豆瓣电影中文名 | - |
└─nameOrigin | string | 豆瓣电影原始名 | - |
└─runtime | int16 | 豆瓣电影运行片长 /m | - |
└─urlPoster | string | 豆瓣电影海报链接 | - |
└─haveSeen | int32 | 已看人数 | - |
└─wannaSee | int32 | 想看人数 | - |
└─summary | string | 简介 | - |
└─relationList | array | 该电影与该影人的关系列表 | - |
└─idMovieDouban | int64 | 豆瓣电影ID | - |
└─idCelebrityDouban | int64 | 豆瓣影人ID | - |
└─idProfession | string | 该影人在该电影中的职位ID | - |
└─profession | string | 该影人在该电影中的职位 | - |
└─sort | int16 | 该影人在该电影中的演员排列顺序 | - |
Response-example:
{ "code":220, "msg":"u1vv0l", "data":{ "movieList":[ { "base":{ "id":620, "urlMovieDouban":"ppbwlx", "idTypeVideo":"uwfgud", "typeVideo":"sl24ki", "idMovieImdb":"dyln6h", "urlMovieImdb":"eqdvgh", "startYear":29416, "nameZh":"d0f523", "nameOrigin":"u6kqfz", "runtime":11338, "urlPoster":"hppdkb", "haveSeen":932, "wannaSee":73, "summary":"as1quk" }, "rate":{ "id":246, "score":824, "vote":621, "rateColor":"hnfrt8", "score5":756, "score4":950, "score3":133, "score2":375, "score1":669 }, "aliasList":[ "saa3bl" ], "typeList":[ "49zerc" ], "celebrityList":[ { "id":274, "urlCelebrityDouban":"q50ypc", "idCelebrityImdb":"e8renj", "urlCelebrityImdb":"ird4po", "nameZh":"x7az1h", "nameOrigin":"jwesiz", "sex":"qvvvnd", "birthDate":"2020-05-31", "urlPortrait":"dnszhg", "summary":"e770fr", "relationList":[ { "idMovieDouban":240, "idCelebrityDouban":192, "idProfession":"z3au7r", "profession":"ik7l4t", "sort":28849 } ] } ] } ], "celebrityList":[ { "base":{ "id":269, "urlCelebrityDouban":"2rokjj", "idCelebrityImdb":"ghuov0", "urlCelebrityImdb":"b541vv", "nameZh":"gub7uh", "nameOrigin":"yhpjgn", "sex":"h0efen", "birthDate":"2020-05-31", "urlPortrait":"by5lea", "summary":"22vo8j" }, "aliasList":[ { "nameAlias":"sw4pwa", "isNikename":"k7r5q9" } ], "movieList":[ { "id":235, "urlMovieDouban":"r93hdu", "idTypeVideo":"huplz5", "typeVideo":"m3g6f6", "idMovieImdb":"vt1obe", "urlMovieImdb":"a12pn4", "startYear":4924, "nameZh":"nu3yip", "nameOrigin":"mno8iv", "runtime":24010, "urlPoster":"1ezdrj", "haveSeen":13, "wannaSee":85, "summary":"o2yk9v", "relationList":[ { "idMovieDouban":598, "idCelebrityDouban":262, "idProfession":"86sjkl", "profession":"b9y880", "sort":20811 } ] } ] } ] } }
7. 豆瓣电影搜索
7.1. 豆瓣电影搜索提示
Type: GET
Author: humingk
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description: 根据电影名称开头的字符串找出豆瓣电影的基本信息列表,查询结果为空的将替换为模糊匹配
Request-headers:
Header | Type | Description | Required | Since |
---|---|---|---|---|
Authorization | string | access_token | false | 2.0.0 |
Request-parameters:
Parameter | Type | Description | Required | Since |
---|---|---|---|---|
keyword | string | 搜索关键字 | true | - |
offset | int32 | 偏移量(默认0) | false | - |
limit | int32 | 限制数(默认10) | false | - |
Request-example:
curl -X GET -i https://api.doubans.com/v2/search/movie/douban/tips?keyword=xt8fwb&offset=0&limit=10
Response-fields:
Field | Type | Description | Since |
---|---|---|---|
code | int32 | 状态码 | - |
msg | string | 状态信息 | - |
data | object | 具体结果 | - |
└─base | object | 豆瓣电影基础信息 | - |
└─id | int64 | 豆瓣电影ID | - |
└─urlMovieDouban | string | 豆瓣电影链接 | - |
└─idTypeVideo | string | 影片类型ID | - |
└─typeVideo | string | 影片类型 | - |
└─idMovieImdb | string | IMDB电影ID | - |
└─urlMovieImdb | string | IMDB电影链接 | - |
└─startYear | int16 | 上映时间 /year | - |
└─nameZh | string | 豆瓣电影中文名 | - |
└─nameOrigin | string | 豆瓣电影原始名 | - |
└─runtime | int16 | 豆瓣电影运行片长 /m | - |
└─urlPoster | string | 豆瓣电影海报链接 | - |
└─haveSeen | int32 | 已看人数 | - |
└─wannaSee | int32 | 想看人数 | - |
└─summary | string | 简介 | - |
└─rate | object | 豆瓣电影评分信息 | - |
└─id | int64 | 豆瓣电影ID | - |
└─score | number | 豆瓣电影评分 | - |
└─vote | int32 | 豆瓣电影评分人数 | - |
└─rateColor | string | 评分主题色 | - |
└─score5 | number | 豆瓣5星比例 | - |
└─score4 | number | 豆瓣4星比例 | - |
└─score3 | number | 豆瓣3星比例 | - |
└─score2 | number | 豆瓣2星比例 | - |
└─score1 | number | 豆瓣1星比例 | - |
└─aliasList | array | 豆瓣电影别名列表 | - |
Response-example:
{ "code":689, "msg":"ova8bp", "data":[ { "base":{ "id":269, "urlMovieDouban":"vt8zf2", "idTypeVideo":"llttkl", "typeVideo":"xcs6e6", "idMovieImdb":"d1s2pn", "urlMovieImdb":"5uy812", "startYear":7176, "nameZh":"yekp6s", "nameOrigin":"1494p3", "runtime":6672, "urlPoster":"8co6bp", "haveSeen":226, "wannaSee":230, "summary":"vxzsfx" }, "rate":{ "id":130, "score":599, "vote":953, "rateColor":"gjyas6", "score5":575, "score4":772, "score3":694, "score2":705, "score1":922 }, "aliasList":[ "dks8pl" ] } ] }
7.2. 豆瓣电影搜索结果
Type: GET
Author: humingk
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description: 根据电影名称字符串找出豆瓣电影的基本信息列表
Request-headers:
Header | Type | Description | Required | Since |
---|---|---|---|---|
Authorization | string | access_token | false | 2.0.0 |
Request-parameters:
Parameter | Type | Description | Required | Since |
---|---|---|---|---|
keyword | string | 搜索关键字 | true | - |
offset | int32 | 偏移量(默认0) | false | - |
limit | int32 | 限制数(默认10) | false | - |
Request-example:
curl -X GET -i https://api.doubans.com/v2/search/movie/douban/details?limit=10&offset=0&keyword=yfrnc8
Response-fields:
Field | Type | Description | Since |
---|---|---|---|
code | int32 | 状态码 | - |
msg | string | 状态信息 | - |
data | object | 具体结果 | - |
└─base | object | 豆瓣电影基础信息 | - |
└─id | int64 | 豆瓣电影ID | - |
└─urlMovieDouban | string | 豆瓣电影链接 | - |
└─idTypeVideo | string | 影片类型ID | - |
└─typeVideo | string | 影片类型 | - |
└─idMovieImdb | string | IMDB电影ID | - |
└─urlMovieImdb | string | IMDB电影链接 | - |
└─startYear | int16 | 上映时间 /year | - |
└─nameZh | string | 豆瓣电影中文名 | - |
└─nameOrigin | string | 豆瓣电影原始名 | - |
└─runtime | int16 | 豆瓣电影运行片长 /m | - |
└─urlPoster | string | 豆瓣电影海报链接 | - |
└─haveSeen | int32 | 已看人数 | - |
└─wannaSee | int32 | 想看人数 | - |
└─summary | string | 简介 | - |
└─rate | object | 豆瓣电影评分信息 | - |
└─id | int64 | 豆瓣电影ID | - |
└─score | number | 豆瓣电影评分 | - |
└─vote | int32 | 豆瓣电影评分人数 | - |
└─rateColor | string | 评分主题色 | - |
└─score5 | number | 豆瓣5星比例 | - |
└─score4 | number | 豆瓣4星比例 | - |
└─score3 | number | 豆瓣3星比例 | - |
└─score2 | number | 豆瓣2星比例 | - |
└─score1 | number | 豆瓣1星比例 | - |
└─aliasList | array | 豆瓣电影别名列表 | - |
└─typeList | array | 豆瓣电影-类型列表 | - |
└─celebrityList | array | 豆瓣电影影人列表 | - |
└─id | int64 | 豆瓣影人ID | - |
└─urlCelebrityDouban | string | 豆瓣影人链接 | - |
└─idCelebrityImdb | string | IMDB影人ID | - |
└─urlCelebrityImdb | string | IMDB影人链接 | - |
└─nameZh | string | 豆瓣影人中文名 | - |
└─nameOrigin | string | 豆瓣影人英文名 | - |
└─sex | string | 性别 | - |
└─birthDate | string | 生日日期 | - |
└─urlPortrait | string | 豆瓣影人海报链接 | - |
└─summary | string | 影人简介 | - |
└─relationList | array | 该影人与该电影的关系列表 | - |
└─idMovieDouban | int64 | 豆瓣电影ID | - |
└─idCelebrityDouban | int64 | 豆瓣影人ID | - |
└─idProfession | string | 该影人在该电影中的职位ID | - |
└─profession | string | 该影人在该电影中的职位 | - |
└─sort | int16 | 该影人在该电影中的演员排列顺序 | - |
Response-example:
{ "code":787, "msg":"h4tcx0", "data":[ { "base":{ "id":819, "urlMovieDouban":"812wru", "idTypeVideo":"ug1r2q", "typeVideo":"fydusj", "idMovieImdb":"t3tmqj", "urlMovieImdb":"e0joke", "startYear":12417, "nameZh":"1iq27s", "nameOrigin":"i7ouzm", "runtime":17151, "urlPoster":"nn7o1r", "haveSeen":447, "wannaSee":229, "summary":"6pyoyq" }, "rate":{ "id":822, "score":569, "vote":510, "rateColor":"n5nnik", "score5":539, "score4":923, "score3":522, "score2":173, "score1":873 }, "aliasList":[ "fbu8oa" ], "typeList":[ "y80dv7" ], "celebrityList":[ { "id":851, "urlCelebrityDouban":"fz3p5k", "idCelebrityImdb":"yoed51", "urlCelebrityImdb":"2m4rwz", "nameZh":"fpnm23", "nameOrigin":"l1txfy", "sex":"6vtv5r", "birthDate":"2020-05-31", "urlPortrait":"w9mb5l", "summary":"ey0f0a", "relationList":[ { "idMovieDouban":292, "idCelebrityDouban":821, "idProfession":"vwgqub", "profession":"2tncvu", "sort":22381 } ] } ] } ] }
8. 豆瓣影人搜索
8.1. 豆瓣影人搜索提示
Type: GET
Author: humingk
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description: 根据影人名称开头的字符串找出豆瓣影人的基本信息列表,,查询结果为空的将替换为模糊匹配
Request-headers:
Header | Type | Description | Required | Since |
---|---|---|---|---|
Authorization | string | access_token | false | 2.0.0 |
Request-parameters:
Parameter | Type | Description | Required | Since |
---|---|---|---|---|
keyword | string | 搜索关键字 | true | - |
offset | int32 | 偏移量(默认0) | false | - |
limit | int32 | 限制数(默认10) | false | - |
Request-example:
curl -X GET -i https://api.doubans.com/v2/search/celebrity/douban/tips?offset=0&keyword=w344so&limit=10
Response-fields:
Field | Type | Description | Since |
---|---|---|---|
code | int32 | 状态码 | - |
msg | string | 状态信息 | - |
data | object | 具体结果 | - |
└─base | object | 豆瓣影人基础信息 | - |
└─id | int64 | 豆瓣影人ID | - |
└─urlCelebrityDouban | string | 豆瓣影人链接 | - |
└─idCelebrityImdb | string | IMDB影人ID | - |
└─urlCelebrityImdb | string | IMDB影人链接 | - |
└─nameZh | string | 豆瓣影人中文名 | - |
└─nameOrigin | string | 豆瓣影人英文名 | - |
└─sex | string | 性别 | - |
└─birthDate | string | 生日日期 | - |
└─urlPortrait | string | 豆瓣影人海报链接 | - |
└─summary | string | 影人简介 | - |
└─aliasList | array | 豆瓣影人别称列表 | - |
└─nameAlias | string | 豆瓣影人别称 | - |
└─isNikename | string | 是否为昵称 0-本名 1-昵称 | - |
Response-example:
{ "code":228, "msg":"blqf2k", "data":[ { "base":{ "id":665, "urlCelebrityDouban":"nihd67", "idCelebrityImdb":"4a7dpy", "urlCelebrityImdb":"6al53z", "nameZh":"imf2cf", "nameOrigin":"w5r78p", "sex":"td72pb", "birthDate":"2020-05-31", "urlPortrait":"6f9zg6", "summary":"chgfgk" }, "aliasList":[ { "nameAlias":"udkkv6", "isNikename":"49tjd9" } ] } ] }
8.2. 豆瓣影人搜索结果
Type: GET
Author: humingk
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description: 根据影人名称字符串找出豆瓣影人的基本信息列表
Request-headers:
Header | Type | Description | Required | Since |
---|---|---|---|---|
Authorization | string | access_token | false | 2.0.0 |
Request-parameters:
Parameter | Type | Description | Required | Since |
---|---|---|---|---|
keyword | string | 搜索关键字 | true | - |
offset | int32 | 偏移量(默认0) | false | - |
limit | int32 | 限制数(默认10) | false | - |
Request-example:
curl -X GET -i https://api.doubans.com/v2/search/celebrity/douban/details?limit=10&keyword=8cbi2w&offset=0
Response-fields:
Field | Type | Description | Since |
---|---|---|---|
code | int32 | 状态码 | - |
msg | string | 状态信息 | - |
data | object | 具体结果 | - |
└─base | object | 豆瓣影人基础信息 | - |
└─id | int64 | 豆瓣影人ID | - |
└─urlCelebrityDouban | string | 豆瓣影人链接 | - |
└─idCelebrityImdb | string | IMDB影人ID | - |
└─urlCelebrityImdb | string | IMDB影人链接 | - |
└─nameZh | string | 豆瓣影人中文名 | - |
└─nameOrigin | string | 豆瓣影人英文名 | - |
└─sex | string | 性别 | - |
└─birthDate | string | 生日日期 | - |
└─urlPortrait | string | 豆瓣影人海报链接 | - |
└─summary | string | 影人简介 | - |
└─aliasList | array | 豆瓣影人别称列表 | - |
└─nameAlias | string | 豆瓣影人别称 | - |
└─isNikename | string | 是否为昵称 0-本名 1-昵称 | - |
└─movieList | array | 与豆瓣影人相关的豆瓣电影列表 | - |
└─id | int64 | 豆瓣电影ID | - |
└─urlMovieDouban | string | 豆瓣电影链接 | - |
└─idTypeVideo | string | 影片类型ID | - |
└─typeVideo | string | 影片类型 | - |
└─idMovieImdb | string | IMDB电影ID | - |
└─urlMovieImdb | string | IMDB电影链接 | - |
└─startYear | int16 | 上映时间 /year | - |
└─nameZh | string | 豆瓣电影中文名 | - |
└─nameOrigin | string | 豆瓣电影原始名 | - |
└─runtime | int16 | 豆瓣电影运行片长 /m | - |
└─urlPoster | string | 豆瓣电影海报链接 | - |
└─haveSeen | int32 | 已看人数 | - |
└─wannaSee | int32 | 想看人数 | - |
└─summary | string | 简介 | - |
└─relationList | array | 该电影与该影人的关系列表 | - |
└─idMovieDouban | int64 | 豆瓣电影ID | - |
└─idCelebrityDouban | int64 | 豆瓣影人ID | - |
└─idProfession | string | 该影人在该电影中的职位ID | - |
└─profession | string | 该影人在该电影中的职位 | - |
└─sort | int16 | 该影人在该电影中的演员排列顺序 | - |
Response-example:
{ "code":79, "msg":"idvk2q", "data":[ { "base":{ "id":232, "urlCelebrityDouban":"xorwq4", "idCelebrityImdb":"qjcyif", "urlCelebrityImdb":"mdwe6k", "nameZh":"uxpuwf", "nameOrigin":"hkwgv4", "sex":"ftolyr", "birthDate":"2020-05-31", "urlPortrait":"xq01qr", "summary":"qw3jl9" }, "aliasList":[ { "nameAlias":"room6q", "isNikename":"tb3vmx" } ], "movieList":[ { "id":301, "urlMovieDouban":"j5yggz", "idTypeVideo":"3epyiv", "typeVideo":"t0i4jc", "idMovieImdb":"t3xk24", "urlMovieImdb":"qqu8w5", "startYear":459, "nameZh":"pmnaxz", "nameOrigin":"03daai", "runtime":3493, "urlPoster":"fwezr2", "haveSeen":60, "wannaSee":253, "summary":"rv1awq", "relationList":[ { "idMovieDouban":888, "idCelebrityDouban":325, "idProfession":"jbivqm", "profession":"dct9iu", "sort":15492 } ] } ] } ] }
9. 场景电影搜索
9.1. 场景电影搜索提示
Type: GET
Author: humingk
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description: 根据电影名称开头的字符串找出场景电影的基本信息列表,,查询结果为空的将替换为模糊匹配
Request-headers:
Header | Type | Description | Required | Since |
---|---|---|---|---|
Authorization | string | access_token | false | 2.0.0 |
Request-parameters:
Parameter | Type | Description | Required | Since |
---|---|---|---|---|
keyword | string | 搜索关键字 | true | - |
offset | int32 | 偏移量(默认0) | false | - |
limit | int32 | 限制数(默认10) | false | - |
Request-example:
curl -X GET -i https://api.doubans.com/v2/search/movie/scene/tips?keyword=vzlo29&limit=10&offset=0
Response-fields:
Field | Type | Description | Since |
---|---|---|---|
code | int32 | 状态码 | - |
msg | string | 状态信息 | - |
data | object | 具体结果 | - |
└─id | int64 | 场景电影ID | - |
└─urlMovieScene | string | 场景电影链接 | - |
└─idMovieDouban | int64 | 豆瓣电影ID 0-未匹配 1-已匹配 | - |
└─urlMovieDouban | string | 豆瓣电影链接 | - |
└─nameZh | string | 场景电影中文名 | - |
└─nameEn | string | 场景电影英文名 | - |
└─startYear | int16 | 上映时间 /year | - |
└─description | string | 场景电影拍摄地点大致描述 | - |
└─urlMap | string | 场景电影地点分布图链接 | - |
Response-example:
{ "code":479, "msg":"4y86p4", "data":[ { "id":61, "urlMovieScene":"sbdcpw", "idMovieDouban":507, "urlMovieDouban":"kumdax", "nameZh":"ikhqf6", "nameEn":"n1mt9n", "startYear":30414, "description":"ly9x51", "urlMap":"hkg7tv" } ] }
10. 豆瓣影人
10.1. 豆瓣影人基础信息
Type: GET
Author: humingk
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description: 包括影人头像,影人简介等
Request-headers:
Header | Type | Description | Required | Since |
---|---|---|---|---|
Authorization | string | access_token | false | 2.0.0 |
Request-parameters:
Parameter | Type | Description | Required | Since |
---|---|---|---|---|
id | int64 | 豆瓣影人ID | true | - |
Request-example:
curl -X GET -i https://api.doubans.com/v2/celebrity/douban/bases?id=41
Response-fields:
Field | Type | Description | Since |
---|---|---|---|
code | int32 | 状态码 | - |
msg | string | 状态信息 | - |
data | object | 具体结果 | - |
└─id | int64 | 豆瓣影人ID | - |
└─urlCelebrityDouban | string | 豆瓣影人链接 | - |
└─idCelebrityImdb | string | IMDB影人ID | - |
└─urlCelebrityImdb | string | IMDB影人链接 | - |
└─nameZh | string | 豆瓣影人中文名 | - |
└─nameOrigin | string | 豆瓣影人英文名 | - |
└─sex | string | 性别 | - |
└─birthDate | string | 生日日期 | - |
└─urlPortrait | string | 豆瓣影人海报链接 | - |
└─summary | string | 影人简介 | - |
Response-example:
{ "code":247, "msg":"bfombd", "data":{ "id":953, "urlCelebrityDouban":"prwd3c", "idCelebrityImdb":"j2ofm5", "urlCelebrityImdb":"p31o13", "nameZh":"1u8lk8", "nameOrigin":"i4cz9b", "sex":"8n7mqu", "birthDate":"2020-05-31", "urlPortrait":"iyhx1f", "summary":"v84pr6" } }
10.2. 豆瓣影人详细信息
Type: GET
Author: humingk
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description: 包括影人基础信息,别称,图片,相关的豆瓣电影,获得的奖项
Request-headers:
Header | Type | Description | Required | Since |
---|---|---|---|---|
Authorization | string | access_token | false | 2.0.0 |
Request-parameters:
Parameter | Type | Description | Required | Since |
---|---|---|---|---|
id | int64 | 豆瓣影人ID | true | - |
limit | int32 | 相关电影限制数(默认10) | false | - |
Request-example:
curl -X GET -i https://api.doubans.com/v2/celebrity/douban/details?limit=10&id=311
Response-fields:
Field | Type | Description | Since |
---|---|---|---|
code | int32 | 状态码 | - |
msg | string | 状态信息 | - |
data | object | 具体结果 | - |
└─base | object | 豆瓣影人基础信息 | - |
└─id | int64 | 豆瓣影人ID | - |
└─urlCelebrityDouban | string | 豆瓣影人链接 | - |
└─idCelebrityImdb | string | IMDB影人ID | - |
└─urlCelebrityImdb | string | IMDB影人链接 | - |
└─nameZh | string | 豆瓣影人中文名 | - |
└─nameOrigin | string | 豆瓣影人英文名 | - |
└─sex | string | 性别 | - |
└─birthDate | string | 生日日期 | - |
└─urlPortrait | string | 豆瓣影人海报链接 | - |
└─summary | string | 影人简介 | - |
└─aliasList | array | 豆瓣影人别称列表 | - |
└─nameAlias | string | 豆瓣影人别称 | - |
└─isNikename | string | 是否为昵称 0-本名 1-昵称 | - |
└─imageList | array | 豆瓣影人图片列表 | - |
└─id | int64 | 豆瓣图片ID | - |
└─urlImageSqxs | string | 豆瓣图片链接 sqxs | - |
└─urlImageS | string | 豆瓣图片链接 s | - |
└─urlImageM | string | 豆瓣图片链接 m | - |
└─urlImageL | string | 豆瓣图片链接 L | - |
└─sort | string | 序号 | - |
└─length | int32 | Large版本的长 /px | - |
└─width | int32 | Large版本的宽 /px | - |
└─movieListOrderByScore | array | 与豆瓣影人相关的豆瓣电影列表 order by score | - |
└─id | int64 | 豆瓣电影ID | - |
└─urlMovieDouban | string | 豆瓣电影链接 | - |
└─idTypeVideo | string | 影片类型ID | - |
└─typeVideo | string | 影片类型 | - |
└─idMovieImdb | string | IMDB电影ID | - |
└─urlMovieImdb | string | IMDB电影链接 | - |
└─startYear | int16 | 上映时间 /year | - |
└─nameZh | string | 豆瓣电影中文名 | - |
└─nameOrigin | string | 豆瓣电影原始名 | - |
└─runtime | int16 | 豆瓣电影运行片长 /m | - |
└─urlPoster | string | 豆瓣电影海报链接 | - |
└─haveSeen | int32 | 已看人数 | - |
└─wannaSee | int32 | 想看人数 | - |
└─summary | string | 简介 | - |
└─relationList | array | 该电影与该影人的关系列表 | - |
└─idMovieDouban | int64 | 豆瓣电影ID | - |
└─idCelebrityDouban | int64 | 豆瓣影人ID | - |
└─idProfession | string | 该影人在该电影中的职位ID | - |
└─profession | string | 该影人在该电影中的职位 | - |
└─sort | int16 | 该影人在该电影中的演员排列顺序 | - |
└─movieListOrderByStartYear | array | 与豆瓣影人相关的豆瓣电影列表 order by start year | - |
└─id | int64 | 豆瓣电影ID | - |
└─urlMovieDouban | string | 豆瓣电影链接 | - |
└─idTypeVideo | string | 影片类型ID | - |
└─typeVideo | string | 影片类型 | - |
└─idMovieImdb | string | IMDB电影ID | - |
└─urlMovieImdb | string | IMDB电影链接 | - |
└─startYear | int16 | 上映时间 /year | - |
└─nameZh | string | 豆瓣电影中文名 | - |
└─nameOrigin | string | 豆瓣电影原始名 | - |
└─runtime | int16 | 豆瓣电影运行片长 /m | - |
└─urlPoster | string | 豆瓣电影海报链接 | - |
└─haveSeen | int32 | 已看人数 | - |
└─wannaSee | int32 | 想看人数 | - |
└─summary | string | 简介 | - |
└─relationList | array | 该电影与该影人的关系列表 | - |
└─idMovieDouban | int64 | 豆瓣电影ID | - |
└─idCelebrityDouban | int64 | 豆瓣影人ID | - |
└─idProfession | string | 该影人在该电影中的职位ID | - |
└─profession | string | 该影人在该电影中的职位 | - |
└─sort | int16 | 该影人在该电影中的演员排列顺序 | - |
└─awardList | array | 豆瓣影人-电影奖项 | - |
└─idMovieDouban | int64 | 豆瓣电影ID | - |
└─idAwardMovie | string | 获奖奖项ID | - |
└─nameZh | string | 奖项中文名 | - |
└─urlAward | string | 奖项链接 | - |
└─idCelebrityDouban | int64 | 获奖豆瓣影人ID | - |
└─urlCelebrityDouban | string | 豆瓣影人链接 | - |
└─typeAward | string | 奖项的类别中文名 | - |
└─awardTh | int16 | 获奖奖项届数 | - |
└─isNominated | string | 是否提名 0-仅提名未获奖 1-已提名且获奖 | - |
Response-example:
{ "code":547, "msg":"inbxzx", "data":{ "base":{ "id":598, "urlCelebrityDouban":"z12akx", "idCelebrityImdb":"wus6dt", "urlCelebrityImdb":"mum8dq", "nameZh":"e4ftrk", "nameOrigin":"3yzf64", "sex":"z6arae", "birthDate":"2020-05-31", "urlPortrait":"rle27r", "summary":"c0dvw6" }, "aliasList":[ { "nameAlias":"bn9dws", "isNikename":"yud9zl" } ], "imageList":[ { "id":562, "urlImageSqxs":"ibj3l6", "urlImageS":"c3cgz5", "urlImageM":"55qqw9", "urlImageL":"1j3vu0", "sort":"gdbjbm", "length":103, "width":516 } ], "movieListOrderByScore":[ { "id":893, "urlMovieDouban":"km9w7q", "idTypeVideo":"16g1kd", "typeVideo":"n4mhfb", "idMovieImdb":"ry7ow9", "urlMovieImdb":"6rhlcu", "startYear":17608, "nameZh":"9h4f74", "nameOrigin":"lkrk8i", "runtime":11669, "urlPoster":"jikmun", "haveSeen":792, "wannaSee":36, "summary":"9jsvuj", "relationList":[ { "idMovieDouban":181, "idCelebrityDouban":865, "idProfession":"25vt92", "profession":"jatwdj", "sort":17708 } ] } ], "movieListOrderByStartYear":[ { "id":455, "urlMovieDouban":"1hff5q", "idTypeVideo":"o9rpum", "typeVideo":"r2htdg", "idMovieImdb":"72n4dh", "urlMovieImdb":"omu9bm", "startYear":5469, "nameZh":"jfd549", "nameOrigin":"j0ls3d", "runtime":7995, "urlPoster":"y6e770", "haveSeen":277, "wannaSee":198, "summary":"7klz5a", "relationList":[ { "idMovieDouban":301, "idCelebrityDouban":711, "idProfession":"78tpub", "profession":"wtmgpr", "sort":5212 } ] } ], "awardList":[ { "idMovieDouban":601, "idAwardMovie":"2j4ea4", "nameZh":"hoa0sm", "urlAward":"4i4rhc", "idCelebrityDouban":186, "urlCelebrityDouban":"4cxsid", "typeAward":"xngcrz", "awardTh":23581, "isNominated":"ulpsd8" } ] } }
10.3. 豆瓣影人合作过的影人基础信息
Type: GET
Author: humingk
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description: 包括影人照片、基础信息、相关电影基础信息(电影海报、基础信息)
Request-headers:
Header | Type | Description | Required | Since |
---|---|---|---|---|
Authorization | string | access_token | false | 2.0.0 |
Request-parameters:
Parameter | Type | Description | Required | Since |
---|---|---|---|---|
id | int64 | 豆瓣影人ID | true | - |
offset | int32 | 合作次数偏移量(默认0) | false | - |
limit | int32 | 合作次数限制数(默认10) | false | - |
Request-example:
curl -X GET -i https://api.doubans.com/v2/celebrity/douban/cooperators_bases?id=493&limit=10&offset=0
Response-fields:
Field | Type | Description | Since |
---|---|---|---|
code | int32 | 状态码 | - |
msg | string | 状态信息 | - |
data | object | 具体结果 | - |
Response-example:
{ "code":665, "msg":"dudeod", "data":{ "waring":"You may have used non-display generics." } }
11. 影人集合
11.1. 影人基础信息
Type: GET
Author: humingk
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description: 包括影人头像,影人简介等
Request-headers:
Header | Type | Description | Required | Since |
---|---|---|---|---|
Authorization | string | access_token | false | 2.0.0 |
Request-parameters:
Parameter | Type | Description | Required | Since |
---|---|---|---|---|
id | int64 | 豆瓣影人ID | true | - |
Request-example:
curl -X GET -i https://api.doubans.com/v2/celebrity/bases?id=514
Response-fields:
Field | Type | Description | Since |
---|---|---|---|
code | int32 | 状态码 | - |
msg | string | 状态信息 | - |
data | object | 具体结果 | - |
└─douban | object | 豆瓣影人基础信息 | - |
└─id | int64 | 豆瓣影人ID | - |
└─urlCelebrityDouban | string | 豆瓣影人链接 | - |
└─idCelebrityImdb | string | IMDB影人ID | - |
└─urlCelebrityImdb | string | IMDB影人链接 | - |
└─nameZh | string | 豆瓣影人中文名 | - |
└─nameOrigin | string | 豆瓣影人英文名 | - |
└─sex | string | 性别 | - |
└─birthDate | string | 生日日期 | - |
└─urlPortrait | string | 豆瓣影人海报链接 | - |
└─summary | string | 影人简介 | - |
└─imdb | object | IMDB影人基础信息 | - |
└─id | string | IMDB影人ID | - |
└─nameEn | string | IMDB影人英文名 | - |
└─birthYear | int16 | 出生年份 /year | - |
└─idCelebrityDouban | int64 | 豆瓣影人ID 0-未匹配 1-已匹配 | - |
Response-example:
{ "code":570, "msg":"jpbco3", "data":{ "douban":{ "id":678, "urlCelebrityDouban":"67168c", "idCelebrityImdb":"i8q7z3", "urlCelebrityImdb":"irnmhz", "nameZh":"9zfr09", "nameOrigin":"i2hcy4", "sex":"9hbql7", "birthDate":"2020-05-31", "urlPortrait":"lbv1lj", "summary":"lbio60" }, "imdb":{ "id":"21", "nameEn":"r4mdji", "birthYear":25315, "idCelebrityDouban":29 } } }
11.2. 影人详细信息
Type: GET
Author: humingk
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description: 包括影人基础信息,别称,图片,相关的电影,获得的奖项
Request-headers:
Header | Type | Description | Required | Since |
---|---|---|---|---|
Authorization | string | access_token | false | 2.0.0 |
Request-parameters:
Parameter | Type | Description | Required | Since |
---|---|---|---|---|
id | int64 | 豆瓣影人ID | true | - |
doubanLimit | int32 | 豆瓣相关的电影限制数(默认10) | false | - |
imdbLimit | int32 | IMDB相关的电影限制数(默认10) | false | - |
Request-example:
curl -X GET -i https://api.doubans.com/v2/celebrity/details?id=725&doubanLimit=10&imdbLimit=10
Response-fields:
Field | Type | Description | Since |
---|---|---|---|
code | int32 | 状态码 | - |
msg | string | 状态信息 | - |
data | object | 具体结果 | - |
└─douban | object | 豆瓣影人详细信息 | - |
└─base | object | 豆瓣影人基础信息 | - |
└─id | int64 | 豆瓣影人ID | - |
└─urlCelebrityDouban | string | 豆瓣影人链接 | - |
└─idCelebrityImdb | string | IMDB影人ID | - |
└─urlCelebrityImdb | string | IMDB影人链接 | - |
└─nameZh | string | 豆瓣影人中文名 | - |
└─nameOrigin | string | 豆瓣影人英文名 | - |
└─sex | string | 性别 | - |
└─birthDate | string | 生日日期 | - |
└─urlPortrait | string | 豆瓣影人海报链接 | - |
└─summary | string | 影人简介 | - |
└─aliasList | array | 豆瓣影人别称列表 | - |
└─nameAlias | string | 豆瓣影人别称 | - |
└─isNikename | string | 是否为昵称 0-本名 1-昵称 | - |
└─imageList | array | 豆瓣影人图片列表 | - |
└─id | int64 | 豆瓣图片ID | - |
└─urlImageSqxs | string | 豆瓣图片链接 sqxs | - |
└─urlImageS | string | 豆瓣图片链接 s | - |
└─urlImageM | string | 豆瓣图片链接 m | - |
└─urlImageL | string | 豆瓣图片链接 L | - |
└─sort | string | 序号 | - |
└─length | int32 | Large版本的长 /px | - |
└─width | int32 | Large版本的宽 /px | - |
└─movieListOrderByScore | array | 与豆瓣影人相关的豆瓣电影列表 order by score | - |
└─id | int64 | 豆瓣电影ID | - |
└─urlMovieDouban | string | 豆瓣电影链接 | - |
└─idTypeVideo | string | 影片类型ID | - |
└─typeVideo | string | 影片类型 | - |
└─idMovieImdb | string | IMDB电影ID | - |
└─urlMovieImdb | string | IMDB电影链接 | - |
└─startYear | int16 | 上映时间 /year | - |
└─nameZh | string | 豆瓣电影中文名 | - |
└─nameOrigin | string | 豆瓣电影原始名 | - |
└─runtime | int16 | 豆瓣电影运行片长 /m | - |
└─urlPoster | string | 豆瓣电影海报链接 | - |
└─haveSeen | int32 | 已看人数 | - |
└─wannaSee | int32 | 想看人数 | - |
└─summary | string | 简介 | - |
└─relationList | array | 该电影与该影人的关系列表 | - |
└─idMovieDouban | int64 | 豆瓣电影ID | - |
└─idCelebrityDouban | int64 | 豆瓣影人ID | - |
└─idProfession | string | 该影人在该电影中的职位ID | - |
└─profession | string | 该影人在该电影中的职位 | - |
└─sort | int16 | 该影人在该电影中的演员排列顺序 | - |
└─movieListOrderByStartYear | array | 与豆瓣影人相关的豆瓣电影列表 order by start year | - |
└─id | int64 | 豆瓣电影ID | - |
└─urlMovieDouban | string | 豆瓣电影链接 | - |
└─idTypeVideo | string | 影片类型ID | - |
└─typeVideo | string | 影片类型 | - |
└─idMovieImdb | string | IMDB电影ID | - |
└─urlMovieImdb | string | IMDB电影链接 | - |
└─startYear | int16 | 上映时间 /year | - |
└─nameZh | string | 豆瓣电影中文名 | - |
└─nameOrigin | string | 豆瓣电影原始名 | - |
└─runtime | int16 | 豆瓣电影运行片长 /m | - |
└─urlPoster | string | 豆瓣电影海报链接 | - |
└─haveSeen | int32 | 已看人数 | - |
└─wannaSee | int32 | 想看人数 | - |
└─summary | string | 简介 | - |
└─relationList | array | 该电影与该影人的关系列表 | - |
└─idMovieDouban | int64 | 豆瓣电影ID | - |
└─idCelebrityDouban | int64 | 豆瓣影人ID | - |
└─idProfession | string | 该影人在该电影中的职位ID | - |
└─profession | string | 该影人在该电影中的职位 | - |
└─sort | int16 | 该影人在该电影中的演员排列顺序 | - |
└─awardList | array | 豆瓣影人-电影奖项 | - |
└─idMovieDouban | int64 | 豆瓣电影ID | - |
└─idAwardMovie | string | 获奖奖项ID | - |
└─nameZh | string | 奖项中文名 | - |
└─urlAward | string | 奖项链接 | - |
└─idCelebrityDouban | int64 | 获奖豆瓣影人ID | - |
└─urlCelebrityDouban | string | 豆瓣影人链接 | - |
└─typeAward | string | 奖项的类别中文名 | - |
└─awardTh | int16 | 获奖奖项届数 | - |
└─isNominated | string | 是否提名 0-仅提名未获奖 1-已提名且获奖 | - |
└─imdb | object | IMDB影人详细信息 | - |
└─base | object | IMDB影人基础信息 | - |
└─id | string | IMDB影人ID | - |
└─nameEn | string | IMDB影人英文名 | - |
└─birthYear | int16 | 出生年份 /year | - |
└─idCelebrityDouban | int64 | 豆瓣影人ID 0-未匹配 1-已匹配 | - |
└─movieList | array | 与IMDB影人相关的IMDB电影 | - |
└─id | string | IMDB电影ID | - |
└─idTypeVideo | string | 影片类型ID | - |
└─typeVideo | string | 影片类型 | - |
└─nameEn | string | IMDB电影英文名 | - |
└─startYear | int16 | IMDB电影发行年份 | - |
└─isAdult | string | 是否是成人电影 0-不是 1-是 | - |
└─nameOrigin | string | IMDB电影原始名 | - |
└─runtime | int16 | IMDB电影片长 /m | - |
└─urlPoster | string | IMDB海报链接 | - |
└─idMovieDouban | int64 | 豆瓣电影ID 0-未匹配 1-已匹配 | - |
└─summary | string | 简介 | - |
└─relationList | array | 该电影与该影人的关系列表 | - |
└─idMovieImdb | int64 | IMDB电影ID | - |
└─idCelebrityImdb | int64 | IMDB影人ID | - |
└─idProfession | string | 该影人在该电影中的职位ID | - |
└─profession | string | 该影人在该电影中的职位 | - |
Response-example:
{ "code":278, "msg":"v2gekd", "data":{ "douban":{ "base":{ "id":749, "urlCelebrityDouban":"mcb97e", "idCelebrityImdb":"xja9gi", "urlCelebrityImdb":"zbm0p5", "nameZh":"wtwjui", "nameOrigin":"fwl8s9", "sex":"vfw72d", "birthDate":"2020-05-31", "urlPortrait":"d387q9", "summary":"wv1o8d" }, "aliasList":[ { "nameAlias":"8xzkrn", "isNikename":"l8fkf3" } ], "imageList":[ { "id":505, "urlImageSqxs":"fjdfqv", "urlImageS":"hh2ih5", "urlImageM":"hn5i07", "urlImageL":"t8jfux", "sort":"vin6a1", "length":131, "width":305 } ], "movieListOrderByScore":[ { "id":828, "urlMovieDouban":"tgzkjp", "idTypeVideo":"bzb62a", "typeVideo":"y4qrdp", "idMovieImdb":"2775nu", "urlMovieImdb":"4r6khq", "startYear":12537, "nameZh":"uxp1qd", "nameOrigin":"lizr5q", "runtime":30818, "urlPoster":"o8ghrk", "haveSeen":494, "wannaSee":758, "summary":"cyhbrf", "relationList":[ { "idMovieDouban":368, "idCelebrityDouban":789, "idProfession":"nup76n", "profession":"rrlo4o", "sort":11011 } ] } ], "movieListOrderByStartYear":[ { "id":513, "urlMovieDouban":"jnuxa6", "idTypeVideo":"ue43up", "typeVideo":"7jvfei", "idMovieImdb":"al75ur", "urlMovieImdb":"jp5kz8", "startYear":20478, "nameZh":"7b6w3e", "nameOrigin":"j4cx7v", "runtime":29529, "urlPoster":"kfhsrb", "haveSeen":185, "wannaSee":744, "summary":"m94spd", "relationList":[ { "idMovieDouban":452, "idCelebrityDouban":369, "idProfession":"bihlqa", "profession":"hhdzf9", "sort":12518 } ] } ], "awardList":[ { "idMovieDouban":172, "idAwardMovie":"ilp4fh", "nameZh":"ondze6", "urlAward":"cmzyr7", "idCelebrityDouban":700, "urlCelebrityDouban":"yd6a7d", "typeAward":"hepp1r", "awardTh":30879, "isNominated":"le2tqa" } ] }, "imdb":{ "base":{ "id":"21", "nameEn":"hp5u28", "birthYear":2978, "idCelebrityDouban":472 }, "movieList":[ { "id":"21", "idTypeVideo":"7uiaip", "typeVideo":"kpxc99", "nameEn":"3f0l5f", "startYear":6703, "isAdult":"pv5ycn", "nameOrigin":"6i18fm", "runtime":18858, "urlPoster":"cmfl89", "idMovieDouban":133, "summary":"f2ihju", "relationList":[ { "idMovieImdb":338, "idCelebrityImdb":752, "idProfession":"5medeb", "profession":"2bzsih" } ] } ] } } }
12. IMDB影人
12.1. IMDB影人基础信息
Type: GET
Author: humingk
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description: 简略
Request-headers:
Header | Type | Description | Required | Since |
---|---|---|---|---|
Authorization | string | access_token | false | 2.0.0 |
Request-parameters:
Parameter | Type | Description | Required | Since |
---|---|---|---|---|
id | int64 | IMDB影人ID | true | - |
Request-example:
curl -X GET -i https://api.doubans.com/v2/celebrity/imdb/bases?id=796
Response-fields:
Field | Type | Description | Since |
---|---|---|---|
code | int32 | 状态码 | - |
msg | string | 状态信息 | - |
data | object | 具体结果 | - |
└─id | string | IMDB影人ID | - |
└─nameEn | string | IMDB影人英文名 | - |
└─birthYear | int16 | 出生年份 /year | - |
└─idCelebrityDouban | int64 | 豆瓣影人ID 0-未匹配 1-已匹配 | - |
Response-example:
{ "code":708, "msg":"j8p7ab", "data":{ "id":"21", "nameEn":"dwkkrq", "birthYear":15455, "idCelebrityDouban":110 } }
12.2. IMDB影人详细信息
Type: GET
Author: humingk
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description: 包括影人基础信息,相关的IMDB电影
Request-headers:
Header | Type | Description | Required | Since |
---|---|---|---|---|
Authorization | string | access_token | false | 2.0.0 |
Request-parameters:
Parameter | Type | Description | Required | Since |
---|---|---|---|---|
id | int64 | IMDB影人ID | true | - |
limit | int32 | 相关的电影限制数(默认10) | false | - |
Request-example:
curl -X GET -i https://api.doubans.com/v2/celebrity/imdb/details?limit=10&id=503
Response-fields:
Field | Type | Description | Since |
---|---|---|---|
code | int32 | 状态码 | - |
msg | string | 状态信息 | - |
data | object | 具体结果 | - |
└─base | object | IMDB影人基础信息 | - |
└─id | string | IMDB影人ID | - |
└─nameEn | string | IMDB影人英文名 | - |
└─birthYear | int16 | 出生年份 /year | - |
└─idCelebrityDouban | int64 | 豆瓣影人ID 0-未匹配 1-已匹配 | - |
└─movieList | array | 与IMDB影人相关的IMDB电影 | - |
└─id | string | IMDB电影ID | - |
└─idTypeVideo | string | 影片类型ID | - |
└─typeVideo | string | 影片类型 | - |
└─nameEn | string | IMDB电影英文名 | - |
└─startYear | int16 | IMDB电影发行年份 | - |
└─isAdult | string | 是否是成人电影 0-不是 1-是 | - |
└─nameOrigin | string | IMDB电影原始名 | - |
└─runtime | int16 | IMDB电影片长 /m | - |
└─urlPoster | string | IMDB海报链接 | - |
└─idMovieDouban | int64 | 豆瓣电影ID 0-未匹配 1-已匹配 | - |
└─summary | string | 简介 | - |
└─relationList | array | 该电影与该影人的关系列表 | - |
└─idMovieImdb | int64 | IMDB电影ID | - |
└─idCelebrityImdb | int64 | IMDB影人ID | - |
└─idProfession | string | 该影人在该电影中的职位ID | - |
└─profession | string | 该影人在该电影中的职位 | - |
Response-example:
{ "code":234, "msg":"11jzrh", "data":{ "base":{ "id":"21", "nameEn":"08whh7", "birthYear":27000, "idCelebrityDouban":844 }, "movieList":[ { "id":"21", "idTypeVideo":"yhs157", "typeVideo":"hl4ac8", "nameEn":"9f0709", "startYear":15832, "isAdult":"wqbhnt", "nameOrigin":"sd11dt", "runtime":24801, "urlPoster":"9grrz8", "idMovieDouban":13, "summary":"232fvq", "relationList":[ { "idMovieImdb":233, "idCelebrityImdb":813, "idProfession":"1k07e7", "profession":"u28n4y" } ] } ] } }
13. 电影场景
13.1. 电影场景简略信息
Type: GET
Author: humingk
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description: 包括场景电影基础信息,分布图,场景地点简略信息,场景地点图等
Request-headers:
Header | Type | Description | Required | Since |
---|---|---|---|---|
Authorization | string | access_token | false | 2.0.0 |
Request-parameters:
Parameter | Type | Description | Required | Since |
---|---|---|---|---|
id | int64 | 豆瓣电影ID | true | - |
Request-example:
curl -X GET -i https://api.doubans.com/v2/scene/fotoplace/bases?id=915
Response-fields:
Field | Type | Description | Since |
---|---|---|---|
code | int32 | 状态码 | - |
msg | string | 状态信息 | - |
data | object | 具体结果 | - |
└─base | object | 场景电影基础信息 | - |
└─id | int64 | 场景电影ID | - |
└─urlMovieScene | string | 场景电影链接 | - |
└─idMovieDouban | int64 | 豆瓣电影ID 0-未匹配 1-已匹配 | - |
└─urlMovieDouban | string | 豆瓣电影链接 | - |
└─nameZh | string | 场景电影中文名 | - |
└─nameEn | string | 场景电影英文名 | - |
└─startYear | int16 | 上映时间 /year | - |
└─description | string | 场景电影拍摄地点大致描述 | - |
└─urlMap | string | 场景电影地点分布图链接 | - |
└─sceneList | array | 场景地点简略信息 | - |
└─base | object | 场景基础信息 | - |
└─id | int64 | 场景ID | - |
└─idMovieScene | int64 | 场景电影ID | - |
└─idPlaceScene | int64 | 地点ID | - |
└─nameZh | string | 场景中文名 | - |
└─happenTime | int32 | 场景发生在电影中的时间 /s | - |
└─place | object | 场景地点简略信息 | - |
└─base | object | 场景地点基础信息 | - |
└─id | int64 | 场景地点ID | - |
└─longitude | number | 经度 | - |
└─latitude | number | 纬度 | - |
└─nameZh | string | 中文名 | - |
└─nameEn | string | 英文名 | - |
└─nameOther | string | 其他语言名 | - |
└─alias | string | 别名 | - |
└─addressZh | string | 中文地址 | - |
└─addressEn | string | 英文地址 | - |
└─description | string | 地点描述 | - |
└─areaZh | string | 区域中文 | - |
└─areaEn | string | 区域英文 | - |
└─phone | string | 电话号码 | - |
└─urlPoster | string | 地点海报图链接 | - |
└─urlEarth | string | 地点地球位置图链接 | - |
└─urlSatellite | string | 地点卫星图链接 | - |
└─urlMap | string | 地点地图 | - |
Response-example:
{ "code":290, "msg":"flvfde", "data":{ "base":{ "id":5, "urlMovieScene":"haamhr", "idMovieDouban":722, "urlMovieDouban":"i9ysu5", "nameZh":"v0t84n", "nameEn":"qk3ky0", "startYear":5637, "description":"no8yft", "urlMap":"6qs4gq" }, "sceneList":[ { "base":{ "id":754, "idMovieScene":653, "idPlaceScene":849, "nameZh":"qh4vo9", "happenTime":354 }, "place":{ "base":{ "id":822, "longitude":600, "latitude":409, "nameZh":"1izy9o", "nameEn":"a4awkt", "nameOther":"dv7awj", "alias":"fxjfhr", "addressZh":"le01a0", "addressEn":"zk0624", "description":"8lx4qb", "areaZh":"74omx7", "areaEn":"nlxdny", "phone":"15092571616", "urlPoster":"6xdtq5", "urlEarth":"9333os", "urlSatellite":"16861y", "urlMap":"w0it0n" } } } ] } }
13.2. 电影场景详细信息
Type: GET
Author: humingk
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description: 包括场景电影基础信息,分布图,场景详细信息,场景地点详细信息,场景图片等
Request-headers:
Header | Type | Description | Required | Since |
---|---|---|---|---|
Authorization | string | access_token | false | 2.0.0 |
Request-parameters:
Parameter | Type | Description | Required | Since |
---|---|---|---|---|
id | int64 | 豆瓣电影ID | true | - |
Request-example:
curl -X GET -i https://api.doubans.com/v2/scene/fotoplace/details?id=346
Response-fields:
Field | Type | Description | Since |
---|---|---|---|
code | int32 | 状态码 | - |
msg | string | 状态信息 | - |
data | object | 具体结果 | - |
└─base | object | 场景电影基础信息 | - |
└─id | int64 | 场景电影ID | - |
└─urlMovieScene | string | 场景电影链接 | - |
└─idMovieDouban | int64 | 豆瓣电影ID 0-未匹配 1-已匹配 | - |
└─urlMovieDouban | string | 豆瓣电影链接 | - |
└─nameZh | string | 场景电影中文名 | - |
└─nameEn | string | 场景电影英文名 | - |
└─startYear | int16 | 上映时间 /year | - |
└─description | string | 场景电影拍摄地点大致描述 | - |
└─urlMap | string | 场景电影地点分布图链接 | - |
└─sceneList | array | 场景详细信息列表 | - |
└─base | object | 场景基础信息 | - |
└─id | int64 | 场景ID | - |
└─idMovieScene | int64 | 场景电影ID | - |
└─urlMovieScene | string | 场景电影链接 | - |
└─idPlaceScene | int64 | 地点ID | - |
└─nameZh | string | 场景中文名 | - |
└─happenTime | int32 | 场景发生在电影中的时间 /s | - |
└─sceneDetailList | array | 场景详情详细信息列表 | - |
└─base | object | 场景详情基础信息 | - |
└─id | int64 | 场景详情ID | - |
└─idScene | int64 | 场景ID | - |
└─idMovieScene | int64 | 场景电影ID | - |
└─happenTime | int32 | 场景发生在电影中的时间 /s | - |
└─description | string | 场景描述 | - |
└─imageList | array | 场景详情图片列表 | - |
└─id | int64 | 场景详情剧照ID | - |
└─idSceneDetail | int64 | 场景详情ID | - |
└─urlImage | string | 图片链接 | - |
└─celebrityList | array | 场景详情的相关场景影人列表 | - |
└─id | int64 | 场景影人ID | - |
└─idCelebrityDouban | int64 | 豆瓣影人ID 0-未匹配 1-已匹配 | - |
└─urlCelebrityDouban | string | 豆瓣影人链接 | - |
└─nameZh | string | 场景影人中文名 | - |
└─nameEn | string | 场景影人英文名 | - |
└─idSceneDetail | int64 | 对应的场景详情ID | - |
└─place | object | 场景地点详细信息 | - |
└─base | object | 场景地点基础信息 | - |
└─id | int64 | 场景地点ID | - |
└─longitude | number | 经度 | - |
└─latitude | number | 纬度 | - |
└─nameZh | string | 中文名 | - |
└─nameEn | string | 英文名 | - |
└─nameOther | string | 其他语言名 | - |
└─alias | string | 别名 | - |
└─addressZh | string | 中文地址 | - |
└─addressEn | string | 英文地址 | - |
└─description | string | 地点描述 | - |
└─areaZh | string | 区域中文 | - |
└─areaEn | string | 区域英文 | - |
└─phone | string | 电话号码 | - |
└─urlPoster | string | 地点海报图链接 | - |
└─urlEarth | string | 地点地球位置图链接 | - |
└─urlSatellite | string | 地点卫星图链接 | - |
└─urlMap | string | 地点地图 | - |
└─imageList | array | 场景地点图片列表 | - |
└─id | int64 | 场景地点图片ID | - |
└─idPlaceScene | int64 | 场景地点ID | - |
└─urlImage | string | 图片链接 | - |
└─description | string | 图片描述 | - |
└─typeList | array | 场景地点-类型列表 | - |
└─continent | string | 场景地点 洲 | - |
└─country | string | 场景地点 国家 | - |
└─city | string | 场景地点 城市 | - |
└─state | string | 场景地点 州/省 | - |
Response-example:
{ "code":262, "msg":"9kay9a", "data":{ "base":{ "id":528, "urlMovieScene":"cxmof4", "idMovieDouban":120, "urlMovieDouban":"3n9gkg", "nameZh":"agp7bt", "nameEn":"nm2opt", "startYear":22972, "description":"qc2jyj", "urlMap":"ggjwgr" }, "sceneList":[ { "base":{ "id":490, "idMovieScene":984, "urlMovieScene":"9iymr4", "idPlaceScene":0, "nameZh":"17w4sx", "happenTime":9 }, "sceneDetailList":[ { "base":{ "id":554, "idScene":785, "idMovieScene":568, "happenTime":821, "description":"lgk373" }, "imageList":[ { "id":479, "idSceneDetail":917, "urlImage":"e3x2io" } ], "celebrityList":[ { "id":99, "idCelebrityDouban":289, "urlCelebrityDouban":"x9xkse", "nameZh":"hqvigh", "nameEn":"46idft", "idSceneDetail":622 } ] } ], "place":{ "base":{ "id":609, "longitude":457, "latitude":83, "nameZh":"q1lt5d", "nameEn":"m1a9n3", "nameOther":"soj36y", "alias":"88t5mf", "addressZh":"holp7d", "addressEn":"mmwvtp", "description":"con6xv", "areaZh":"jx72ik", "areaEn":"9bo0b0", "phone":"15092571616", "urlPoster":"up9ffi", "urlEarth":"zb3hu1", "urlSatellite":"ahqf6e", "urlMap":"qeouq5" }, "imageList":[ { "id":620, "idPlaceScene":307, "urlImage":"gezsf4", "description":"z44395" } ], "typeList":[ "ecaapi" ], "continent":"wrzalh", "country":"86jgh0", "city":"2j56ll", "state":"jrtg2j" } } ] } }