The search API for YouTube Music.
Project description
YouTubeMusicAPI 2.7.1
The search API for YouTube Music.
python -m pip install -U YouTubeMusicAPI
Example
import YouTubeMusicAPI
result = YouTubeMusicAPI.Search("shape of you")
print(result)
# output
# {
# "name": "Ed Sheeran - Shape of You (Official Music Video)",
# "id": "JGwWNGJdvx8",
# "url": "https://music.youtube.com/watch?v=JGwWNGJdvx8",
# "images": [
# "https://i.ytimg.com/vi/JGwWNGJdvx8/hqdefault.jpg",
# "https://i.ytimg.com/vi/JGwWNGJdvx8/default.jpg",
# "https://i.ytimg.com/vi/JGwWNGJdvx8/mqdefault.jpg",
# "https://i.ytimg.com/vi/JGwWNGJdvx8/sddefault.jpg",
# "https://i.ytimg.com/vi/JGwWNGJdvx8/maxresdefault.jpg"
# ],
# "author_name": "Ed Sheeran",
# "author_url": "https://www.youtube.com/c/EdSheeran"
# }
License
This Python package is distributed under the MIT License.
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
YouTubeMusicAPI-2.7.1.tar.gz
(2.9 kB
view hashes)
Built Distribution
Close
Hashes for YouTubeMusicAPI-2.7.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd2093563111920d7fc2c6afcda8e5461f5b070634db0067f380916e3ff7f1cc |
|
MD5 | 358ec9068173935982b92a7b4c8800ff |
|
BLAKE2b-256 | e6fdfbb347454e9565a5851947e8fe9ad49020c1c15cdcdbf13d009b9384159f |