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)
}
}
-
Notifications
You must be signed in to change notification settings - Fork 0
Google Books API Client Library for Swift
License
touyulab/GBAClient
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Google Books API Client Library for Swift
Topics
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published