afzafri / Waktu-Solat-API

PHP API for fetching prayer time from JAKIM e-Solat website
MIT License
36 stars 16 forks source link
api jquery malaysia php-api prayer-times

Waktu Solat PHP API

There are two version of the API, which are api.php and apiv2.php, and also a states and zones list fetcher script.

  1. api.php will fetch and parse the daily Prayer Time JSON data from JAKIM e-Solat website. This will only return prayer time for the current day.
  2. apiv2.php will fetch and parse prayer time for the chosen Zone for either a month, or for a whole year. This API fetch JSON data from JAKIM e-Solat website.
  3. zonefetcher.php will fetch and store the list of states and zones into the zone.json file. Always run this file first on fresh install, or every couple of months.

Dynamic jQuery Webpage

Created By :

  1. Afif Zafri
  2. Date : 17/05/2016
  3. Contact Me : http://fb.me/afzafri

Update

Installation

Drop all files into your server

Usage

Credits

  1. JAKIM e-Solat: http://www.e-solat.gov.my/web/waktusolat.php
  2. API Inspiration by Solat.IO: http://Solat.IO
  3. jQuery Library: https://jquery.com/
  4. Bootstrap Library: http://getbootstrap.com/
  5. Loading Spinner svg: http://loading.io/
  6. References: http://ijat.my/e-solat-xmljsonp-api, http://stackoverflow.com/
  7. Sensei: Mohd Shahril (Thanks for convert time code and zone.json)

License

This library is under MIT license, please look at the LICENSE file