Skip to main content

YouTubeMusicAPI Version 1.0

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")

ytm.getURL("Song Name")

Project details


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.0.tar.gz (3.7 kB view hashes)

Uploaded Source

Built Distribution

YouTubeMusicAPI-1.0-py3-none-any.whl (3.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page