Hi all, I'm new to the API.
I am trying to return a month's worth of prayer times for my latitude and longitude using the hijri month and year.
The API documentation says I should be able to do this, and accepts only numbers for year and month.
Here's my request:
GET http://api.aladhan.com/v1/calendar/1446/4?latitude=37.15823023755146&longitude=-3.5365462319476104&method=1&timezonestring=Europe/Madrid
And here's the initial part of the response, showing Gregorian date info:
{
"code": 200,
"status": "OK",
"data": [
{
"timings": {
"Fajr": "04:17 (LMT)",
"Sunrise": "05:46 (LMT)",
"Dhuhr": "12:03 (LMT)",
"Asr": "15:37 (LMT)",
"Sunset": "18:21 (LMT)",
"Maghrib": "18:21 (LMT)",
"Isha": "19:50 (LMT)",
"Imsak": "04:07 (LMT)",
"Midnight": "00:04 (LMT)",
"Firstthird": "22:10 (LMT)",
"Lastthird": "01:58 (LMT)"
},
"date": {
"readable": "01 Apr 1446",
"timestamp": "-16528027455",
"gregorian": {
"date": "01-04-1446",
"format": "DD-MM-YYYY",
"day": "01",
"weekday": {
"en": "Wednesday"
},
...