https://github.com/osamingo/openbd
an openbd client for go
https://github.com/osamingo/openbd
book calil comic golang hanmoto openbd
Last synced: 5 months ago
JSON representation
an openbd client for go
- Host: GitHub
- URL: https://github.com/osamingo/openbd
- Owner: osamingo
- License: mit
- Created: 2017-04-01T23:51:55.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2021-08-03T07:04:07.000Z (about 4 years ago)
- Last Synced: 2025-04-20T13:36:21.649Z (6 months ago)
- Topics: book, calil, comic, golang, hanmoto, openbd
- Language: Go
- Homepage: https://openbd.jp
- Size: 7.81 KB
- Stars: 11
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# openbd
[](https://travis-ci.org/osamingo/openbd)
[](https://codecov.io/gh/osamingo/openbd)
[](https://goreportcard.com/report/osamingo/openbd)
[](https://codebeat.co/projects/github-com-osamingo-openbd-master)
[](https://godoc.org/github.com/osamingo/openbd)
[](https://raw.githubusercontent.com/osamingo/openbd/master/LICENSE)## About
- An [openbd](https://openbd.jp) client for Go.
## Install
```bash
$ go get -u github.com/osamingo/openbd
```## Usage
```go
package mainimport (
"fmt""github.com/osamingo/openbd"
)func main() {
cli, err := openbd.NewClientV1("https://api.openbd.jp", nil)
if err != nil {
panic(err)
}
isbn := "9784780802047"
m, err := cli.Get(isbn)
if err != nil {
panic(err)
}fmt.Println(m[isbn].Title())
}
```## License
Released under the [MIT License](https://github.com/osamingo/openbd/blob/master/LICENSE).