NAME

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

VERSION

version 2.011

SYNOPSIS

use WebService::UrbanDictionary;

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

my $results = request('perl'); 

my $definition = $results->definition;

DESCRIPTION

WebService::UrbanDictionary::Term objects are returned by the request(word) method of WebService::UrbanDictionary objects upon successfully retreiving data from UrbanDictionary.com's 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.

NAME

WebService::UrbanDictionary::Term - Object for holding definitions and other data requested by WebService::UrbanDictionary.

SEE ALSO

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

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