AdorkableAPIBase 0.4

AdorkableAPIBase 0.4

TestsTested
LangLanguage SwiftSwift
License MIT
ReleasedLast Release Feb 2017
SwiftSwift Version 3.0
SPMSupports SPM

Maintained by Ian Grossberg.



  • By
  • Ian Grossberg

APIBase

codebeat badge

APIBase a purdy simple base for an framework to access an API. Now with iOS, OSX, watchos, and tvos support!

It features two protocols: API and Route.

API

  • defines overall settings and work for communicating with your API
  • usually is made to provide access to individual routes
  • can be used statically or by creating an instance of the object that conforms to it

Route

  • defines a worker for accessing a single route of your API
  • must be instantiated, usually created and managed by an API object to simplify the interface for consumers of your API accessing library
  • includes a number of default implementations for accessing basic and JSON routes

Additionally RouteBase is a useful base class that includes common route functionality.

Example

Until this README is updated please see BingAPIiOS

Contributing

If you have any ideas, suggestions or bugs to report please create an issue labeled feature or bug (check to see if the issue exists first please!). Or suggest a pull request!