# gemfyi

[![crates.io](https://img.shields.io/crates/v/gemfyi.svg)](https://crates.io/crates/gemfyi)
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)

Rust client for the [GemFYI](https://gemfyi.com) REST API. Gemstones, grading. Uses `reqwest` for HTTP.

> **Explore at [gemfyi.com](https://gemfyi.com)** — interactive tools and comprehensive reference.

## Install

```toml
[dependencies]
gemfyi = "0.1"
```

## Quick Start

```rust
fn main() -> Result<(), Box<dyn std::error::Error>> {
    let client = gemfyi::Client::new();
    let result = client.search("query")?;
    println!("{:?}", result);
    Ok(())
}
```

## Also Available

| Platform | Install | Link |
|----------|---------|------|
| **Python** | `pip install gemfyi` | [PyPI](https://pypi.org/project/gemfyi/) |
| **npm** | `npm install gemfyi` | [npm](https://www.npmjs.com/package/gemfyi) |
| **Go** | `go get github.com/fyipedia/gemfyi-go` | [pkg.go.dev](https://pkg.go.dev/github.com/fyipedia/gemfyi-go) |
| **Rust** | `cargo add gemfyi` | [crates.io](https://crates.io/crates/gemfyi) |
| **Ruby** | `gem install gemfyi` | [rubygems](https://rubygems.org/gems/gemfyi) |


## Links

- **Site**: [gemfyi.com](https://gemfyi.com)
- **API**: [gemfyi.com/api/v1/](https://gemfyi.com/api/v1/)
- **OpenAPI**: [gemfyi.com/api/v1/schema/](https://gemfyi.com/api/v1/schema/)
- **Glossary**: [gemfyi.com/glossary/](https://gemfyi.com/glossary/)
- **Guides**: [gemfyi.com/guides/](https://gemfyi.com/guides/)
- **Tools**: [gemfyi.com/tools/](https://gemfyi.com/tools/)
Part of the [FYIPedia](https://fyipedia.com) open-source developer tools ecosystem.

## Science FYI Family

Part of the [FYIPedia](https://fyipedia.com) open-source developer tools ecosystem.

| Site | Domain | Focus |
|------|--------|-------|
| AlloyFYI | [alloyfyi.com](https://alloyfyi.com) | Metal alloys, compositions, properties |
| ChemFYI | [chemfyi.com](https://chemfyi.com) | Periodic table, elements, compounds, reactions |
| **GemFYI** | [gemfyi.com](https://gemfyi.com) | Gemstones, mineralogy, grading, origins |
| MineralFYI | [mineralfyi.com](https://mineralfyi.com) | 6,215 minerals, crystal systems, Mohs hardness |
| StarFYI | [starfyi.com](https://starfyi.com) | Stars, constellations, exoplanets, deep-sky |

## License

MIT
