Skip to content

touyulab/GBAClient

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GBAClient

Usage

GBAClient.shared.fetch("東野圭吾") { result in
    switch result {
    case .success(let res):
        print(res.items[0].volumeInfo.title)
        print(res.items[0].volumeInfo.authors!)
    case .failure(let error):
        print(error)
    }
}

GBAClient.shared.fetch(search: .author, keyword: "東野圭吾") { result in
    switch result {
    case .success(let res):
        print(res.items[0].volumeInfo.title)
        print(res.items[0].volumeInfo.authors!)
    case .failure(let error):
        print(error)
    }
}

About

Google Books API Client Library for Swift

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published