|
Religion::Islam::PrayMind - a Perl module that is a client for PrayerMinder server |
Religion::Islam::PrayMind - a Perl module that is a client for PrayerMinder server
use Religion::Islam::PrayMind;
$p1 = new PMConnect(ClientID => "xxxx"); #where xxxx is the client web site's ID at the PrayerMinder server.
$p1->GetList(<listtype> [, <parentID>); $p1->GetPrayerTimes(<cityID>);
This module provides ways to obtain data from the PrayerMinder server. It is built on top of the XML::Parser manpage. Each call to the GetList manpage or the GetPrayerTimes manpage methods opens a socket connection to the PrayerMinder server, and creates a new instance of XML::Parser which is then used to parse the data received through the socket.
Example
The following files show example usage of the PrayMind module:
Exported constants and variables
PARAMETERS
Called after the GetList manpage to obtain the number of locations in the list.
Called after the GetList manpage to obtain the number of locations in the list.
Called after the GetList manpage to obtain the number of locations in the list.
Called after the GetList manpage to obtain the number of locations in the list.
GetPrayerTimes(CITY_ID)Called after the GetPrayerTimes manpage to obtain the ID for the city.
Called after the GetPrayerTimes manpage to obtain the title for the city.
Called after the GetPrayerTimes manpage to obtain the time zone for the city.
Called after the GetPrayerTimes manpage to obtain today's Islamic date for the city.
Called after the GetPrayerTimes manpage to obtain today's Gregorian date for the city.
Called after the GetPrayerTimes manpage to obtain the default Asr fiqh method for the city.
CityPrayerTime(PRAYER_NAME)Called after the GetPrayerTimes manpage to obtain the requested prayer time for the city.
PARAMETERS
Called after the GetPrayerTimes manpage or the GetList manpage to obtain the error ID. Returns values indicates error ID or IDS_NoError if no errors occurred.
Called after the GetError manpage to obtain the text description of the last error.
Tasmin Ahmad, <support@prayerminder.com>
Web site: http://www.prayerminder.com/
|
Religion::Islam::PrayMind - a Perl module that is a client for PrayerMinder server |