View on
MetaCPAN
John Resig > Net-DVDProfiler > Net-DVDProfiler

Download:
Net-DVDProfiler-0.03.tar.gz

Annotate this POD

View/Report Bugs
Source  

NAME ^

Net-DVDProfiler - Get the UPC numbers for your DVD collection, located on DVD Profiler.

DESCRIPTION ^

This is a module that uses LWP to connect to a remote DVDProfiler collection and acquire all available DVD UPC symbols. Once all the symbols have been acquired, they can then be plugged into another application, such as the module Net::Amazon::DVD2IMDB, to get all the IMDB IDs for the DVDs.

SYNOPSIS ^

    # Print out the names of all the movies in your DVD Profiler collection.

    use Net::DVDProfiler;

    my $ua = new Net::DVDProfiler( alias => 'YOURALIAS' );

    print map { $_->title() . "\n" } @{$ua->getAll()};
new
    my $ua = new Net::DVDProfiler( alias => 'YOURALIAS' );

Instantiates an object with which to perform further requests. Requires a valid user alias to be provided.

getAll, getOwned, getOrdered, and getWishlist
    $ua-getAll();

Returns an array of Net::DVDProfiler::DVD objects. Each of the objects have a title and upc method, which can be accessed to receive that information.

AUTHOR ^

<a href="http://ejohn.org/">John Resig</a> <jeresig@gmail.com>

DISCLAIMER ^

This application utilitizes screen-scraping techniques, which are very fickle and susceptable to changes.

COPYRIGHT ^

Copyright 2005 John Resig.Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

syntax highlighting: