gojiplus / tubern

R Client for the Youtube Analytics and Reporting API
https://soodoku.github.io/tubern/
Other
12 stars 2 forks source link

get_report raises 404 error #2

Open ayunyou855 opened 3 years ago

ayunyou855 commented 3 years ago

Hi,

I was trying to use get_report(), but got an error message.

library(tubern)

yt_oauth("XXX", "XXX",token = "")

report <- get_report(ids = "channel==UCiMg06DjcUk5FRiM3g5sqoQ", metrics = "views", start_date = "2020-09-01", end_date ="2020-09-01")

#>Error in tubern_GET("reports", querylist, ...) : Not Found (HTTP 404).

Do you have an idea what could be behind this error? Could it possibly be due to my yt-oauth?

Thanks!