ytmusicapi 0.9.1
pip install ytmusicapi==0.9.1
Released:
Unofficial API for YouTube Music
Navigation
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: MIT
- Author: sigma67
- Requires: Python >=3.5
Project description
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.
Features
search (including all filters)
get artist information and releases (songs, videos, albums, singles)
get user information (videos, playlists)
get albums
get song metadata
get watch playlists (playlist that appears when you press play in YouTube Music)
get library contents: playlists, songs, artists, albums and subscriptions
add/remove library content: rate songs, albums and playlists, subscribe/unsubscribe artists
create and delete playlists
modify playlists: edit metadata, add/move/remove tracks
get playlist contents
Upload songs and remove them again
List uploaded songs, artists and albums
Usage
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']])
The tests are also a great source of usage examples.
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. Please, refer to CONTRIBUTING.rst for guidance.
Project details
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: MIT
- Author: sigma67
- Requires: Python >=3.5
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters https://pypi.org/project/ytmusicapi/0.9.1/#files
Showing 1 of 1 file.
File details
Details for the file ytmusicapi-0.9.1.tar.gz
.
File metadata
- Download URL: ytmusicapi-0.9.1.tar.gz
- Upload date:
- Size: 24.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
9b411210a33aed46382a0dc87fa37aa7661cb9d42947b5a65d0d25c280de34ab
|
|
MD5 |
803a09794d8791d35ce9596d2414b4c7
|
|
BLAKE2b-256 |
7d00feefaac9f68efd9da2d0d775303f3fb1578d67db378da65772b8a0dd1441
|
File details
Details for the file ytmusicapi-0.9.1-py3-none-any.whl
.
File metadata
- Download URL: ytmusicapi-0.9.1-py3-none-any.whl
- Upload date:
- Size: 33.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
01c5ca8b6eb8161c2a2c86eca85614c39a689e737fca7e799446f8b9288ecbec
|
|
MD5 |
70702bab111b4732c9dce66a117d00f6
|
|
BLAKE2b-256 |
902ba5f67a47cfd45aeed0b4f981bf43007ba9da8be8452f6bed262951432bf6
|