A python YouTube API wrapper
Project description
Simple Youtube API
=======
.. image:: https://badge.fury.io/py/simple-youtube-api.svg
:target: https://badge.fury.io/py/simple-youtube-api
:alt: Simple YouTube API page on the Python Package Index
.. image:: https://travis-ci.org/jonnekaunisto/simple-youtube-api.svg?branch=master
:target: https://travis-ci.org/jonnekaunisto/simple-youtube-api
:alt: Build status on travis
.. image:: https://coveralls.io/repos/github/jonnekaunisto/simple-youtube-api/badge.svg?branch=master
:target: https://coveralls.io/github/jonnekaunisto/simple-youtube-api?branch=master
:alt: Coverage on coveralls
Simple Youtube API is a Youtube API wrapper for python, making it easier to search and upload your videos.
Examples
--------
In 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:
.. code:: python
from simple_youtube_api.Channel import Channel
from simple_youtube_api.Video import Video
channel = Channel()
channel.login("client_secret.json", "credentials.storage")
video = Video(file_path="test_vid.mp4")
video.set_title("This is a title")
video.set_description("This is a description")
video.set_tags(["this", "tag"])
video.set_category("film")
video.set_privacy_status("private")
channel.upload_video(video)
Installation
------------
Simple YouTube API needs API keys from Google in order to be able to make queries to YouTube.
**Installation by hand:** you can download the source files from PyPi or Github:
.. code:: bash
$ (sudo) python setup.py install
**Installation with pip:** make sure that you have ``pip`` installed, type this in a terminal:
.. code:: bash
$ (sudo) pip install simple-youtube-api
Generating YouTube API Keys
---------------------------
Documentation
-------------
Running Tests
-------------
References
----------
`YouTube API Documentation`_
`Python YouTube API Examples`_
Contribute
----------
Maintainers
-----------
jonnekaunisto (owner)
.. _`YouTube API Documentation`: https://developers.google.com/youtube/v3/docs/
.. _`Python YouTube API Examples`: https://github.com/youtube/api-samples/tree/master/python
=======
.. image:: https://badge.fury.io/py/simple-youtube-api.svg
:target: https://badge.fury.io/py/simple-youtube-api
:alt: Simple YouTube API page on the Python Package Index
.. image:: https://travis-ci.org/jonnekaunisto/simple-youtube-api.svg?branch=master
:target: https://travis-ci.org/jonnekaunisto/simple-youtube-api
:alt: Build status on travis
.. image:: https://coveralls.io/repos/github/jonnekaunisto/simple-youtube-api/badge.svg?branch=master
:target: https://coveralls.io/github/jonnekaunisto/simple-youtube-api?branch=master
:alt: Coverage on coveralls
Simple Youtube API is a Youtube API wrapper for python, making it easier to search and upload your videos.
Examples
--------
In 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:
.. code:: python
from simple_youtube_api.Channel import Channel
from simple_youtube_api.Video import Video
channel = Channel()
channel.login("client_secret.json", "credentials.storage")
video = Video(file_path="test_vid.mp4")
video.set_title("This is a title")
video.set_description("This is a description")
video.set_tags(["this", "tag"])
video.set_category("film")
video.set_privacy_status("private")
channel.upload_video(video)
Installation
------------
Simple YouTube API needs API keys from Google in order to be able to make queries to YouTube.
**Installation by hand:** you can download the source files from PyPi or Github:
.. code:: bash
$ (sudo) python setup.py install
**Installation with pip:** make sure that you have ``pip`` installed, type this in a terminal:
.. code:: bash
$ (sudo) pip install simple-youtube-api
Generating YouTube API Keys
---------------------------
Documentation
-------------
Running Tests
-------------
References
----------
`YouTube API Documentation`_
`Python YouTube API Examples`_
Contribute
----------
Maintainers
-----------
jonnekaunisto (owner)
.. _`YouTube API Documentation`: https://developers.google.com/youtube/v3/docs/
.. _`Python YouTube API Examples`: https://github.com/youtube/api-samples/tree/master/python
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for simple_youtube_api-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d1a1ce2c906227e4cd3c8e3c414f62c9a6f834e028c4da11014907956329ff34 |
|
MD5 | 249a5267c1656ec6ea1668778625fd65 |
|
BLAKE2b-256 | 7b67e7d5dc1a921ed7e6badab3197a3077b4fcbd80c6154a99f04e070d3496d5 |