![]() ![]() video_id ( str) – a video_id IE: “eqwPlwHSL_M”.Returns comments and replies to comments for a given video. Get_video_comments ( video_id, get_replies=True, max_results=None, next_page_token=False, parser=, part=, **kwargs ) ¶ Metadata for featured channels from channel_id. channel_id ( str or list of str) – channel_ids IE:.Optionally, can take a list of channel IDs, and returns a list of dictionaries. Get_featured_channels_gen ( channel_id, parser=, part=, **kwargs ) ¶ stop_after_n_iteration ( int) – stops the API calls after N API callsĬhannel IDs that channel_id is subscribed to.Returns a list of channel IDs that channel_id is subscribed to. Get_subscriptions ( channel_id, next_page_token=False, parser=, part=, **kwargs ) ¶ max_results – How many video IDs should returned? Contrary to the name, this is actually the minimum number of results to be returned.playlist_id – the playlist_id IE: “UUaLfMkkHhSA_LaCta0BzyhQ”.The playlist ID for uploads is always the channel_id with “UU” subbed for “UC”. You can get this value using youtube_api.youtube_api.get_channel_metadata() or youtube_api.youtube_api_utils.get_upload_playlist_id(). Note that user uploads for any given channel are from a playlist named “upload playlist id”. ![]() Given a playlist_id, returns video_ids associated with that playlist. Get_videos_from_playlist_id ( playlist_id, next_page_token=None, parser=, part=, max_results=200000, **kwargs ) ¶ Playlist info that channel_id is subscribed to. next_page_token ( str) – a token to continue from a preciously stopped query IE: “CDIQAA”.channel_id ( str) – a channel_id IE: “UCn8zNIfYAQNdrFRrr8oibKw”.Note that playlists can contains videos from any users. Returns a list of playlist IDs that channel_id created. Get_playlists ( channel_id, next_page_token=False, parser=, part=, **kwargs ) ¶ video_id ( str or list of str) – the ID of a video IE:, this can be found at the end of YouTube urls and by parsing links using youtube_api.youtube_api_utils.strip_youtube_id().Given a single or list of video_id returns metrics (views, likes, comments) and metadata (description, category) as a dictionary. Get_video_metadata ( video_id, parser=, part=, **kwargs ) ¶ Returns metadata from the inputted ``video_id``s. parser ( youtube_api.parsers module) – the function to parse the json document.video_id ( str or list of str) – The ID of a video IE: “kNbhUWLH_yY”, this can be found at the end of YouTube urls and by parsing links using youtube_api.youtube_api_utils.strip_youtube_id().Given a video_id returns metrics (views, likes, comments) and metadata (description, category) as a dictionary. Get_video_metadata_gen ( video_id, parser=, part=, **kwargs ) ¶ channel_id ( str or list) – the channel id(s).Gets a dictionary of channel metadata given a channel_id, or a list of channel_ids. Get_channel_metadata ( channel_id, parser=, part=, **kwargs ) ¶ Different parameters cost different quota costs from the API. part ( list) – The part parameter specifies a comma-separated list of one or more resource properties that the API response will include.channel_id ( str or list) – channel id(s).Get_channel_metadata_gen ( channel_id, parser=, part=, **kwargs ) ¶ Username ( str) – the username for a YouTube channel “Munchies” -> “UCaLfMkkHhSA_LaCta0BzyhQ”. These are the unique identifiers for all YouTube “uers”. Get a channel_id from a YouTube username. Get_channel_id_from_user ( username, **kwargs ) ¶ True if the API key is valid, False if the key is not valid. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |