NAME

WWW::PushBullet

DESCRIPTION

Module giving easy access to PushBullet API

SYNOPSIS

use WWW::PushBullet;

my $pb = WWW::PushBullet->new({apikey => $apikey});

$pb->push_address({ device_id => $device_id, name => $name, 
    address => $address });
$pb->push_link({ device_id => $device_id, title => $title,
    url => $url });
$pb->push_list({ device_id => $device_id, title => $title, 
    items => \@items });
$pb->push_note({ device_id => $device_id, title => $title,
    body => $body });

SUBROUTINES/METHODS

new($params)

Creates a new instance of PushBullet API

api_key()

Returns current PushBullet API key

devices()

Returns list of devices

pushes($content)

Generic pushes function

push_address($params)

Pushes address (with name & address)

push_link($params)

Pushes link (with title & url)

push_list($params)

Pushes link (with title & items)

push_note($params)

Pushes note (with title & body)

AUTHOR

Sebastien Thebert <stt@ittool.org>