Urban

Urban Dictionary API client for Rust.

Download

Crates

Add the following line to your Cargo.toml file:

urban = "1.0.0"

Example

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

```

License

Urban is released under the MIT License.