A package that provides typesafe access to the App Store Connect API.
This is for devs who just want to access the App Store Connect API for their internal tools. Just pass in your authentication details and start sending requests.
npm install @timbo-jimbo/app-store-connect-api-ts
3.7.0
import createAppStoreConnectApiClient from "@timbo-jimbo/app-store-connect-api-ts"
const { PRIVATE_KEY_ID, ISSUER_ID, PRIVATE_KEY } = process.env //or whereever you store them
const appStoreConnectApi = await createAppStoreConnectApiClient({
issuerId: ISSUER_ID!,
privateKeyId: PRIVATE_KEY_ID!,
privateKey: PRIVATE_KEY!
});
const apps = await appStoreConnectApi.appsGetCollection({
query: {
limit: 1
}
});
- The code is generated from the official App Store Connnect API OpenAPI Spec found here.
- Hey API is used to generate the code.
- A thin wrapper class was written as an access point to the generated code. It also provides methods for managing the configuration.
- appstore-connect-sdk was used as reference for the authentication logic