# starfyi
[](https://crates.io/crates/starfyi)
[](https://opensource.org/licenses/MIT)
Rust client for the [StarFYI](https://starfyi.com) REST API. Stars, constellations. Uses `reqwest` for HTTP.
> **Explore at [starfyi.com](https://starfyi.com)** — interactive tools and comprehensive reference.
## Install
```toml
[dependencies]
starfyi = "0.1"
```
## Quick Start
```rust
fn main() -> Result<(), Box<dyn std::error::Error>> {
let client = starfyi::Client::new();
let result = client.search("query")?;
println!("{:?}", result);
Ok(())
}
```
## Also Available
| **Python** | `pip install starfyi` | [PyPI](https://pypi.org/project/starfyi/) |
| **npm** | `npm install starfyi` | [npm](https://www.npmjs.com/package/starfyi) |
| **Go** | `go get github.com/fyipedia/starfyi-go` | [pkg.go.dev](https://pkg.go.dev/github.com/fyipedia/starfyi-go) |
| **Rust** | `cargo add starfyi` | [crates.io](https://crates.io/crates/starfyi) |
| **Ruby** | `gem install starfyi` | [rubygems](https://rubygems.org/gems/starfyi) |
## Links
- **Site**: [starfyi.com](https://starfyi.com)
- **API**: [starfyi.com/api/v1/](https://starfyi.com/api/v1/)
- **OpenAPI**: [starfyi.com/api/v1/schema/](https://starfyi.com/api/v1/schema/)
- **Glossary**: [starfyi.com/glossary/](https://starfyi.com/glossary/)
- **Guides**: [starfyi.com/guide/](https://starfyi.com/guide/)
- **Tools**: [starfyi.com/tools/](https://starfyi.com/tools/)
- **Developers**: [starfyi.com/developers/](https://starfyi.com/developers/)
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.
| 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