慕娘9239362
2019-11-23 20:52
http://api.douban.com/v2/movie/in_theaters?start=0&count=3
{"msg":"invalid_apikey, Please contact bd-team@douban.com for authorized access.","code":104,"request":"GET \/v2\/movie\/in_theaters"}
添加apiKey返回结果还是null
豆瓣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`
轻松入门微信小程序与云开发
64581 学习 · 1742 问题
相似问题