Latest 0.4
Homepage https://github.com/Adorkable/APIBaseiOS
License MIT
Platforms ios 9.1, osx 10.11, watchos 2.0, tvos 9.0, requires ARC
Authors

APIBase

Build Status
codecov.io
codebeat badge
Pod Platform
Pod License
Carthage compatible
Pod Version

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!

Latest podspec

{
    "name": "AdorkableAPIBase",
    "version": "0.4",
    "license": "MIT",
    "homepage": "https://github.com/Adorkable/APIBaseiOS",
    "authors": {
        "Ian Grossberg": "[email protected]"
    },
    "summary": "A purdy simple API base",
    "platforms": {
        "ios": "9.1",
        "osx": "10.11",
        "watchos": "2.0",
        "tvos": "9.0"
    },
    "source": {
        "git": "https://github.com/Adorkable/APIBaseiOS.git",
        "tag": "0.4"
    },
    "source_files": "Sources/*.swift",
    "requires_arc": true,
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This