Skip to contents

Package Documentation

Overall package documentation

tuber
tuber provides access to the YouTube API V3.

Authentication

Functions for authentication with the YouTube API

yt_oauth()
Set up Authorization
yt_token() yt_authorized() yt_check_token()
Check if authentication token is in options
yt_get_key() yt_set_key()
Manage YouTube API key
tuber_check()
Request Response Verification

Channel Functions

Functions for working with YouTube channels

get_channel_stats() list_my_channel()
Get statistics of a Channel
get_subscriptions()
Get Subscriptions
list_channel_resources()
Returns List of Requested Channel Resources
list_channel_sections()
List Channel Sections
delete_channel_sections()
Delete Channel Sections
list_channel_activities()
List Channel Activity
list_channel_videos()
Returns List of Requested Channel Videos
get_all_channel_video_stats()
Get statistics on all the videos in a Channel

Video Functions

Functions for working with YouTube videos

get_stats()
Get statistics of a Video
get_video_details()
Get Details of a Video or Videos
get_related_videos()
Get Related Videos
list_videos()
List (Most Popular) Videos
list_my_videos()
List My videos
upload_video()
Upload Video to Youtube
update_video_metadata()
Update a YouTube Video's Metadata
delete_videos()
Delete a Video

Playlist Functions

Functions for working with playlists

get_playlists()
Get Playlists
get_playlist_items()
Get Playlist Items
get_playlist_item_ids()
Get Playlist Item IDs
get_playlist_item_videoids()
Get Playlist Item Video IDs
create_playlist()
Create New Playlist
add_video_to_playlist()
Add Video to Playlist
change_playlist_title()
Change the title of a YouTube playlist.
delete_playlist_items()
Delete a Playlist Item
delete_playlists()
Delete a Playlist

Caption Functions

Functions for working with captions

get_captions()
Get Particular Caption Track
list_captions()
Upload Video to Youtube
list_caption_tracks()
List Captions of a Video
upload_caption()
Upload Video Caption to Youtube
delete_captions()
Delete a Particular Caption Track
read_sbv()
Read SBV file

Comment Functions

Functions for working with comments

get_comment_threads()
Get Comments Threads
get_comments()
Get Comments
get_all_comments()
Get all the comments for a video including replies
delete_comments()
Delete a Particular Comment

Search Functions

Functions for searching YouTube

yt_search()
Search YouTube
yt_topic_search()
Search YouTube by Topic It uses the Freebase list of topics

Additional Resources

Functions for getting YouTube metadata

list_guidecats()
Get list of categories that can be associated with YouTube channels
list_langs()
List Languages That YouTube Currently Supports
list_regions()
List Content Regions That YouTube Currently Supports
list_videocats()
List of Categories That Can be Associated with Videos
list_abuse_report_reasons()
List reasons that can be used to report abusive videos

Helper Functions

Internal helper functions

tuber_DELETE()
DELETE
tuber_GET()
GET
tuber_POST()
POST
tuber_POST_json()
POST encoded in json