{"id":18005622,"url":"https://github.com/areed1192/youtube-python-client","last_synced_at":"2025-03-26T10:32:11.608Z","repository":{"id":44191081,"uuid":"260990713","full_name":"areed1192/youtube-python-client","owner":"areed1192","description":"A Python client library for the YouTube API.","archived":false,"fork":false,"pushed_at":"2023-07-23T14:47:13.000Z","size":4172,"stargazers_count":8,"open_issues_count":3,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-21T15:42:02.649Z","etag":null,"topics":["api","api-client","python","youtube-api"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/areed1192.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-05-03T18:06:38.000Z","updated_at":"2024-09-17T00:09:27.000Z","dependencies_parsed_at":"2023-01-18T16:32:43.953Z","dependency_job_id":null,"html_url":"https://github.com/areed1192/youtube-python-client","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/areed1192%2Fyoutube-python-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/areed1192%2Fyoutube-python-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/areed1192%2Fyoutube-python-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/areed1192%2Fyoutube-python-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/areed1192","download_url":"https://codeload.github.com/areed1192/youtube-python-client/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245637166,"owners_count":20648102,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","api-client","python","youtube-api"],"created_at":"2024-10-30T00:20:50.117Z","updated_at":"2025-03-26T10:32:10.905Z","avatar_url":"https://github.com/areed1192.png","language":"Python","funding_links":["https://www.patreon.com/sigmacoding"],"categories":[],"sub_categories":[],"readme":"# Unofficial YouTube Python Client\n\n## Table of Contents\n\n- [Overview](#overview)\n- [Setup](#setup)\n- [Usage](#usage)\n- [Support These Projects](#support-these-projects)\n\n## Overview\n\nA python library that allows to manipulate the YouTube Data API to\ndo common channel maintenance ranging from updating descriptions, uploading\nthumbnails, downloading statistics, and managing video content.\n\n## Setup\n\n**Setup - Requirements Install:**\n\nFor this particular project, you only need to install the dependencies, to use the project. The dependencies\nare listed in the `requirements.txt` file and can be installed by running the following command:\n\n```console\npip install -r requirements.txt\n```\n\nAfter running that command, the dependencies should be installed.\n\n**Setup - Local Install:**\n\nIf you are planning to make modifications to this project or you would like to access it\nbefore it has been indexed on `PyPi`. I would recommend you either install this project\nin `editable` mode or do a `local install`. For those of you, who want to make modifications\nto this project. I would recommend you install the library in `editable` mode.\n\nIf you want to install the library in `editable` mode, make sure to run the `setup.py`\nfile, so you can install any dependencies you may need. To run the `setup.py` file,\nrun the following command in your terminal.\n\n```console\npip install -e .\n```\n\nIf you don't plan to make any modifications to the project but still want to\nuse it across your different projects, then do a local install.\n\n```console\npip install .\n```\n\nThis will install all the dependencies listed in the `setup.py` file. Once done\nyou can use the library wherever you want.\n\n## Usage\n\n```python\nimport pathlib\nfrom configparser import ConfigParser\nfrom youtube.client import YouTubeClient\n\n# Grab configuration values.\nconfig = ConfigParser()\nconfig.read('configs/config.ini')\n\n# Grab the Inputs.\napi_key = config.get('main', 'api_key')\nchannel_id = config.get('main', 'channel_id')\nplaylist_id = config.get('main', 'playlist_id')\nclient_secret_path = config.get('main', 'client_secret_path')\nstate_path = config.get('main', 'state_path')\n\n# Create a new instance of the Client.\nyoutube_session = YouTubeClient(\n    api_key=api_key,\n    channel_id=channel_id,\n    client_secret_path=client_secret_path,\n    state_path=state_path\n)\n\n# Set the data folder.\nyoutube_session.data_folder_path = pathlib.Path('data').resolve()\n```\n\n## Support These Projects\n\n**Patreon:**\nHelp support this project and future projects by donating to my [Patreon Page](https://www.patreon.com/sigmacoding). I'm always\nlooking to add more content for individuals like yourself, unfortuantely some of the APIs I would require me to pay monthly fees.\n\n**YouTube:**\nIf you'd like to watch more of my content, feel free to visit my YouTube channel [Sigma Coding](https://www.youtube.com/c/SigmaCoding).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fareed1192%2Fyoutube-python-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fareed1192%2Fyoutube-python-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fareed1192%2Fyoutube-python-client/lists"}