Latest 0.0.1
Homepage https://github.com/alitaso345/swift-annict-client
License MIT
Platforms ios 8.0, osx 10.11, requires ARC
Authors

AnnictAPIClient.swift

Get anime works

let client = AnnictClient(accessToken: 'accessToken')
let request = AnnictAPI.SearchWorks()

client.send(request: request) { result in
    switch result {
    case let .success(response):
        for work in response.works
            print(work.title)
    case let .failure(error):
        print(error)
    }
}

Latest podspec

{
    "name": "AnnictAPIClient",
    "version": "0.0.1",
    "summary": "A Swift API Client for Annict",
    "description": "This is very simple HTTP client for Annict",
    "homepage": "https://github.com/alitaso345/swift-annict-client",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "alitaso345": "[email protected]"
    },
    "social_media_url": "https://twitter.com/alitaso345",
    "platforms": {
        "ios": "8.0",
        "osx": "10.11"
    },
    "source": {
        "git": "https://github.com/alitaso345/swift-annict-client.git",
        "tag": "0.0.1"
    },
    "source_files": "AnnictAPIClient/*.swift",
    "exclude_files": "Classes/Exclude",
    "requires_arc": true,
    "pushed_with_swift_version": "3.0.2"
}

Pin It on Pinterest

Share This