This release is a pre-release and may not be stable for production use.
Introduction
This is a Python library for the AppStore Analytics API and allows you to easily access the analytics data of your python apps.
Installation
pip install surquest-utils-appstoreconnect-analytics-api
Usage
import datetime as dt
from surquest.utils.appstoreconnect.analytics import (
Client as AppStoreConnectClient,
Analytics as AppStoreConnectAnalytics,
Formatter,
Frequency,
Measures,
Dimension,
)
# Create client
client = AppStoreConnectClient(
mayacinfo="ADD-YOUR-MYACINFO", # is a Cookie value from https://appstoreconnect.apple.com/
)
# Create analytics object
analytics = AppStoreConnectAnalytics(
client=client
)
# Get time series data
data = analytics.get_time_series(
app_ids=["ADD-YOUR-APP-ID"],
measure=Measures.INSTALLS,
start_date=dt.date(2021, 1, 1),
end_date=dt.date(2021, 1, 31),
grouping=Group.COUNTRY
frequency=Frequency.DAY,
)
print("YOUR DATA:", data)
Development
docker build `
--tag surquest/utils/appstoreconnect:dev `
--file package.base.dockerfile `
--target test .
docker run --rm -it `
-v "${pwd}:/opt/project" `
-w "/opt/project/test" `
-e "APPID={ADD-YOUR-APP-ID}" `
-e "MYACINFO={ADD-YOUR-MYACINFO}" `
surquest/utils/appstoreconnect:dev pytest
License
This project is licensed under the terms of the MIT license.
Metadata
Release files for surquest-utils-appstoreconnect-analytics-api 0.0.1rc1
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 |
|---|---|---|---|---|
| surquest_utils_appstoreconnect_analytics_api-0.0.1rc1.tar.gz | 10.6 kB | Without provenance | Details for surquest_utils_appstoreconnect_analytics_api-0.0.1rc1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| surquest_utils_appstoreconnect_analytics_api-0.0.1rc1-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for surquest_utils_appstoreconnect_analytics_api-0.0.1rc1-py2.py3-none-any.whl |
Total release size: 18.8 kB
Release files / surquest_utils_appstoreconnect_analytics_api-0.0.1rc1.tar.gz
| Download URL | surquest_utils_appstoreconnect_analytics_api-0.0.1rc1.tar.gz |
|---|---|
| Size | 10.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2afea865ed692df8179a289dfb812f405ef11021e34bce8ccb061704efd99ee1
|
|
BLAKE2b-256 checksum How to use checksums |
1464dc1d84af4938a2db13b994b1b84ad714168f8e097a933763e8e76057a68b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.17
|
Release files / surquest_utils_appstoreconnect_analytics_api-0.0.1rc1-py2.py3-none-any.whl
| Download URL | surquest_utils_appstoreconnect_analytics_api-0.0.1rc1-py2.py3-none-any.whl |
|---|---|
| Size | 8.2 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
a861175a77ad0f42f98a3eb2f3795e6f96188044d366e7dfe56619e584e7e6b3
|
|
BLAKE2b-256 checksum How to use checksums |
ff0b7acf6520fda510e91dd1f8bf8e2bdcdce72196d535ada4cdb54144284224
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.17
|
Security for surquest-utils-appstoreconnect-analytics-api 0.0.1rc1
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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.