Swift API for exercism
let client = ExercismClient()
let client = ExercismClient(apiToken: <api token>)
client.validateToken {}
// Example
client.validateToken {
switch $0 {
case .success(let response):
print(response.status)
case .failure(let error):
print(error)
}
}