Skip to main content

Django app for Prayer times

Project description

owghat-api is a django app for Islamic times (owghat e shar'ee)

Quick start
pip install django-owghatapi

requirements: sqlparse,djangorestframework,pytz

1. Add "owghatapi" to your INSTALLED_APPS setting like this::


2. Include the owghatapi URLconf in your project like this::

path('owghatapi/', include('owghatapi.urls')),

3. Run `python migrate` to create the owghat models and seed the DB .

5. Visit<str:city-name>/ to get the times for more than 400 selected cities of iran (city name in Farsi), to get the times for today and specific location(latitude/longitude) in iran,
and<int:year>/<int:month>/<int:day>/<str:lat>/<str:long>/<str:tz>/ for specific time,location,and timezone

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for django-owghatapi, version 0.2.2
Filename, size File type Python version Upload date Hashes
Filename, size django_owghatapi-0.2.2-py3-none-any.whl (24.6 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size django-owghatapi-0.2.2.tar.gz (22.0 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page