NAME

WebService::UrbanDictionary::Term - The Term object filled by WebService::UrbanDictionary objects.

VERSION

version 2.000

SYNOPSIS

use WebService::UrbanDictionary;

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

my $results = request('perl'); 

my $definition = $results->definition;

DESCRIPTION

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

Methods

BUILD(res)

Called by request() in WebService::UrbanDictionary. Do not use externally.

definition

Returns either an array of hashes containing API data, or the first definition of the word depending on context.

SEE ALSO

WWW::Search::UrbanDictionary

AUTHOR

William Woodruff <william@tuffbizz.com>

COPYRIGHT AND LICENSE

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

This is free software, licensed under:

The MIT (X11) License