Spotify Connector for Podcast Data
Project description
Spotify Connector
This is a simple library for connecting to the inofficial Spotify podcast API. It can be used to export data from the dashboard.
Supported Data
- List of episodes
- Starts and streams
- Listeners
- Followers
- Gender
- Age
- Country
- Episode performance
Usage as a library
from spotify_importer import SpotifyImporter
connector = SpotifyConnector(
client_id="your_client_id",
client_secret="your_client_secret",
redirect_uri="your_redirect_uri",
refresh_token="your_refresh_token",
)
# Get podcast metadata
connector.metadata()
# Get the list of episodes
episodes = connector.episodes()
# Get the list of listeners
listeners = connector.listeners()
# Get the list of followers
followers = connector.aggregate()
# ...
Usage As An Application
- Create an environment file and fill in the required values:
cp .env.example .env
- Run the script:
python3 main.py
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file spotifyconnector-0.1.0.tar.gz
.
File metadata
- Download URL: spotifyconnector-0.1.0.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b067144dc962eceaa1f3314348982c3e27fe36759e16987b5d2b135c65dc445e |
|
MD5 | f18b3903c00e4f601b7d87172bf7fc62 |
|
BLAKE2b-256 | c44fddf1b31e29ec5eedb796afee2853f822189c0a8aa8889c40c9aca011a970 |
File details
Details for the file spotifyconnector-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: spotifyconnector-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd09203f717e4e5713d1aae38fbe3eadf4e1328815cfa612217dab0f2c614d2f |
|
MD5 | 4419bc82704fa60b064e50c96c79cf2c |
|
BLAKE2b-256 | 948a0cb9ef82fe19a3e8319190d72f63ec4cd20ee4e711f54a12169926beb5a2 |