An unofficial YouTube Music API For Python Programming Language.
Project description
YouTubeMusicAPI
What's new in version 2.3?
- Stable release.
- Improved Library Speed (10x Faster than version 2.2.)
- Updated Code Format.
- Removed artist() for temporarily.
📜 About
- An unofficial YouTube Music API For Python Programming Language.
- A Python library which Quickly gather the metadata of a Song, Playlist, Artist existing on YouTube or YouTube Music.
👤 Author
🔑 ❌ No Access token or Credentials required.
📦 Package Installation
- Windows
pip install --upgrade YouTubeMusicAPI
- Linux & Mac OS
pip3 install --upgrade YouTubeMusicAPI
📚 GET Basic
track()
- This function can be used to get metadata of a track or song.
from YouTubeMusicAPI import YouTubeMusicAPI
track = YouTubeMusicAPI("immortals").track()
print(track)
👉 Output of this program
{
'name': 'Fall Out Boy - Immortals (Official Music Video) (From "Big Hero 6")',
'datePublished': '2014-10-13',
'Id': 'l9PxOanFjxQ',
'url': 'https://music.youtube.com/watch?v=l9PxOanFjxQ',
'image': 'https://i.ytimg.com/vi/l9PxOanFjxQ/hqdefault.jpg'
}
playlist()
- This function can be used to get metadata of a playlist.
from YouTubeMusicAPI import YouTubeMusicAPI
playlist = YouTubeMusicAPI("Alan Walker").playlist()
print(playlist)
👉 Output of this program
{
'name': 'Alan Walker - Teledyski',
'url': 'https://music.youtube.com/playlist?list=PLwcXu6NozQZjVjazNF0fqbdQ8e15mnMJ4',
'Id': 'PLwcXu6NozQZjVjazNF0fqbdQ8e15mnMJ4'
}
🧾 License
🤝 Contributing
- For major changes or improvement, Open an issue and mention what you would like to change or add.
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.3.tar.gz
(4.1 kB
view hashes)
Built Distribution
Close
Hashes for YouTubeMusicAPI-2.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9cf564a48126c86c1ab8d15b1da92769e77915e52c4d86dba16378c69095639d |
|
MD5 | 15b0b881f561928fc4eb9377dbc422fd |
|
BLAKE2b-256 | b95f7e0ab05e642e8e98f651483a3c52d51400de7755746d03fcb5972faeee64 |