NAME

WebService::TVDB::Servertime - Gets and saves the TVDB servertime

VERSION

version 1.133200

SYNOPSIS

my $servertime = WebService::TVDB::Servertime->new();
$servertime->fetch_servertime();
my $previous_time = $servertime->get_servertime();

DESCRIPTION

This is not used by default, but would be handy if you are keeping a cache and want to know when to update it.

METHODS

new()

Create new object. Takes no arguments.

fetch_servertime()

Fetches the servertime from thetvdb.com.

get_servertime()

Gets the servertime. You will need to have called fetch_servertime() before.

AUTHOR

Andrew Jones <andrew@arjones.co.uk>

COPYRIGHT AND LICENSE

This software is copyright (c) 2013 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.