An App-Store-Connect-Api implement based on Vapor that is A server-side Swift web framework.
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)
The Project is under the MIT license.