Latest 1.0.1-alpha
Homepage https://github.com/Azoy/SwiftedFate
License MIT
Platforms ios 8.0, requires ARC

Build Status

Basic Usage

import SwiftedFate

/*
 Default region is North America, so if you want to specify a different region do:
 let sf = SwiftedFate(apiKey: "Key Here", region: .EUW)
 */
let sf = SwiftedFate(apiKey: "Key Here")

//Get summoner data by name
sf.getSummoner(byName: "Azoy") { (data, error) in
  if error != nil {
    print(error!)
  }else {
    print(data!)
  }
}

Latest podspec

{
    "name": "SwiftedFate",
    "version": "1.0.1-alpha",
    "summary": "Swift framework for Riot's League of Legends API",
    "description": "A simple Swift framework for Riot's League of Legends API.",
    "homepage": "https://github.com/Azoy/SwiftedFate",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": "Azoy",
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/Azoy/SwiftedFate.git",
        "tag": "1.0.0-alpha"
    },
    "source_files": [
        "SwiftedFate",
        "SwiftedFate/Extensions"
    ],
    "requires_arc": true
}

Pin It on Pinterest

Share This