Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/onmyway133/appstoreconnect
- Owner: onmyway133
- Created: 2022-02-14T19:48:16.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-02-16T14:58:22.000Z (almost 3 years ago)
- Last Synced: 2024-05-02T05:59:25.979Z (8 months ago)
- Topics: appstoreconnect, openapi, swift
- Language: Swift
- Homepage: https://onmyway133.com
- Size: 213 KB
- Stars: 44
- Watchers: 3
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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