brewerydb alternatives and similar packages
Based on the "Third-party APIs" category.
Alternatively, view brewerydb alternatives based on common mentions on social networks and blogs.
-
goamz
Popular fork of goamz which adds some missing API calls to certain packages. -
webhooks
:fishing_pole_and_fish: Webhook receiver for GitHub, Bitbucket, GitLab, Gogs -
githubql
Package githubv4 is a client library for accessing GitHub GraphQL API v4 (https://docs.github.com/en/graphql). -
geo-golang
Go library to access geocoding and reverse geocoding APIs -
twitter-scraper
Scrape the Twitter Frontend API without authentication with Golang. -
lark
Feishu/Lark Open API Go SDK, Support ALL Open API and Event Callback. -
gostorm
GoStorm is a Go library that implements the communications protocol required to write Storm spouts and Bolts in Go that communicate with the Storm shells. -
clarifai
DEPRECATED: please use https://github.com/Clarifai/clarifai-go-grpc -
hipchat (xmpp)
A golang package to communicate with HipChat over XMPP -
go-trending
Go library for accessing trending repositories and developers at Github. -
hipchat
This project implements a Go client library for the Hipchat API. -
go-tgbot
Golang telegram bot API wrapper, session-based router and middleware -
go-lark
An easy-to-use SDK for Feishu and Lark Open Platform (Messaging API only) -
cachet
Go(lang) client library for Cachet (open source status page system). -
simples3
Simple no frills AWS S3 Golang Library using REST with V4 Signing (without AWS Go SDK) -
go-postman-collection
Go module to work with Postman Collections -
GoMusicBrainz
a Go (Golang) MusicBrainz WS2 client library - work in progress
Clean code begins in your IDE with SonarLint
Do you think we are missing an alternative of brewerydb or a related project?
README
brewerydb
brewerydb is a Go library for accessing the BreweryDB API
usage
import "github.com/naegelejd/brewerydb"
Construct a new Client
using your BreweryDB API key:
client := brewerydb.NewClient("<your API key>")
Then use the available services to access the API. For example:
// Get any random beer
beer, _ := client.Beer.Random(&brewerydb.RandomBeerRequest{ABV: "8"})
fmt.Println(beer.Name, beer.Style.Name)
or
// Get all breweries established in 1983
bs, err := client.Brewery.List(&brewerydb.BreweryListRequest{Established: "1983"})
if err != nil {
panic(err)
}
for _, b := range bs {
fmt.Println(b.Name, b.Website)
}
or
// "What is in Dragon's Milk?"
bl, _ := client.Search.Beer("Dragon's Milk", nil)
var beerID string
for _, beer := range bl.Beers {
if beer.Name == "Dragon's Milk" {
beerID = beer.ID
}
}
if beerID == "" {
panic("Dragon's Milk not found")
}
ingredients, _ := client.Beer.ListIngredients(beerID)
adjuncts, _ := client.Beer.ListAdjuncts(beerID)
fermentables, _ := client.Beer.ListFermentables(beerID)
hops, _ := client.Beer.ListHops(beerID)
yeasts, _ := client.Beer.ListYeasts(beerID)
fmt.Println("Dragon's Milk:")
fmt.Println(" Ingredients:")
for _, ingredient := range ingredients {
fmt.Println(" " + ingredient.Name)
}
fmt.Println("\n Adjuncts:")
for _, adjunct := range adjuncts {
fmt.Println(" " + adjunct.Name)
}
fmt.Println(" Fermentables:")
for _, fermentable := range fermentables {
fmt.Println(" " + fermentable.Name)
}
fmt.Println(" Hops:")
for _, hop := range hops {
fmt.Println(" " + hop.Name)
}
fmt.Println(" Yeasts:")
for _, yeast := range yeasts {
fmt.Println(" " + yeast.Name)
}
status
This library is under development. Please feel free to suggest design changes or report issues.
license
This library is distributed under the BSD-style license found in the LICENSE file.
*Note that all licence references and agreements mentioned in the brewerydb README section above
are relevant to that project's source code only.