Skip to main content

Deezer OAuth CLI

CI Status Test coverage percentage

uv Ruff prek

PyPI Version Supported Python versions License


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 .env file.

Contributors ✨

Thanks goes to these wonderful people (emoji key):

Bruno Alla
Bruno Alla

💻 🤔 📖
Pierre
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.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for deezer-oauth-cli 2.0.0
File Size Uploaded Provenance Actions
deezer_oauth_cli-2.0.0.tar.gz 12.2 kB With provenance Details for deezer_oauth_cli-2.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for deezer-oauth-cli 2.0.0
File Interpreter ABI Platform Actions
deezer_oauth_cli-2.0.0-py3-none-any.whl Python 3 none any Details for deezer_oauth_cli-2.0.0-py3-none-any.whl

Total release size: 21.0 kB

Release files / deezer_oauth_cli-2.0.0.tar.gz

Download URL deezer_oauth_cli-2.0.0.tar.gz
Size 12.2 kB
Tags Source
SHA-256 checksum
How to use checksums
6a73cb6014a77912c5e25c2ed3f159ff4aa14db7f1e0a238936a20c1424eea3b
BLAKE2b-256 checksum
How to use checksums
e27d22fb8817650cb67a88d871b16f3a046bf824c07a8b4fc6647d247d974f9c
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 log

Release files / deezer_oauth_cli-2.0.0-py3-none-any.whl

Download URL deezer_oauth_cli-2.0.0-py3-none-any.whl
Size 8.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c011a2323495806ba1b0f19e45564c802300e7128f317f3abb9b8b77c323ead7
BLAKE2b-256 checksum
How to use checksums
400a29b674a31d3fea161f699b0b711e9ab1e3257c5a4cd12e203f69f301ed27
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 log

Security for deezer-oauth-cli 2.0.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.

Select from 2 files

Attestation for deezer_oauth_cli-2.0.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 log

A 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.

Release history Release notifications | RSS feed

This release

2.0.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page