to4iki / Codic

codic API v1 client for Swift

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Codic

Carthage compatible Version License Platform

API Reference - codic

Description

codic API v1 client for Swift.

Requirements

  • Built for Swift 1.2
  • Runs on iOS 8 / OS X 10.10 and above

Usage

let client = Codic.Client(accessKey: "your api access_key")

let request = client.lookup("term")
request.onComplete(
    resolve: {
      // success handler
    },
    reject: {
      // failure handler
    }
)
request.resume()

Installation

Version 0.36 or higher is required. Add the following to your Podfile:

pod 'Codic'

Make sure that you are integrating your dependencies using frameworks: add use_frameworks! to your Podfile. Then run pod install.

Add the following to your Cartfile:

github "to4iki/Codic"

Run carthage update and follow the steps as described in Carthage's README.

Documentation

  • API documentation is available at the wonderful cocoadocs.org
  • This README covers almost all features of Codic
  • The tests contain (trivial) usage examples for every feature

TODO

Error JSON mapping(エラー)

Licence

MIT

Author

to4iki

About

codic API v1 client for Swift

License:MIT License


Languages

Language:Swift 96.2%Language:Ruby 2.0%Language:C++ 1.8%