Skip to content

apps-fab/ExercismSwift

Repository files navigation

ExercismSwift

Swift API for exercism

Init Client

Without Token

 let client = ExercismClient()

With Token

 let client = ExercismClient(apiToken: <api token>)

Validate Token

client.validateToken {}

// Example 
client.validateToken {
    switch $0 {
        case .success(let response):
            print(response.status)
        case .failure(let error):
            print(error)
    }
}

Releases

No releases published

Packages

No packages published

Languages