colorfyi 0.1.0

Rust client for the ColorFYI API — https://colorfyi.com
Documentation
  • Coverage
  • 81.25%
    13 out of 16 items documented1 out of 16 items with examples
  • Size
  • Source code size: 49.19 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 2.98 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 1m 44s Average build duration of successful builds.
  • all releases: 1m 44s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • fyipedia/colorfyi-rs
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • dobestan

colorfyi

crates.io License: MIT

Rust client for the ColorFYI REST API. Color science, WCAG contrast. Uses reqwest for HTTP.

Explore at colorfyi.com — interactive tools and comprehensive reference.

Install

[dependencies]
colorfyi = "0.1"

Quick Start

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

Also Available

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

Links

Part of the FYIPedia open-source developer tools ecosystem.

License

MIT