urbandictionary 0.1.1

Unofficial Rust wrapper for the UrbanDictionary API
urbandictionary-0.1.1 doesn't have any documentation.

travis-badge license-badge docs-badge

urbandictionary.rs

Unofficial Rust crate for the Urbandictionary API.

Documentation

Installation

Add the following dependency to your Cargo.toml:

urbandictionary = "0.1"

And include it in your project:

extern crate urbandictionary;

Examples

Retrieve a list of definitions for a word:

let definitions = urbandictionary::definitions("cat");

Retrieve the top definition for a word:

let definition = urbandictionary::define("cat");

License

License info in LICENSE.md. Long story short, ISC.