NAME

WebService::UrbanDictionary - An OO interface to UrbanDictionary.com's JSON API.

VERSION

version 2.011

SYNOPSIS

use WebService::UrbanDictionary;

my $ud = WebService::UrbanDictionary->new;

my $results = request('perl'); 

for my $each (@{ $results->definitions }) {
	printf "Definition: %s\n(by %s)\n\n", $each->definition, $each->author;
}

DESCRIPTION

WebService::UrbanDictionary provides an object-oriented to UrbanDictionary's online JSON API.

Methods

request(word)

Requests data on the given word from UrbanDictionary's API. Returns a WebService::UrbanDictionary::Term object.

SEE ALSO

WebService::UrbanDictionary::Term WebService::UrbanDictionary::Term::Definition

WWW::Search::UrbanDictionary - Module for accessing UrbanDictionary's (deprecated) SOAP API.

AUTHOR

William Woodruff <william@tuffbizz.com>

CONTRIBUTOR

Gabriel Vieira <gabriel.vieira@gmail.com>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2014 by William Woodruff.

This is free software, licensed under:

The MIT (X11) License