Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/onmyway133/appstoreconnect

🍎 Interact with AppStoreConnect
https://github.com/onmyway133/appstoreconnect

appstoreconnect openapi swift

Last synced: about 2 months ago
JSON representation

🍎 Interact with AppStoreConnect

Awesome Lists containing this project

README

        

# App Store Connect

Interact with [App Store Connect APIs](https://developer.apple.com/documentation/appstoreconnectapi/)

## How to

```swift
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

- [AppStoreConnect OpenAPI specification](https://developer.apple.com/sample-code/app-store-connect/app-store-connect-openapi-specification.zip)
- Code generated by https://github.com/kean/CreateAPI