dlt-source-app-store-connect
A dlt source for Apple App Store Connect API.
Features
- 15 resources covering apps, builds, TestFlight, subscriptions, and reports
- Incremental loading for sales, finance, and analytics reports
- Automatic JWT token refresh
- Rate limit handling with exponential backoff
- Works with any dlt destination (BigQuery, Snowflake, DuckDB, etc.)
Installation
pip install dlt-source-app-store-connect
Or with uv:
uv add dlt-source-app-store-connect
Quick start
import dlt
from dlt_source_app_store_connect import app_store_connect_source
pipeline = dlt.pipeline(
pipeline_name="app_store_connect",
destination="bigquery", # or any dlt destination
dataset_name="source_app_store_connect",
)
source = app_store_connect_source(
key_id="YOUR_KEY_ID",
issuer_id="YOUR_ISSUER_ID",
private_key=open("AuthKey_XXXXX.p8").read(),
vendor_number="YOUR_VENDOR_NUMBER", # required for sales/finance reports
)
load_info = pipeline.run(source)
print(load_info)
Load specific resources
source = app_store_connect_source(
key_id="YOUR_KEY_ID",
issuer_id="YOUR_ISSUER_ID",
private_key=open("AuthKey_XXXXX.p8").read(),
resources=["apps", "builds", "sales_reports"],
)
Resources
| Resource | Write Disposition | Incremental | Description |
|---|---|---|---|
apps |
merge | - | App metadata |
app_store_versions |
merge | - | App Store version history |
builds |
merge | - | Build information |
beta_testers |
merge | - | TestFlight testers |
beta_groups |
merge | - | TestFlight groups |
bundle_ids |
merge | - | Bundle identifiers |
certificates |
merge | - | Signing certificates |
devices |
merge | - | Registered devices |
in_app_purchases |
merge | - | In-app purchase products |
subscriptions |
merge | - | Subscription products |
subscription_groups |
merge | - | Subscription groups |
users |
merge | - | Team members |
sales_reports |
append | daily | Sales and trends reports |
finance_reports |
append | monthly | Financial reports |
analytics_reports |
append | by processing date | Analytics reports |
sales_reports and finance_reports require vendor_number.
Authentication
You need an API key from App Store Connect.
Required credentials:
| Parameter | Description |
|---|---|
key_id |
The identifier for your API key |
issuer_id |
Your team's issuer ID |
private_key |
Contents of the .p8 file downloaded when creating the key |
vendor_number |
Your vendor number (required for sales/finance reports) |
Development
git clone https://github.com/ota2000/dlt-source-app-store-connect.git
cd dlt-source-app-store-connect
uv sync --group dev
uv run pytest -v
uv run ruff check .
Contributing
See CONTRIBUTING.md.
License
MIT
Metadata
Release files for dlt-source-app-store-connect 0.2.0
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 | Actions |
|---|---|---|---|---|
| dlt_source_app_store_connect-0.2.0.tar.gz | 7.3 kB | With provenance | Details for dlt_source_app_store_connect-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dlt_source_app_store_connect-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for dlt_source_app_store_connect-0.2.0-py3-none-any.whl |
Total release size: 16.5 kB
Release files / dlt_source_app_store_connect-0.2.0.tar.gz
| Download URL | dlt_source_app_store_connect-0.2.0.tar.gz |
|---|---|
| Size | 7.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b99799153cb85e95668c769512fddb815226b8028728bac60744474cadd58c2a
|
|
BLAKE2b-256 checksum How to use checksums |
d33fd390f3627c96683e65b3a9197bfca76094f37dbe94493d6d66c64bb10a38
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 26, 2026.
Transparency logRelease files / dlt_source_app_store_connect-0.2.0-py3-none-any.whl
| Download URL | dlt_source_app_store_connect-0.2.0-py3-none-any.whl |
|---|---|
| Size | 9.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cad64878ff2594be6f95ad87acfca217f71908513fa6bc4431c0eb1bcc56e98a
|
|
BLAKE2b-256 checksum How to use checksums |
34da916758016b921b08c4eb91389ccf8d6c325dc1580317da65fcb97bb504df
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 26, 2026.
Transparency logSecurity for dlt-source-app-store-connect 0.2.0
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.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for dlt_source_app_store_connect-0.2.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 26, 2026.
Transparency logA 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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.