{"id":13723175,"url":"https://github.com/jonnekaunisto/simple-youtube-api","last_synced_at":"2026-01-07T02:53:44.274Z","repository":{"id":44878758,"uuid":"169701506","full_name":"jonnekaunisto/simple-youtube-api","owner":"jonnekaunisto","description":"Object-oriented Wrapper for Youtube API in Python","archived":false,"fork":false,"pushed_at":"2024-06-28T13:54:39.000Z","size":20090,"stargazers_count":76,"open_issues_count":28,"forks_count":16,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-11-06T09:44:13.637Z","etag":null,"topics":["api","hacktoberfest","python","wrapper","youtube","youtube-api"],"latest_commit_sha":null,"homepage":"https://simple-youtube-api.rtfd.io","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jonnekaunisto.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.rst","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-02-08T07:54:37.000Z","updated_at":"2024-10-25T08:16:24.000Z","dependencies_parsed_at":"2024-06-19T17:34:51.789Z","dependency_job_id":"a4b41846-9e4f-4ad2-9aa1-563f987c5208","html_url":"https://github.com/jonnekaunisto/simple-youtube-api","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonnekaunisto%2Fsimple-youtube-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonnekaunisto%2Fsimple-youtube-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonnekaunisto%2Fsimple-youtube-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonnekaunisto%2Fsimple-youtube-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jonnekaunisto","download_url":"https://codeload.github.com/jonnekaunisto/simple-youtube-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224621108,"owners_count":17342095,"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","hacktoberfest","python","wrapper","youtube","youtube-api"],"created_at":"2024-08-03T01:01:36.900Z","updated_at":"2026-01-07T02:53:44.247Z","avatar_url":"https://github.com/jonnekaunisto.png","language":"Python","funding_links":[],"categories":["SOCIAL MEDIA"],"sub_categories":[],"readme":"Simple Youtube API\n==================\n\n.. image:: https://badge.fury.io/py/simple-youtube-api.svg\n    :target: https://badge.fury.io/py/simple-youtube-api\n    :alt: Simple YouTube API page on the Python Package Index\n.. image:: https://github.com/jonnekaunisto/simple-youtube-api/workflows/Python%20package%20Integration%20Tests/badge.svg\n    :target: https://github.com/jonnekaunisto/simple-youtube-api/actions?query=workflow%3A%22Python+package+Integration+Tests%22\n    :alt: Build status on travis\n.. image:: https://coveralls.io/repos/github/jonnekaunisto/simple-youtube-api/badge.svg?branch=master\n    :target: https://coveralls.io/github/jonnekaunisto/simple-youtube-api?branch=master\n    :alt: Coverage on coveralls\n\n\n\nSimple Youtube API(full documentation_) is a Youtube API wrapper for python, making it easier to search and upload your videos.\n\n\nExamples\n--------\n\nIn this example we log in into a YouTube channel, set the appropriate variables for a video and upload the video to the YouTube channel that we logged into:\n\n.. code:: python\n\n    from simple_youtube_api.Channel import Channel\n    from simple_youtube_api.LocalVideo import LocalVideo\n\n    # loggin into the channel\n    channel = Channel()\n    channel.login(\"client_secret.json\", \"credentials.storage\")\n\n    # setting up the video that is going to be uploaded\n    video = LocalVideo(file_path=\"test_vid.mp4\")\n\n    # setting snippet\n    video.set_title(\"My Title\")\n    video.set_description(\"This is a description\")\n    video.set_tags([\"this\", \"tag\"])\n    video.set_category(\"gaming\")\n    video.set_default_language(\"en-US\")\n\n    # setting status\n    video.set_embeddable(True)\n    video.set_license(\"creativeCommon\")\n    video.set_privacy_status(\"private\")\n    video.set_public_stats_viewable(True)\n\n    # setting thumbnail\n    video.set_thumbnail_path('test_thumb.png')\n\n    # uploading video and printing the results\n    video = channel.upload_video(video)\n    print(video.id)\n    print(video)\n\n    # liking video\n    video.like()\n\n\n\nInstallation\n------------\nSimple YouTube API needs API keys from Google in order to be able to make queries to YouTube.\n\n**Installation by hand:** you can download the source files from PyPi or Github:\n\n.. code:: bash\n\n    python setup.py install\n\n**Installation with pip:** make sure that you have ``pip`` installed, type this in a terminal:\n\n.. code:: bash\n\n    pip install simple-youtube-api\n    \n  \nGenerating YouTube API Keys\n---------------------------\n1. Log into https://console.cloud.google.com\n2. Create a new Project\n3. Search for \"YouTube Data API V3\" or go to https://console.cloud.google.com/apis/library/youtube.googleapis.com\n4. Click Credentials\n5. Click Create Credentials\n\nFor user data:\n\n1. Select OAuth Client ID\n2. Select that you will call API from \"Web Server\"\n3. Download or copy your API key from the Credentials tab\n\nFor non-user data:\n\n1. Select API Key\n2. Paste the key into a file\n\nRunning Tests\n-------------\nRun the python command\n\n.. code:: bash \n\n   python setup.py test\n\nReferences\n----------\n`YouTube API Documentation`_\n\n`Python YouTube API Examples`_\n\n\nContribute\n----------\n1. Fork the repository from Github\n2. Clone your fork \n\n.. code:: bash \n\n   git clone https://github.com/yourname/simple-youtube-api.git\n\n3. Add the main repository as a remote\n\n.. code:: bash\n\n    git remote add upstream https://github.com/jonnekaunisto/simple-youtube-api.git\n\n4. Create a pull request and follow the guidelines\n\n\nMaintainers\n-----------\njonnekaunisto (owner)\n\n\n.. _`YouTube API Documentation`: https://developers.google.com/youtube/v3/docs/\n.. _`Python YouTube API Examples`: https://github.com/youtube/api-samples/tree/master/python\n.. _documentation: https://simple-youtube-api.readthedocs.io/\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonnekaunisto%2Fsimple-youtube-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjonnekaunisto%2Fsimple-youtube-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonnekaunisto%2Fsimple-youtube-api/lists"}