Deezer OAuth CLI
Source Code: https://github.com/browniebroke/deezer-oauth-cli
A small CLI to quickly obtain an API token for the Deezer API.
Obtaining API token to develop API applications can be complicated and sometimes feel like a chicken and egg situation: it's hard to play with the API without a token, but it can be difficult to get a token without an application to do the OAuth flow.
Given the app ID and secret, this tool lets you quickly get an API token.
Installation
Install this via pip (or your favourite package manager):
pip install deezer-oauth-cli
Usage
Before starting to use this tool, you first need to declare your Deezer app in their developer portal. Create a new app with the following Redirect URL: http://localhost:8080/oauth/return.
Important note
At the moment, it is not possible to register a new application via the Deezer Developer Portal.
The portal currently displays the message: "We're not accepting new application creation at this time. Please check again later."
Once created, Deezer will generate an application ID and secret key for you, that's the 2 parameters that you need to run this tool:
$ deezer-oauth APP_ID APP_SECRET
This will:
- Spin up a webserver in the background running at
http://localhost:8080. - Open your browser to grant authorisation access to your Deezer account.
- Redirect to a page showing the API token & expiry.
- Write the token to a
.envfile.
Contributors ✨
Thanks goes to these wonderful people (emoji key):
Bruno Alla 💻 🤔 📖 |
Pierre 💻 |
This project follows the all-contributors specification. Contributions of any kind welcome!
Credits
This package was created with Cookiecutter and the browniebroke/cookiecutter-pypackage project template.
Metadata
Release files for deezer-oauth-cli 2.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| deezer_oauth_cli-2.1.0.tar.gz | 12.2 kB | With provenance | Details for deezer_oauth_cli-2.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| deezer_oauth_cli-2.1.0-py3-none-any.whl | Python 3 | none | any | Details for deezer_oauth_cli-2.1.0-py3-none-any.whl |
Total release size: 21.0 kB
Release files / deezer_oauth_cli-2.1.0.tar.gz
| Download URL | deezer_oauth_cli-2.1.0.tar.gz |
|---|---|
| Size | 12.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5ede6b68eca9d22e681e33b3649000eee9f7c841921da1cf3d21ab57327f57ee
|
|
BLAKE2b-256 checksum How to use checksums |
ee0cc22b32be534aa4376aa37f77f08bf56f69f70ea22fd6388da4aecd7a7b84
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 7, 2026.
Transparency logRelease files / deezer_oauth_cli-2.1.0-py3-none-any.whl
| Download URL | deezer_oauth_cli-2.1.0-py3-none-any.whl |
|---|---|
| Size | 8.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
73419aa0b46625e92603e3617af2b377070527a93b7bf173bb443dce11ac0f8f
|
|
BLAKE2b-256 checksum How to use checksums |
99e9ff8b6759ae5bcd0292917fbf01ca990f20539edb7958c37f2fc70dd6ef35
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 7, 2026.
Transparency logSecurity for deezer-oauth-cli 2.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for deezer_oauth_cli-2.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 7, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.