Skip to content

fyipedia/beerfyi-rb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

beerfyi

Gem Version License: MIT

Beer style guide with BJCP styles, hops, malts, and yeast — API client for beerfyi.com.

Try the interactive tools at beerfyi.com

Install

gem install beerfyi

Quick Start

require "beerfyi"

client = BeerFYI::Client.new
result = client.search("ipa")
puts "#{result[:total]} results"

Also Available

Platform Package Link
Python pip install beerfyi PyPI
npm npm install beerfyi npm
Go go get github.com/fyipedia/beerfyi-go pkg.go.dev
Rust cargo add beerfyi crates.io
Ruby gem install beerfyi rubygems

Embed Widget

Embed BeerFYI widgets on any website with beerfyi-embed:

<script src="https://cdn.jsdelivr.net/npm/beerfyi-embed@1/dist/embed.min.js"></script>
<div data-beerfyi="entity" data-slug="ipa"></div>

Zero dependencies · Shadow DOM · 4 themes (light/dark/sepia/auto) · Widget docs

Links

License

MIT

About

Ruby client for beerfyi API — beer styles.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages