Skip to content

Class

AppStoreConnectClient

Actor-isolated client for the App Store Connect REST API.

actor AppStoreConnectClient

Overview

Manages JWT lifecycle (via JWTGenerator), enforces rate-limit backoff (via RateLimiter), and optionally routes through the ShipItSwifty Vapor proxy server when serverURL is set.

All methods are async throws; errors are typed as ShipItError.

Usage

let client = AppStoreConnectClient(
    keyID: "2X9R4HXF34",
    issuerID: "57246542-96fe-1a63-e053-0824d011072a",
    privateKeyData: p8Data
)
let apps: ASCListResponse<ASCApp> = try await client.get("/v1/apps")

Topics

Instance Properties

Instance Methods

Default Implementations

Relationships

Conforms To

  • Swift.Sendable
  • Swift.SendableMetatype
  • _Concurrency.Actor