NAME

WebService::Strike - Get torrent info from getstrike.net API

SYNOPSIS

use WebService::Strike;
my $t = strike 'B425907E5755031BDA4A8D1B6DCCACA97DA14C04';
say $t->title;               # Arch Linux 2015.01.01 (x86\/x64)
say $t->magnet;              # Returns a magnet link
my $torrent = $t->torrent;   # Returns the torrent file
$t->torrent('file.torrent'); # Downloads the torrent file to 'file.torrent'

DESCRIPTION

Strike API is a service for getting information about a torrent given its info hash. WebService::Strike is a wrapper for this service.

strike(@info_hashes)

Returns a list of hashrefs, one for each info hash. The hashrefs are blessed into the WebService::Strike::Torrent package. Dies in case of error.

strike_query

Alias for strike. Not exported by default.

SEE ALSO

WebService::Strike::Torrent, http://getstrike.net/api/, WWW::Search::Torrentz

AUTHOR

Marius Gavrilescu, <marius@ieval.ro>

COPYRIGHT AND LICENSE

Copyright (C) 2015 by Marius Gavrilescu

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.20.2 or, at your option, any later version of Perl 5 you may have available.