deezer-api


Namedeezer-api JSON
Version 1.0.0 PyPI version JSON
download
home_pagehttps://github.com/Andryerics/deezer_api
SummaryA simple Python wrapper for the Deezer API
upload_time2024-06-29 08:19:48
maintainerNone
docs_urlNone
authorAndry RL
requires_python>=3.6
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # DeezerAPI

A simple Python wrapper for the Deezer API, allowing easy access to a variety of Deezer's endpoints to fetch data about artists, albums, tracks, playlists, and more.

## Table of Contents

- [Introduction](#introduction)
- [Installation](#installation)
- [Usage](#usage)
  - [Importing and Initializing](#importing-and-initializing)
  - [Search for an Artist](#search-for-an-artist)
  - [Get Album Information](#get-album-information)
  - [Get Editorial Information](#get-editorial-information)
  - [Get Chart Information](#get-chart-information)
  - [Get Artist Information](#get-artist-information)
  - [Get Track Information](#get-track-information)
  - [Get Radio Stations](#get-radio-stations)
  - [Get Playlist Information](#get-playlist-information)
  - [Get Deezer Information](#get-deezer-information)
  - [Get Genres](#get-genres)
  - [Get User Information](#get-user-information)
- [Author and Contact Information](#author-and-contact-information)
- [Support the Project](#support-the-project)

## Introduction

DeezerAPI is a simple yet powerful Python wrapper for the Deezer API. It allows developers to easily access a wide range of endpoints provided by Deezer, enabling the retrieval of detailed information about artists, albums, tracks, playlists, and more. Whether you're building a music discovery app, analyzing musical trends, or just experimenting with the Deezer API, this module provides a convenient way to interact with Deezer's vast music database.

## Installation

To install the DeezerAPI module, simply use pip:


```bash
pip install deezer_api
```

## Usage

Below are examples of how to use the DeezerAPI module to access different types of data from Deezer.

### Importing and Initializing

```python
from deezer_api.deezer import DeezerAPI
```

### Initialize the API

```python
deezer = DeezerAPI()
```

### Search for an Artist
Search for an artist by name. For example, to search for "Eminem":

```python
results = deezer.search("eminem")
print(results)
```

### Get Album Information
Get information about a specific album by its ID. For example, to get the album with ID "302127":

```python
album_info = deezer.get_album("302127")
print(album_info)
```

### Get Editorial Information
Fetch the editorial information:

```python
editorial_info = deezer.get_editorial()
print(editorial_info)
```

### Get Chart Information
Fetch the chart information:

```python
chart_info = deezer.get_chart()
print(chart_info)
```

### Get Artist Information
Get information about a specific artist by their ID. For example, to get information about the artist with ID "27":

```python
artist_info = deezer.get_artist("27")
print(artist_info)
```

### Get Track Information
Get information about a specific track by its ID. For example, to get the track with ID "3135556":

```python
track_info = deezer.get_track("3135556")
print(track_info)
```

### Get Radio Stations
Fetch information about radio stations:

```python
radio_info = deezer.get_radio()
print(radio_info)
```
### Get Playlist Information
Get information about a specific playlist by its ID. For example, to get the playlist with ID "908622995":

```python
playlist_info = deezer.get_playlist("908622995")
print(playlist_info)
```
### Get Deezer Information
Fetch general information about Deezer:

```python
deezer_info = deezer.get_infos()
print(deezer_info)
```
### Get Genres
Fetch information about genres:

```python
genres_info = deezer.get_genre()
print(genres_info)
```

### Get User Information
Get information about a specific user by their ID. For example, to get information about the user with ID "5557228304":

```python
user_info = deezer.get_user("5557228304")
print(user_info)
```





## Author and Contact Information

**Name and Author**: Ă…ndry RL  
**Username**: andryerics  
**Website**: [andryerics.com](https://www.andryerics.com)  
**WhatsApp**: [+261347262824](https://wa.me/261347262824)  

## Support the Project

If you find this project useful and would like to support its development, you can buy me a coffee:

- **PayPal**: [andryerica1@gmail.com](https://www.paypal.com/donate?business=andryerica1@gmail.com&item_name=Support+DeezerAPI+Development&currency_code=USD)

Thank you for your support!




# License
This project is licensed under the MIT License - see the LICENSE file for details.

# Contributing
Contributions are welcome! Please open an issue or submit a pull request for any changes.





            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/Andryerics/deezer_api",
    "name": "deezer-api",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": null,
    "keywords": null,
    "author": "Andry RL",
    "author_email": "andryerics@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/3e/e7/12fe278f8d5233966aea82b13bb7e18b011a86f4c73cdd325dc9e8251d60/deezer_api-1.0.0.tar.gz",
    "platform": null,
    "description": "# DeezerAPI\n\nA simple Python wrapper for the Deezer API, allowing easy access to a variety of Deezer's endpoints to fetch data about artists, albums, tracks, playlists, and more.\n\n## Table of Contents\n\n- [Introduction](#introduction)\n- [Installation](#installation)\n- [Usage](#usage)\n  - [Importing and Initializing](#importing-and-initializing)\n  - [Search for an Artist](#search-for-an-artist)\n  - [Get Album Information](#get-album-information)\n  - [Get Editorial Information](#get-editorial-information)\n  - [Get Chart Information](#get-chart-information)\n  - [Get Artist Information](#get-artist-information)\n  - [Get Track Information](#get-track-information)\n  - [Get Radio Stations](#get-radio-stations)\n  - [Get Playlist Information](#get-playlist-information)\n  - [Get Deezer Information](#get-deezer-information)\n  - [Get Genres](#get-genres)\n  - [Get User Information](#get-user-information)\n- [Author and Contact Information](#author-and-contact-information)\n- [Support the Project](#support-the-project)\n\n## Introduction\n\nDeezerAPI is a simple yet powerful Python wrapper for the Deezer API. It allows developers to easily access a wide range of endpoints provided by Deezer, enabling the retrieval of detailed information about artists, albums, tracks, playlists, and more. Whether you're building a music discovery app, analyzing musical trends, or just experimenting with the Deezer API, this module provides a convenient way to interact with Deezer's vast music database.\n\n## Installation\n\nTo install the DeezerAPI module, simply use pip:\n\n\n```bash\npip install deezer_api\n```\n\n## Usage\n\nBelow are examples of how to use the DeezerAPI module to access different types of data from Deezer.\n\n### Importing and Initializing\n\n```python\nfrom deezer_api.deezer import DeezerAPI\n```\n\n### Initialize the API\n\n```python\ndeezer = DeezerAPI()\n```\n\n### Search for an Artist\nSearch for an artist by name. For example, to search for \"Eminem\":\n\n```python\nresults = deezer.search(\"eminem\")\nprint(results)\n```\n\n### Get Album Information\nGet information about a specific album by its ID. For example, to get the album with ID \"302127\":\n\n```python\nalbum_info = deezer.get_album(\"302127\")\nprint(album_info)\n```\n\n### Get Editorial Information\nFetch the editorial information:\n\n```python\neditorial_info = deezer.get_editorial()\nprint(editorial_info)\n```\n\n### Get Chart Information\nFetch the chart information:\n\n```python\nchart_info = deezer.get_chart()\nprint(chart_info)\n```\n\n### Get Artist Information\nGet information about a specific artist by their ID. For example, to get information about the artist with ID \"27\":\n\n```python\nartist_info = deezer.get_artist(\"27\")\nprint(artist_info)\n```\n\n### Get Track Information\nGet information about a specific track by its ID. For example, to get the track with ID \"3135556\":\n\n```python\ntrack_info = deezer.get_track(\"3135556\")\nprint(track_info)\n```\n\n### Get Radio Stations\nFetch information about radio stations:\n\n```python\nradio_info = deezer.get_radio()\nprint(radio_info)\n```\n### Get Playlist Information\nGet information about a specific playlist by its ID. For example, to get the playlist with ID \"908622995\":\n\n```python\nplaylist_info = deezer.get_playlist(\"908622995\")\nprint(playlist_info)\n```\n### Get Deezer Information\nFetch general information about Deezer:\n\n```python\ndeezer_info = deezer.get_infos()\nprint(deezer_info)\n```\n### Get Genres\nFetch information about genres:\n\n```python\ngenres_info = deezer.get_genre()\nprint(genres_info)\n```\n\n### Get User Information\nGet information about a specific user by their ID. For example, to get information about the user with ID \"5557228304\":\n\n```python\nuser_info = deezer.get_user(\"5557228304\")\nprint(user_info)\n```\n\n\n\n\n\n## Author and Contact Information\n\n**Name and Author**: \u00c5ndry RL  \n**Username**: andryerics  \n**Website**: [andryerics.com](https://www.andryerics.com)  \n**WhatsApp**: [+261347262824](https://wa.me/261347262824)  \n\n## Support the Project\n\nIf you find this project useful and would like to support its development, you can buy me a coffee:\n\n- **PayPal**: [andryerica1@gmail.com](https://www.paypal.com/donate?business=andryerica1@gmail.com&item_name=Support+DeezerAPI+Development&currency_code=USD)\n\nThank you for your support!\n\n\n\n\n# License\nThis project is licensed under the MIT License - see the LICENSE file for details.\n\n# Contributing\nContributions are welcome! Please open an issue or submit a pull request for any changes.\n\n\n\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "A simple Python wrapper for the Deezer API",
    "version": "1.0.0",
    "project_urls": {
        "Homepage": "https://github.com/Andryerics/deezer_api"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "093e5f510883532b8ffb5858325353b968f1c20dac6c405d3ddedf3e674df0c4",
                "md5": "1f205861e315bcf7aa9b25553cd885e4",
                "sha256": "033f633fa4c82cb8c51fff373dd0d6f0394e8965e0d15b2d4606e997bab06c33"
            },
            "downloads": -1,
            "filename": "deezer_api-1.0.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "1f205861e315bcf7aa9b25553cd885e4",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 3755,
            "upload_time": "2024-06-29T08:19:46",
            "upload_time_iso_8601": "2024-06-29T08:19:46.849179Z",
            "url": "https://files.pythonhosted.org/packages/09/3e/5f510883532b8ffb5858325353b968f1c20dac6c405d3ddedf3e674df0c4/deezer_api-1.0.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3ee712fe278f8d5233966aea82b13bb7e18b011a86f4c73cdd325dc9e8251d60",
                "md5": "abf2a9400184324bb9a182d2e8bfa957",
                "sha256": "9497ec7ddfdb4b54b8d43ee78c5653435f90c511b21b4884d41f86d2a5b63602"
            },
            "downloads": -1,
            "filename": "deezer_api-1.0.0.tar.gz",
            "has_sig": false,
            "md5_digest": "abf2a9400184324bb9a182d2e8bfa957",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 3396,
            "upload_time": "2024-06-29T08:19:48",
            "upload_time_iso_8601": "2024-06-29T08:19:48.357193Z",
            "url": "https://files.pythonhosted.org/packages/3e/e7/12fe278f8d5233966aea82b13bb7e18b011a86f4c73cdd325dc9e8251d60/deezer_api-1.0.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-06-29 08:19:48",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Andryerics",
    "github_project": "deezer_api",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "deezer-api"
}
        
Elapsed time: 0.87893s