The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

WebService::Lymbix - API wrapper of Lymbix.

VERSION

Version 0.02

SYNOPSIS

An API wrapper of Lymbix. See http://lymbix.com for more details.

Perhaps a little code snippet.

    use WebService::Lymbix;

    my $auth_key = '<YOURAUTHKEY>';
    my $lymbix = WebService::Lymbix->new($auth_key);
    print $lymbix->tonalize("if you had to launch your business in two weeks, what would you cut")
    ...

ATTRIBUTES

api_url

auth_key

accept_type

api_version

METHODS

tonalize(article, [return_fields, accept_type, article_reference_id])

The tonalize method provides article-level Lymbix sentiment data for a single article.

tonalize_detailed(article, [return_fields, accept_type, article_reference_id])

The tonalize_detailed method provides article-level Lymbix sentiment data along with a sentence by sentence sentiment data for a single article.

PARAMS

article (string)

return_fields (csv)

article_reference_id (string)

tonalize_multiple(articles, [return_fields, article_reference_ids])

The tonalize_multiple method provides article-level Lymbix sentiment data for multiple articles.

articles (csv), return_fields (csv), article_reference_ids (csv)

flag_response (reference_id, phrase, api_method_requested, [api_version, callback_url])

Flags a phrase to be re-evaluated.

AUTHOR

Omid Houshyar, <ohoushyar at gmail.com>

BUGS

Please report any bugs or feature requests via GitHub bug tracker at http://github.com/ohoushyar/webservice-lymbix/issues.

ACKNOWLEDGEMENTS

Pavel Shaydo for helping me to release this module.

LICENSE AND COPYRIGHT

Copyright 2012 Omid Houshyar.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.