urbandictionary.rs
Unofficial Rust crate for the Urbandictionary API.
Installation
Add the following dependency to your Cargo.toml:
= "0.2"
And include it in your project:
extern crate urbandictionary;
Examples
Retrieve a list of definitions for a word:
use UrbanClient;
let client = new;
let definitions = client.definitions.unwrap;
Retrieve the top definition for a word:
use UrbanClient;
let client = new;
let definition = client.define.unwrap;
License
License info in LICENSE.md. Long story short, ISC.