/app-store-connect

A SDK based on Vapor for App Store Connect API

Primary LanguageSwiftMIT LicenseMIT

ASCApi

Introduction

An App-Store-Connect-Api implement based on Vapor that is A server-side Swift web framework.

Usage

In configure.swift, Initialize using the code below:

if let kid = Environment.get("kid"),
        let iss = Environment.get("iss"),
        let keyPath = Environment.get("keyPath") {
        try ASCApiManager.default.startService(iss: iss, kid: kid, keyPath: keyPath)
}

Used In the Controller functions:

let api = UserApi()
let userResponse: Future<ListResponse<User>> = api.getUserList(on: req)

LIENCE

The Project is under the MIT license.