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

Channel Functions

Functions for working with YouTube channels

get_channel_details() get_my_channel()
Get Channel Details
list_subscriptions()
List Subscriptions
list_channel_sections()
List Channel Sections
delete_channel_section()
Delete a Channel Section
list_channel_activities()
List Channel Activities
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_video_stats()
Get Video Statistics
get_video_details()
Get Video Details
list_popular_videos()
List Most-Popular Videos
list_my_videos()
List My Videos
upload_video()
Upload Video to Youtube
update_video_metadata()
Update Video Metadata
delete_video()
Delete a Video

Playlist Functions

Functions for working with playlists

list_playlists()
List Playlists
list_playlist_items()
List Playlist Items
get_playlist_item_ids()
Get Playlist-Item IDs
get_playlist_video_ids()
Get Video IDs from a Playlist
create_playlist()
Create New Playlist
add_video_to_playlist()
Add Video to Playlist
change_playlist_title()
Change a Playlist Title
delete_playlist_item()
Delete a Playlist Item
delete_playlist()
Delete a Playlist

Caption Functions

Functions for working with captions

download_caption()
Download a Caption Track
list_captions()
List Caption Tracks
upload_caption()
Upload a Caption Track
delete_caption()
Delete a Caption Track
read_sbv()
Read SBV file

Comment Functions

Functions for working with comments and moderation

list_comment_threads()
List Comment Threads
list_comments()
List Comments or Replies
get_all_comments()
Get All Video Comments, Including Replies
post_comment()
Post a Top-Level Comment
reply_to_comment()
Reply to a Comment
set_comment_moderation_status()
Set Comment Moderation Status
delete_comment()
Delete a Comment

Monetization & Engagement

Functions for Super Chats, Memberships, and Live Interaction

list_super_chat_events()
List Super Chat Events
list_live_chat_messages()
List Live Chat Messages
list_live_broadcasts()
List live broadcasts
list_channel_members()
List Channel Members

Branding & Media

Functions for thumbnails and channel branding

set_video_thumbnail()
Set Video Thumbnail
insert_channel_banner()
Insert Channel Banner

Search Functions

Functions for searching YouTube

yt_search()
Search YouTube
search_short_videos()
Search for videos shorter than four minutes

Additional Resources

Functions for getting YouTube metadata

list_languages()
List Supported Languages
list_regions()
List Supported Content Regions
list_video_categories()
List Video Categories
list_abuse_report_reasons()
List Video-Abuse Report Reasons

Quota Management

Functions for tracking and managing YouTube API quota usage

quota_management
YouTube API Quota Management
yt_get_quota_usage()
Get Current Quota Usage
yt_reset_quota()
Reset Quota Counter
yt_set_quota_limit()
Set Quota Limit

Bulk Analysis

Functions for processing multiple items efficiently

bulk_video_analysis()
Bulk video performance analysis

Analysis Helpers

Higher-level analyses built from YouTube resources

analyze_channel()
Comprehensive channel analysis
analyze_trends()
Trending analysis for search terms
compare_channels()
Compare multiple channels
get_video_broadcast_timing()
Get video live-broadcast timing

Unicode & Emoji Utilities

Functions for handling emojis and Unicode in YouTube text

count_emojis()
Count emojis in text
extract_emojis()
Extract emojis from text
has_emoji()
Detect emojis in text
remove_emojis()
Remove emojis from text
replace_emojis()
Replace emojis in text

Caching & Performance

Functions for caching and performance optimization

tuber_cache_config()
Configure caching settings
tuber_cache_clear()
Clear cache entries
tuber_cache_info()
Get current cache configuration
get_video_thumbnails()
Get video thumbnails information
with_retry()
Exponential backoff retry logic for API calls

Utility Functions

Additional utility functions and information

tuber_info()
Display tuber function metadata

Documentation Topics

Package documentation and function groups

extended-endpoints
Extended YouTube API Endpoints
helper-functions
Helper Functions for Common YouTube Analysis Tasks
caching
Response Caching for YouTube API
error-handling
Tuber Error Handling Utilities