Malaysia prayer times (waktu solat) JSON API @ E-Solat API. Data from JAKIM's E-Solat.
Waktu Solat Malaysia Telegram Bot by Zaim Ramlan
- Built with Ruby (2.7.3) on Rails (5.2.5)
- First deployed on Heroku on midnight of 01 Feb 2017
- Data updates every midnight
https://zaimramlan.github.io/waktu-solat-api/
- https://waktu-solat-api.herokuapp.com/api/v1/prayer_times.json
- https://waktu-solat-api.herokuapp.com/api/v1/zones.json
- https://waktu-solat-api.herokuapp.com/api/v1/states.json
- Pagination for
/prayer_times.json
Do fork this project and improve where you see fit. Submit your Pull Request for merge review.
Use the prepare repository section to help setup the repo on your local environment.
Clone the repo and install the dependencies
$ git clone https://github.com/zaimramlan/waktu-solat-api.git
$ cd waktu-solat-api
$ bundle install
Set up the database
$ rake db:create db:migrate
Download the list of states, zones and prayer times
$ rake esolat:v2:scrapezones esolat:v2:scrapetimes
Run the Server
$ rails server
- MIT