urban

Crates.iourban
lib.rsurban
version1.0.0
sourcesrc
created_at2022-01-15 20:56:32.242514
updated_at2022-01-15 20:56:32.242514
descriptionUrban Dictionary API client
homepagehttps://github.com/thexxiv/urbandictionary-rust
repositoryhttps://github.com/thexxiv/urbandictionary-rust
max_upload_size
id514529
size12,568
XXIV (thechampagne)

documentation

README

Urban

Urban Dictionary API client for Rust.

Download

Crates

Add the following line to your Cargo.toml file:

urban = "1.0.0"

Example

fn main() {
    let response = urban::UrbanDictionary::new("Rust", 1);
    println!("{:?}", response.data().unwrap());
    println!("{:?}", urban::random().unwrap());
    println!("{:?}", urban::definition_by_id(15804563).unwrap());
    println!("{}", urban::tool_tip("Rust").unwrap());
}

License

Urban is released under the MIT License.

Commit count: 0

cargo fmt