YouTubeMusicAPI


NameYouTubeMusicAPI JSON
Version 2.9.1 PyPI version JSON
download
home_pagehttps://github.com/cj-praveen/YouTube-Music-API/
SummaryAn unofficial search API for YouTube Music.
upload_time2024-07-21 06:39:52
maintainerNone
docs_urlNone
authorNone
requires_python>=3.9
licenseNone
keywords youtube music api youtubemusicapi python youtube music api youtube music api python
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # YouTube Music API
An unofficial search API for YouTube Music.

[![Downloads](https://static.pepy.tech/badge/youtubemusicapi)](https://pepy.tech/project/youtubemusicapi)

**Installation:**
```
pip install -U YouTubeMusicAPI
```

##  Get Basic
```py
# Import the YouTubeMusicAPI module
import YouTubeMusicAPI

# Example query
query = "alan walker faded"

# Call the search function with the query
result = YouTubeMusicAPI.search(query)

# Check if a result was found
if result:
    # Print the retrieved result
    print(result)
else:
    # Print a message if no result was found
    print("No Result Found")
```

**Example Output:**
```json
{
    "title": "Alan Walker - Faded",
    "id": "60ItHLz5WEA",
    "url": "https://music.youtube.com/watch?v=60ItHLz5WEA",
    "artwork": "https://img.youtube.com/vi/60ItHLz5WEA/0.jpg",
    "author": {
        "name": "Alan Walker",
        "url": "https://www.youtube.com/@Alanwalkermusic"
    }
}
```
## License
Free and open-source under [MIT License](LICENSE).

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/cj-praveen/YouTube-Music-API/",
    "name": "YouTubeMusicAPI",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": null,
    "keywords": "youtube music api, YouTubeMusicAPI, python youtube music api, youtube music api python",
    "author": null,
    "author_email": null,
    "download_url": null,
    "platform": null,
    "description": "# YouTube Music API\nAn unofficial search API for YouTube Music.\n\n[![Downloads](https://static.pepy.tech/badge/youtubemusicapi)](https://pepy.tech/project/youtubemusicapi)\n\n**Installation:**\n```\npip install -U YouTubeMusicAPI\n```\n\n##  Get Basic\n```py\n# Import the YouTubeMusicAPI module\nimport YouTubeMusicAPI\n\n# Example query\nquery = \"alan walker faded\"\n\n# Call the search function with the query\nresult = YouTubeMusicAPI.search(query)\n\n# Check if a result was found\nif result:\n    # Print the retrieved result\n    print(result)\nelse:\n    # Print a message if no result was found\n    print(\"No Result Found\")\n```\n\n**Example Output:**\n```json\n{\n    \"title\": \"Alan Walker - Faded\",\n    \"id\": \"60ItHLz5WEA\",\n    \"url\": \"https://music.youtube.com/watch?v=60ItHLz5WEA\",\n    \"artwork\": \"https://img.youtube.com/vi/60ItHLz5WEA/0.jpg\",\n    \"author\": {\n        \"name\": \"Alan Walker\",\n        \"url\": \"https://www.youtube.com/@Alanwalkermusic\"\n    }\n}\n```\n## License\nFree and open-source under [MIT License](LICENSE).\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "An unofficial search API for YouTube Music.",
    "version": "2.9.1",
    "project_urls": {
        "Homepage": "https://github.com/cj-praveen/YouTube-Music-API/"
    },
    "split_keywords": [
        "youtube music api",
        " youtubemusicapi",
        " python youtube music api",
        " youtube music api python"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0bfde1bc4db88c37d1368fa1bb858a80f418bd583aeb9a5f2f4a00b73a09e808",
                "md5": "a6ebdc6d76fe7f9987e98c12c04b3526",
                "sha256": "5a8c5df0d5815b56cfeca2832ef8e535a6ee832010e69a06cc1778514d50e638"
            },
            "downloads": -1,
            "filename": "YouTubeMusicAPI-2.9.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "a6ebdc6d76fe7f9987e98c12c04b3526",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 3204,
            "upload_time": "2024-07-21T06:39:52",
            "upload_time_iso_8601": "2024-07-21T06:39:52.673609Z",
            "url": "https://files.pythonhosted.org/packages/0b/fd/e1bc4db88c37d1368fa1bb858a80f418bd583aeb9a5f2f4a00b73a09e808/YouTubeMusicAPI-2.9.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-07-21 06:39:52",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "cj-praveen",
    "github_project": "YouTube-Music-API",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "youtubemusicapi"
}
        
Elapsed time: 0.29823s