Skip to content

osamingo/openbd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Releases

No releases published

Packages

No packages published

Languages