Nov 30, 2022 | Python, YouTube API
Buy Me a Coffee? Your support is much appreciated! demo.py import datetime import time from googleapiclient.http import MediaFileUpload import pandas as pd from google_apis import create_service def video_categories(): video_categories =...
Nov 28, 2022 | Python, YouTube API
Buy Me a Coffee? Your support is much appreciated! youtube.py from google_apis import create_service class YouTube: API_NAME = ‘youtube’ API_VERSION = ‘v3’ SCOPES = [‘https://www.googleapis.com/auth/youtube’,...
Nov 22, 2022 | Python, YouTube API
Buy Me a Coffee? Your support is much appreciated! Source Code import os import pypyodbc as odbc # pip install pypyodbc def bulk_insert(date_file, target_table): sql = f””” BULK INSERT {target_table} FROM ‘{date_file}’ WITH (...
Nov 15, 2022 | Python, YouTube API
Buy Me a Coffee? Your support is much appreciated! youtube.py from google_apis import create_service class YouTube: API_NAME = ‘youtube’ API_VERSION = ‘v3’ SCOPES = [‘https://www.googleapis.com/auth/youtube’,...
Oct 23, 2022 | Python, YouTube API
Buy Me a Coffee? Your support is much appreciated! Source Code: demo.py from youtube import YouTube client_file = ‘client-secret.json’ yt = YouTube(client_file) yt.init_service() # exampe 1. List channel subscriptions subscriptions =...
Aug 28, 2022 | Python, YouTube API
Buy Me a Coffee? Your support is much appreciated! Source Code: