为了账号安全,请及时绑定邮箱和手机立即绑定

这个接口 我获取的数据怎么是空呢? http://api.douban.com/v2/movie/in_theaters?start=${event.start}&count=${event.count}

http://api.douban.com/v2/movie/in_theaters?start=${event.start}&count=${event.count}


正在回答

1 回答

豆瓣API有变化,需要在请求API的url后面跟一个apikey参数:


电影列表API:http://api.douban.com/v2/movie/in_theaters?apikey=0df993c66c0c636e29ecbb5344252a4a&start=0&count=10

电影详情API:`http://api.douban.com/v2/movie/subject/${event.movieid}?apikey=0df993c66c0c636e29ecbb5344252a4a`



0 回复 有任何疑惑可以回复我~
#1

小花花儿 提问者

好的,谢谢
2019-09-25 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消

这个接口 我获取的数据怎么是空呢? http://api.douban.com/v2/movie/in_theaters?start=${event.start}&count=${event.count}

我要回答 关注问题
微信客服

购课补贴
联系客服咨询优惠详情

帮助反馈 APP下载

慕课网APP
您的移动学习伙伴

公众号

扫描二维码
关注慕课网微信公众号