Andrew Jones > WebService-TVDB-1.123160 > WebService::TVDB::Mirror

Download:
WebService-TVDB-1.123160.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 1.123160   Source   Latest Release: WebService-TVDB-1.130350

NAME ^

WebService::TVDB::Mirror - Gets and saves a mirror

VERSION ^

version 1.123160

SYNOPSIS ^

  my $mirror = WebService::TVDB::Mirror->new();
  $mirror->fetch_mirror_list('1234abcd');
  my $mirror_url = $mirror->get_mirror();

METHODS ^

new()

Create a new object. Takes no arguments.

fetch_mirror_list($api_key)

Fetches the mirror list from thetvdb.com. Requires an API key, or will die.

get_mirror()

Gets a mirror. You will need to have called fetch_mirror_list() before.

AUTHOR ^

Andrew Jones <andrew@arjones.co.uk>

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2012 by Andrew Jones.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

syntax highlighting: