gojiplus / tuber

:sweet_potato: Access YouTube from R
http://gojiplus.github.io/tuber
Other
184 stars 55 forks source link

Error in list_channel_videos #6

Closed emillykkejensen closed 8 years ago

emillykkejensen commented 8 years ago

When I run: list_channel_videos(channel_name = "latenight")

I get the following error:

Error in tuber_GET("channels", querylist, ...) : Bad Request (HTTP 400).

soodoku commented 8 years ago

Let me take a look and get back to you.

soodoku commented 8 years ago

list_channel_videos("latenight") [1] "channels" $part [1] "contentDetails"

$forUsername [1] "latenight"

Response [https://www.googleapis.com/youtube/v3/channels?part=contentDetails&forUsername=latenight] Date: 2016-08-03 16:02 Status: 200 Content-Type: application/json; charset=UTF-8 Size: 487 B { "kind": "youtube#channelListResponse", "etag": "\"yaAQEaHITilaGdzoEjt_tJdICqI/1aMGDBiJxszUl_Zed-h0LC52S94\"", "pageInfo": { "totalResults": 1, "resultsPerPage": 5 }, "items": [ { "kind": "youtube#channel", ... Total Number of Videos: 1