/AppStoreConnect

🍎 Interact with AppStoreConnect

Primary LanguageSwift

App Store Connect

Interact with App Store Connect APIs

How to

let client = Client(
    credential: Credential(
        issuerId: "",
        privateKeyId: "",
        privateKey: ""
    )
)

let response: AppPriceResponse = try await client.apiClient.send(Paths.AppPrices.get)

Create AppStore Connect key

Go to https://appstoreconnect.apple.com/access/api

  • Create AppStore Connect key, grant according permission
  • Copy issuerId, f.e. 69abcdef-1234-5678-a123-123abcdeefgh
  • Copy keyId, f.e. AA1234ABCD
  • Wait a few seconds and refresh the page, you will be able to Download API Key. privateKey is the whole .p8 content

Credit