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(
showId='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
File details
Details for the file appleconnector-0.4.0.tar.gz
.
File metadata
- Download URL: appleconnector-0.4.0.tar.gz
- Upload date:
- Size: 5.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 84ac65db39e9354940e4352e91606263ed49192cc5370dc68b5ad22d4fa4ac9f |
|
MD5 | 285c19bf03fe8c15956949213f80731a |
|
BLAKE2b-256 | 20c0059048d0436ba218a98759ef85fc9d1979545d63c0faa3d91e85f695f365 |
File details
Details for the file appleconnector-0.4.0-py3-none-any.whl
.
File metadata
- Download URL: appleconnector-0.4.0-py3-none-any.whl
- Upload date:
- Size: 6.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a9897d45cb1071335e6a94106c53cb59a1fd8b25148049f123abc0e1d35474a5 |
|
MD5 | 382652dbe6170c9a4d5c1f34db6f6d50 |
|
BLAKE2b-256 | 820171e78165057ea9f43c9b35931da875a30e08a9cf240ecf1f8eb5eadb0770 |