NAME

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

VERSION

version 2.010

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

definition

Returns either an array of hashes containing API data, or the first definition of the word depending on context. These elements can then be accessed with the methods in WebService::UrbanDictionary::Term::Definition.

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