Apple Connector for Podcast Data
Project description
Apple Connector
This is a simple library for connecting to the inofficial Apple podcast API.
It can be used to export data from your dashboard at
https://podcastsconnect.apple.com.
Supported Data
- Podcast Overview
- Episodes Overview
Credentials
We need the myacinfo
cookie from your browser to authenticate.
It can be found through the network tab in your browser's developer tools.
Add it to .env
as MYACINFO
.
Installation
pip install appleconnector
Usage as a library
from appleconnector import AppleConnector
# Set up the connector
connector = AppleConnector(
showId='1642486726',
myacinfo="your_myacinfo_cookie",
)
# Get Podcast overview data
connector.overview()
# ...
See __main.py__
for all endpoints.
Development
We use [Pipenv] for virtualenv and dev dependency management. With Pipenv installed:
- Install your locally checked out code in [development mode], including its dependencies, and all dev dependencies into a virtual environment:
pipenv sync --dev
- Create an environment file and fill in the required values:
cp .env.example .env
- Run the script in the virtual environment, which will [automatically load
your
.env
][env]:
pipenv run appleconnector
To add a new dependency for use during the development of this library:
pipenv install --dev $package
To add a new dependency necessary for the correct operation of this library, add
the package to the install_requires
section of ./setup.py
, then:
pipenv install
To publish the package:
python setup.py sdist bdist_wheel
twine upload dist/*
or
make publish
Project details
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 appleconnector-0.1.0.tar.gz
.
File metadata
- Download URL: appleconnector-0.1.0.tar.gz
- Upload date:
- Size: 5.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c541b9b11693780012997a4b0a74187e7bb6ddae34ff17aedc96aafdaa8a9ede |
|
MD5 | b009e807fdb96d87a6c2041cb15dad19 |
|
BLAKE2b-256 | 1abcc21ef88089aec5595d61d1caab9122e59c1535a8bbe60eb0b992eea5b7e0 |
File details
Details for the file appleconnector-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: appleconnector-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ab84fb72ecc5ddd0d009432827445c9c87c09314b27d0a8c9e67fd727c3d8419 |
|
MD5 | 0c89e5fd0704aea43ac8f69edc374dba |
|
BLAKE2b-256 | 865ce07c56c4b3739d89f624e306db3a649b33a6fdaf1d80d90fc2e4aa187612 |