Skip to content

fyipedia/teafyi-rb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

teafyi

Gem Version License: MIT

Tea variety guide with brewing parameters and teaware — API client for teafyi.com.

Try the interactive tools at teafyi.com

Install

gem install teafyi

Quick Start

require "teafyi"

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

Also Available

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

Embed Widget

Embed TeaFYI widgets on any website with teafyi-embed:

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

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

Links

License

MIT

About

Ruby client for teafyi API — tea varieties.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages