Integrates R and the YouTube Data API.
See site for docs and details.
devtools::install_github("JohnCoene/youTubeDataR")
Get your credentials
httr::oauth_callback()
as "Authorized redirect URIs" (generally http://localhost:1410/
).token <- youOAuth("something.apps.googleusercontent.com", "XXxxXxxXXxxXxxXX")
v0.2
please use v0.1
for backward compatibilitysnippet.
prefix removed in v0.2
Authenticate
youOAuth
Helper functions
findParams
findParts
Search channel
, video
, playlist
or any
(see example below)
searchTube
Get data
getVideos
getActivities
getCaptions
getChannels
getChannelSections
getComments
getCommentThreads
getVideoCateogries
getGuideCategories
getLanguages
getRegions
getSubscriptions
getPlaylists
getPlaylistItems
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.