You're viewing old version number 2. - Current version
Yo-Perl Readme
#yo - #perl - #programming - #api
Perl module that provides access to the Yo API.
External links:
Example Usage
Create object by passing the Yo API token for the account sending the Yo.
my $yo = Yo->new("your-api-token");
Optionally, set link to point to a URL that gets sent with the Yo. The user receiving the Yo can swipe the Yo to the right on the phone and be shown the web page corresponding to the link.
$yo->set_link("http://optionalurltosomething");
Send Yo to all subscribers.
$yo->all;
Send a Yo to one subscriber.
$yo->user('USERNAME');
Get subscriber count.
my $json = $yo->subscribers;
The returned format from Yo equals {"result": 23}
where 23 equals the number of subscribers.
From JR's : articles
115 words - 715 chars
created on
updated on
- #
source
- versions
Related articles
Yo-Perl Readme - Aug 19, 2014
Perl Dancer Framework - Dec 19, 2013
Perl HTML parsing modules - Oct 01, 2013
Perl code for string processing - Jul 06, 2013
Short list of REST API info - Jan 13, 2017
more >>