Skip to main content
=====
owghat-api
=====
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::

INSTALLED_APPS = [
...
'owghatapi',
]

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

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

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


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


Metadata

Release files for django-owghatapi 0.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-owghatapi 0.2.2
File Size Uploaded
django-owghatapi-0.2.2.tar.gz 22.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-owghatapi 0.2.2
File Interpreter ABI Platform
django_owghatapi-0.2.2-py3-none-any.whl Python 3 none any Details

Total release size: 46.6 kB

Release files / django-owghatapi-0.2.2.tar.gz

Download URL django-owghatapi-0.2.2.tar.gz
Size 22.0 kB
Tags Source
SHA-256 checksum
How to use checksums
3ca84420dfe3cd04309132bbb1eac724f0002f66a94042d74d6f23e482b2d0cb
BLAKE2b-256 checksum
How to use checksums
c82fdba00eaf3440ce13e86dbacd8794557676bedd9e8809e791ec432dd88054
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.0

Release files / django_owghatapi-0.2.2-py3-none-any.whl

Download URL django_owghatapi-0.2.2-py3-none-any.whl
Size 24.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
66b3e31212e6384a4d91d81975c1614e0f90c7bac85b66df4c7c3731ef908d4b
BLAKE2b-256 checksum
How to use checksums
213d7f3986ce44bddfd3b9f9c415e9c50d7ceaf2788fe2c877b6fdf6dd8e7b1d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.0

Release history Release notifications | RSS feed

This release

0.2.2 This release

2 release files

0.2.1

2 release files

0.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page