Skip to content

fitomad/WesterosKit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WesterosKit

Swift client for An Api of Ice and Fire service.

You can find the server project in this GitHub repository.

##Usage

You can look for Characters, Books, and Houses

WesterosClient.westerosInstance.books() { (result) -> (Void) in
    switch result
    {
        case let WesterosResult.Success(result):
            for book in result
            {
                print("> \(book.name) (\(book.pages))")
            }
                
        case let WesterosResult.Error(reason):
            print("#err \(reason)")
                
    }
}

##Contact

Your feedback is welcome, find me on my twitter account @fitomad

About

Swift client for AnApiOfIceAndFire service.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages