# teafyi
[](https://crates.io/crates/teafyi)
[](https://opensource.org/licenses/MIT)
Rust client for the [TeaFYI](https://teafyi.com) REST API. 60 tea varieties. Uses `reqwest` for HTTP.
> **Explore at [teafyi.com](https://teafyi.com)** — interactive tools and comprehensive reference.
## Install
```toml
[dependencies]
teafyi = "0.1"
```
## Quick Start
```rust
fn main() -> Result<(), Box<dyn std::error::Error>> {
let client = teafyi::Client::new();
let result = client.search("query")?;
println!("{:?}", result);
Ok(())
}
```
## Also Available
| **Python** | `pip install teafyi` | [PyPI](https://pypi.org/project/teafyi/) |
| **npm** | `npm install teafyi` | [npm](https://www.npmjs.com/package/teafyi) |
| **Go** | `go get github.com/fyipedia/teafyi-go` | [pkg.go.dev](https://pkg.go.dev/github.com/fyipedia/teafyi-go) |
| **Rust** | `cargo add teafyi` | [crates.io](https://crates.io/crates/teafyi) |
| **Ruby** | `gem install teafyi` | [rubygems](https://rubygems.org/gems/teafyi) |
## Links
- **Site**: [teafyi.com](https://teafyi.com)
- **API**: [teafyi.com/api/v1/](https://teafyi.com/api/v1/)
- **OpenAPI**: [teafyi.com/api/v1/schema/](https://teafyi.com/api/v1/schema/)
Part of the [FYIPedia](https://fyipedia.com) open-source developer tools ecosystem.
## License
MIT