chore: Add license
docs: Add contributing
docs: Add README
API client for OpenLibrary's API for searching books, authors etc.
Feel free to submit patches to extend API coverage.
go get git.sr.ht/~timharek/openlibrary-go
Create a new client:
import (
"git.sr.ht/~timharek/openlibrary-go"
"git.sr.ht/~timharek/openlibrary-go/book"
)
func something() (*book.SearchResult, error) {
ol := openlibrary.New()
searchResult, err := ol.Book.Search("sapiens")
if err != nil {
return nil, err
}
return searchResult, nil
}
Anyone can contribute to openlibrary-go. Please refer to the contribution guidelines.
Send patches to the mailing list, report bugs on the issue tracker.