Skip to main content

The unofficial search API for YouTube Music.

Project description

YouTubeMusicAPI

An open-source Python library which helps to find a song or track existing on YouTube Music

Downloads

Package Installation

pip install YouTubeMusicAPI==2.6.0

Example

from YouTubeMusicAPI import Search

result = Search("Alan walker faded")

print(result)

# output

{
    "name": "Faded",
    "Id": "pIWaVJPl0-c",
    "url": "https://music.youtube.com/watch?v=pIWaVJPl0-c",
    "image": "https://i.ytimg.com/vi/pIWaVJPl0-c/hqdefault.jpg",
    "author_name": "Alan Walker - Topic",
    "author_url": "https://www.youtube.com/channel/UCaXJEi-wOOVe2eZZHzyz4mQ"
}

License

Copyright (c) 2020 - present, Sijey. All rights reserved.

The source is free to copy, modify, publish, use, compile, sell, or distribute.., licensed under the MIT License.

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

Uploaded Source

Built Distribution

YouTubeMusicAPI-2.6.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