The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

TV::ProgrammesSchedules::ZEE - Interface to ZEE TV Programmes Schedules.

VERSION

Version 0.02

DESCRIPTION

Zee TV, the flagship channel of Zee Network was launched in October 1992. With a reach of more than 120 countries and access to more than 500 million viewers globally, Zee TV has created strong brand equity and is the largest media franchise serving the South Asian Diaspora. With over sixteen years of its launch, Zee TV has driven the growth of the satellite and cable industry in India.

The popularity of Zee arises from its understanding of Indian culture and beliefs which are depicted in its programming. Realizing its strength in programming and the need for Indian entertainment in the overseas market, the company launched Zee TV in the UK / Europe (1995), the USA (1998), Africa (1998) and today is available across five continents.

CONSTRUCTOR

The constructor optionally expects a reference to anonymous hash as input parameter. Possible keys to the anonymous hash are ( yyyy, mm, dd ). The yyyy, mm and dd are optional. If missing picks up the current year, month and day.

    use strict; use warnings;
    use TV::ProgrammesSchedules::ZEE;
    
    my $zee_today = TV::ProgrammesSchedules::ZEE->new();
    my $zee_2011_04_25 = TV::ProgrammesSchedules::ZEE->new({yyyy=>2011,mm=>4,dd=>25});

METHODS

get_listings()

Return the programmes listings for the given date. Data would be in the form of reference to a list containing anonymous hash with keys time, title & url, if any, for each of the programme.

    use strict; use warnings;
    use TV::ProgrammesSchedules::ZEE;
    
    my $zee = TV::ProgrammesSchedules::ZEE->new();
    my $listings = $zee->get_listings();

as_xml()

Returns listings in XML format. By default it returns todays lisitng for ZEE TV.

    use strict; use warnings;
    use TV::ProgrammesSchedules::ZEE;

    my $zee = TV::ProgrammesSchedules::ZEE->new();
    print $zee->as_xml();

as_string()

Returns listings in a human readable format. By default it returns todays lisitng for ZEE TV.

    use strict; use warnings;
    use TV::ProgrammesSchedules::ZEE;

    my $zee      = TV::ProgrammesSchedules::ZEE->new();
    my $listings = $zee->get_listings();

    print $zee->as_string();

    # or even simply
    print $zee;

AUTHOR

Mohammad S Anwar, <mohammad.anwar at yahoo.com>

BUGS

Please report any bug or feature requests to bug-tv-programmesschedules-zee at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=TV-ProgrammesSchedules-ZEE. I will be notified and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

    perldoc TV::ProgrammesSchedules::ZEE

You can also look for information at:

LICENSE AND COPYRIGHT

Copyright 2011 Mohammad S Anwar.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.

DISCLAIMER

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.