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
- Trends
- Episodes Overview
- Episode Details
Credentials
We need the myacinfo and itctx cookies from your browser to authenticate.
They can be found through the network tab in your browser's developer tools.
Add them to .env as MYACINFO and ITCTX.
(You need to quote the values, as they may contain |.)
Installation
pip install appleconnector
Usage as a library
from appleconnector import AppleConnector
# Set up the connector
connector = AppleConnector(
podcast_id='1642486726',
myacinfo="your_myacinfo_cookie",
itctx="your_itctx_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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file appleconnector-0.4.1.tar.gz.
File metadata
- Download URL: appleconnector-0.4.1.tar.gz
- Upload date:
- Size: 5.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
98839c5e3954b59af43d4b225ce5192a7041cf115ff297129a813ff590148137
|
|
| MD5 |
ebe610afc63919ca38d9af0c2fb2f6e6
|
|
| BLAKE2b-256 |
41a13944563ee9fa9dc88648b7f647a43025547388f802cd100b5c7a2c02c3dd
|
File details
Details for the file appleconnector-0.4.1-py3-none-any.whl.
File metadata
- Download URL: appleconnector-0.4.1-py3-none-any.whl
- Upload date:
- Size: 7.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
81ded2cdee232c86738faca6d85d07bfd3ab7e15b27f325abd5e9895d1f77092
|
|
| MD5 |
adf4417e42fd95f073980af873af2469
|
|
| BLAKE2b-256 |
242dace27f65720c01ed5659ddc9a3cc33ff92045047b3ef551fd2b9be672b7d
|