Skip to content

angelodipaolo/Bobomb

Repository files navigation

Bobomb

Build Status Carthage Compatible

logo

Bobomb is a Swift framework that makes it easy for iOS apps to communicate with the GiantBomb API.

NOTE: This is a work in progress. Many of GiantBomb API endpoints are not yet supported.

Requirements

Bobomb requires Swift 4.1 and Xcode 9.3.

Installation

Carthage

Install with Carthage by adding the framework to your project's Cartfile.

github "angelodipaolo/Bobomb"

Usage

import Bobomb

let client = GiantBombClient(apiKey: "12345")
        
client.searchGames(query: "metroid") { (payload: Result<Game>) in
    switch result {
    case .success(let payload):
        for game in payload.results {
            print(game.name)
        }
    case .failure(let error):
        print("error = \(error)")
    }
}

About

GiantBomb API client for Swift

Resources

License

Stars

Watchers

Forks

Packages

No packages published