Skip to main content

A command-line tool to create badges displaying the number of app downloads from App Store

Project description

app-store-download-count-badge-maker

Code style: black

PyPI Package version Python Supported versions format implementation LICENSE

A command-line tool to create badges displaying the number of app downloads from App Store

Installation

$ pip install app-store-download-count-badge-maker

or

$ pipx install app-store-download-count-badge-maker

Required

  • Python 3.9 or later

Usage

$ app-store-download-count-badge-maker generate \
  --config config.yml \
  --output dist

By default, the --config (or -c) option is set to config.yml and the --output (or -o) options is set to dist.

[!NOTE] The count is based on 3 days prior to the execution date.

Configuration

Create a configuration file in YAML format.
The recommended name is config.yml.

Configuration Details

The configuration file config.yml should contain the following sections:

  • secrets: This section holds the credentials required to access the App Store Connect API.
    • private_key: Path to the private key file (e.g., private.p8). The private key must have access Finance.
    • issuer_id: The issuer ID from App Store Connect.
    • key_id: The key ID from App Store Connect.
    • vendor_number: The vendor number associated with your App Store account. View payments and proceeds
  • apps: A list of applications for which you want to create download count badges.
    • apple_identifier: The unique identifier for the app in the App Store.
    • frequency: The frequency at which you want to generate the badge. Must be one of DAILY, WEEKLY, MONTHLY, YEARLY.

Example Configuration

secrets:
  private_key: private.p8
  issuer_id: 12345678-1234-1234-1234-123456789012
  key_id: 12345678
  vendor_number: 12345678
apps:
  - apple_identifier: 1289764391
    frequency: MONTHLY
  - apple_identifier: 1234567890
    frequency: WEEKLY 

Badge Creation :sparkles:

This tool uses Shields.io to create badges displaying the number of app downloads from App Store.

Projects using app-store-download-count-badge-maker

License

This software is licensed under the MIT License.

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 app_store_download_count_badge_maker-0.1.2.tar.gz.

File metadata

File hashes

Hashes for app_store_download_count_badge_maker-0.1.2.tar.gz
Algorithm Hash digest
SHA256 1c5abace881c09c44a273272016c09ba0c52cb11f43e2432bf79124b35eed9d9
MD5 93d8e4ef2b9504fb435dc87fdac61ef9
BLAKE2b-256 bd28fba794915511c93a8375a31bfac2e78fe7bce670a05a4435e0bd48770582

See more details on using hashes here.

Provenance

File details

Details for the file app_store_download_count_badge_maker-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for app_store_download_count_badge_maker-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3bbb1e2a40cd0e178bdf0f2a0962b22c206f0edf79fd8ed627456c96a1814e72
MD5 41f4caaea9c6aa099443daf86a71d0c8
BLAKE2b-256 db943a129709fa87885a0e4e57cbff0ccacc033926b6a29a94afce8caa243d0c

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page