| Crates.io | urban |
| lib.rs | urban |
| version | 1.0.0 |
| created_at | 2022-01-15 20:56:32.242514+00 |
| updated_at | 2022-01-15 20:56:32.242514+00 |
| description | Urban Dictionary API client |
| homepage | https://github.com/thexxiv/urbandictionary-rust |
| repository | https://github.com/thexxiv/urbandictionary-rust |
| max_upload_size | |
| id | 514529 |
| size | 12,568 |
Urban Dictionary API client for Rust.
Add the following line to your Cargo.toml file:
urban = "1.0.0"
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());
}
Urban is released under the MIT License.