Interact with App Store Connect APIs
let client = Client(
credential: Credential(
issuerId: "",
privateKeyId: "",
privateKey: ""
)
)
let response: AppPriceResponse = try await client.apiClient.send(Paths.AppPrices.get)
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
- AppStoreConnect OpenAPI specification
- Code generated by https://github.com/kean/CreateAPI