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
spotifyconnector-0.1.0.tar.gz
(5.2 kB
view hashes)
Built Distribution
Close
Hashes for spotifyconnector-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd09203f717e4e5713d1aae38fbe3eadf4e1328815cfa612217dab0f2c614d2f |
|
MD5 | 4419bc82704fa60b064e50c96c79cf2c |
|
BLAKE2b-256 | 948a0cb9ef82fe19a3e8319190d72f63ec4cd20ee4e711f54a12169926beb5a2 |