Unofficial API for YouTube Music
Project description
ytmusicapi: Unofficial API for YouTube Music
A work-in-progress API that emulates web requests from the YouTube Music web client.
Currently you need to extract your authentication data from your web browser and provide it through a file for it to work.
Simple usage example:
from ytmusicapi import YTMusic
ytmusic = YTMusic('headers_auth.json')
playlistId = ytmusic.create_playlist("test", "test description")
search_results = ytmusic.search("Oasis Wonderwall")
ytmusic.add_playlist_items(playlistId, [search_results[0]['videoId']])
Requirements
Python 3 - https://www.python.org
Setup and Usage
See the Documentation for detailed instructions
Contributing
Pull requests are welcome. There are still lots of features unimplemented, for example retrieving content from the library and other parts of YTMusic.
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
ytmusicapi-0.6.0.tar.gz
(12.8 kB
view hashes)
Built Distribution
ytmusicapi-0.6.0-py3-none-any.whl
(14.8 kB
view hashes)
Close
Hashes for ytmusicapi-0.6.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e68c2ab5d3cb6c3949a6fdad7e2ebc62a57a8820774ce1eb2da208e7987b987a |
|
MD5 | 8e571dc07963c3e1e74c2bb9f6abea7b |
|
BLAKE2b-256 | edb6d103c8a6df86fa27dcab45b974146b90866793feef27f9bd02fe2ddc64fb |