Contents

tiferrei/uclkit

Welcome to UCLKit

Main Features

  • 100% native Swift 4.2 framework
  • Fast and native networking
  • Smart error handling

How-To

Authentication

Just create a config instance with the token as initialization value:

let config = TokenConfiguration("12345")

After that, well, use it! :)

UCLKit(config).rooms() { response in
  switch response {
  case .success(let data):
    print("The first room's name is \(data.rooms[0].name)")
  case .failure(let error):
    print("Oops: \(UCLKit(config).parseError(error))")
  }
}

If you need some more help with the framework you can open an issue above, I'll reply as soon as possible. As an example, please have a look at CampusBuddy and APIBuddy.

Author

Tiago Ferreira | <a href="https://twitter.com/tiferrei2000/">Twitter</a> | <a href="https://www.tiferrei.com/">Website</a>

License

UCLKit Copyright (C) 2017 Tiago Ferreira

Please check the <a href="https://gitlab.com/UCLAPI/API/blob/master/LICENSE">license file</a> embed in this project for more details.

Package Metadata

Repository: tiferrei/uclkit

Default branch: main

README: README.md