NAME

TweetHook::API -

SYNOPSIS

use TweetHook::API;

my $th = TweetHook::API->new;

foreach my $hook ( @{$th->list->{searches}} ) { print "$hook{id} $hook{search} $hook{webhook} $hook{active}\n"; }

$th->start ( $id ); $th->stop ( $id );

$th->create ( 'search string', 'webhook url' ); $th->destroy ( $id ); $th->modify ( $id, { search => 'new search' } ); $th->modify ( $id, { webhook => 'new webhook' } ); $th->modify ( $id, { search => 'new search', webhook => 'new webhook' } );

DESCRIPTION