Gallery::Remote::API

Interact with Gallery via the Gallery Remote Protocol
Download

Gallery::Remote::API Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Publisher Name:
  • Jonathan Wright
  • Publisher web site:
  • http://search.cpan.org/~mysteryte/

Gallery::Remote::API Tags


Gallery::Remote::API Description

Interact with Gallery via the Gallery Remote Protocol "Gallery" is a PHP web photo gallery package. Gallery::Remote::API is a Perl module that allows you to interact with their Remote Protocol API. It is an alternative to Gallery::Remote, which does not support Gallery2.SYNOPSIS use Gallery::Remote::API; my $gallery = new Gallery::Remote::API ({ url => $url, version => $ver, username => $user, password => $pass }); $gallery->login || die "can't log in!"; ## Then... if (my $result = $gallery->fetch_albums) { #etc # success! $result is a hashref of returned data } else { # failed! But we can still get $result, to see the error my $result = $gallery->result; print "error = " . $result->{status_text}; } Requirements: · Perl


Gallery::Remote::API Related Software