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']])
Features
Browsing: get artist information and releases (songs, videos, albums, singles), get albums
Library management: list, create, delete, and modify playlists and playlist items
Search: Search for songs on YouTube Music
Uploads: Upload songs, list uploaded songs and delete uploaded songs
Requirements
Python 3.5 or higher - https://www.python.org
Setup and Usage
See the Documentation for detailed instructions
Contributing
Pull requests are welcome. There are still some features that are not yet implemented.
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
Hashes for ytmusicapi-0.7.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8ad640d46f7396463e5d80ba26c71d3520e329eff0e52fbb471b7495cae2d099 |
|
MD5 | f2d4b2ed94d7fce681cb7dd5be90c422 |
|
BLAKE2b-256 | d926d9cceea1e6a9c627d105612d89f9daa3effcf7b2648801b6f7ea7daf57eb |