WebService::Advogato - XML-RPC interface to www.advogato.org
use WebService::Advogato; my $client = new WebService::Advogato('username', 'password'); my $num_entries = $client->len('jaldhar'); $client->set(-1, '<p>A diary entry.</p>');
This module implements the XML-RPC interface to the diaries at www.advogato.org a site for developers of free software.
The module is implemented as a class. The methods use standard perl scalars and arrays but internally they use XML-RPC datatypes: int, string and date. The following descriptions include the datatype for your reference.
An object is constructed using the standard syntax. The constructor can take two parameters: username, and password which are the name and password of an advogato user account. These are used in methods which require logging in.
Return the number of entries in a diary.
Return a diary entry. The index is zero-based, so if len returns 2 then valid indices are 0 and 1.
Return the creation and last updated dates of a diary entry. If the entry has not been updated then the updated date will be the same as the creation date.
Set a diary entry. Use -1 as the index to post a new entry, although the value returned by len is also acceptable.
These methods are only useful for testing purposes.
Capitalize a string
Guess a number. (Actually always returns 'You guessed' and 42.)
Square a number.
Return the sum and product of a pair of numbers
Return the length of a string
http://www.advogato.org/xmlrpc.html
Jaldhar H. Vyas, <jaldhar@braincells.com>
Copyright (c) 2003, Consolidated Braincells Inc.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install WebService::Advogato, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WebService::Advogato
CPAN shell
perl -MCPAN -e shell install WebService::Advogato
For more information on module installation, please visit the detailed CPAN module installation guide.