2
我试图从YouTube API获取特定关键字的搜索列表。从YouTube API获取YouTube搜索列表
我已经试过:https://www.googleapis.com/youtube/v3/search?part=snippet&maxResults=50&q=elanco&key= {我的API KEY}
而且只给我的前50个结果。因此,我改变“的maxResults”等于2000
但随后出现此错误:
{
"error": {
"errors": [
{
"domain": "global",
"reason": "invalidParameter",
"message": "Invalid value '2000'. Values must be within the range: [0, 50]",
"locationType": "parameter",
"location": "maxResults"
}
],
"code": 400,
"message": "Invalid value '2000'. Values must be within the range: [0, 50]"
}
}
有谁知道我怎么能获得超过50个结果?我的关键词产生了大约1500个结果,我希望能够看到所有这些结果。
谢谢!