YouTubeMusicAPI Version 1.2
Project description
YouTube-Music-API
- YouTubeMusicAPI is a Python Library build using requests, pafy, youtube_dl, sockets, etc...
Features
- Get Song Name For User and stream directly in Youtube Music Official website.
- Get Song Name For User and Download using pafy | youtube_dl
How To Use
- For Playing a song, Create the code like this:
# import the module
import YouTubeMusicAPI as ytm
# Use .play for playing song
# Type The Song Name inside the brackets eg: ("Faded Alan Walker")
ytm.play("Song Name")
- For downloading the song, Create the code like this:
# import the module
import YouTubeMusicAPI as ytm
# Use .download for downloading song
# Type The Song Name & download path inside the brackets eg: ("Faded Alan Walker, "C:\Downloads\")
ytm.download("Song Name", "Path")
- For getting the song url, Create the code like this:
# import the module
import YouTubeMusicAPI as ytm
# Use .getURL for downloading song
# Type The Song Name inside the brackets eg: ("Faded Alan Walker")
url=ytm.getURL("Song Name")
print(url)
- For getting the song url, Create the code like this:
# import the module
import YouTubeMusicAPI as ytm
# Use .playonvlc for streaming song in VLC Media Player
# Type The Song Name inside the brackets eg: ("Faded Alan Walker")
ytm.playonvlc("Song Name")
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-1.2.tar.gz
(3.9 kB
view hashes)
Built Distribution
Close
Hashes for YouTubeMusicAPI-1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5e551f82d8a6f8abe7173a63a2474457dd728bd35aba3edcd8d28c981fe6bc0e |
|
MD5 | 46827cea703042db11deedf05e6e97fa |
|
BLAKE2b-256 | 85c158da450b85deba51cbbcb4bc9e8a18a8b9bd8d5506c3c010067e48e7c418 |