drugfyi 0.1.0

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

drugfyi

crates.io License: MIT

Rust client for the DrugFYI REST API. Drug interactions. Uses reqwest for HTTP.

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

Install

[dependencies]
drugfyi = "0.1"

Quick Start

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

Also Available

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

Links

Health FYI Family

Part of the FYIPedia open-source developer tools ecosystem.

Site Domain Focus
AnatomyFYI anatomyfyi.com 14,692 anatomical structures, systems, organs
DrugFYI drugfyi.com Drug interactions, pharmacology, side effects
NutriFYI nutrifyi.com Nutrition data, food composition, dietary analysis
PillFYI pillfyi.com Pill identification, FDA drug database

License

MIT