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
Metadata
Release files for appleconnector 0.4.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| appleconnector-0.4.1.tar.gz | 5.3 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| appleconnector-0.4.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.4 kB
Release files / appleconnector-0.4.1.tar.gz
| Download URL | appleconnector-0.4.1.tar.gz |
|---|---|
| Size | 5.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
98839c5e3954b59af43d4b225ce5192a7041cf115ff297129a813ff590148137
|
|
BLAKE2b-256 checksum How to use checksums |
41a13944563ee9fa9dc88648b7f647a43025547388f802cd100b5c7a2c02c3dd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.13
|
Release files / appleconnector-0.4.1-py3-none-any.whl
| Download URL | appleconnector-0.4.1-py3-none-any.whl |
|---|---|
| Size | 7.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
81ded2cdee232c86738faca6d85d07bfd3ab7e15b27f325abd5e9895d1f77092
|
|
BLAKE2b-256 checksum How to use checksums |
242dace27f65720c01ed5659ddc9a3cc33ff92045047b3ef551fd2b9be672b7d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.13
|
Security for appleconnector 0.4.1
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.