osamingo / openbd

an openbd client for go

Home Page:https://openbd.jp

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

openbd

Travis branch codecov Go Report Card codebeat badge GoDoc GitHub license

About

Install

$ go get -u github.com/osamingo/openbd

Usage

package main

import (
    "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.

About

an openbd client for go

https://openbd.jp

License:MIT License


Languages

Language:Go 100.0%