Socket
Socket
Sign inDemoInstall

appstoreconnectapi

Package Overview
Dependencies
2
Maintainers
1
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    appstoreconnectapi

A Python wrapper around Apple AppStore Connect Api


Maintainers
1

Readme

App Store Connect Api

This is a Python wrapper around the Apple App Store Api : https://developer.apple.com/documentation/appstoreconnectapi

So far, it handles token generation / expiration, methods for listing resources and downloading reports.

Installation

The project is published on PyPI, install with:

pip install appstoreconnectapi

Usage

Please follow instructions on Apple documentation on how to generate an API key.

With your key ID, key file and issuer ID create a new API instance:

from appstoreconnectapi import AppStoreConnect
asc = AppStoreConnect(key_id, path_to_key_file, issuer_id)

Here are a few examples of API usage

# list all profiles
profiles = asc.getProfiles()
print profiles

#list all certificates
certificates = asc.getCertificates()
print profiles

#download profile
asc.downloadProfile(profileID='xxxxx', saveFolderPath='./'):

#download certificate
asc.downloadCertificate(certificatID='xxxxx', saveFolderPath='./'):

#other api,for example list all bundleids
#method: get or post
res = asc.fetch(uri='/v1/bundleIds', method='get', post_data=None)
print res

more api goto https://developer.apple.com/documentation/appstoreconnectapi

FAQs


Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc