{
  "info": {
    "name": "Namaz vakitleri (SBX-PRAY)",
    "description": "Her şehir ya da koordinat için günlük namaz vakitleri; varsayılan Diyanet yöntemi, 11 yöntem daha ve kıble yönü.",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{SBX_API_KEY}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.servicebox.io",
      "type": "string"
    },
    {
      "key": "SBX_API_KEY",
      "value": "",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "Get prayer times",
      "request": {
        "method": "GET",
        "header": [],
        "url": {
          "raw": "{{baseUrl}}/v1/prayer-times/days",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "v1",
            "prayer-times",
            "days"
          ],
          "query": [
            {
              "key": "cityId",
              "value": "string",
              "description": "A city id from the Cities API, e.g. 745044 (İstanbul).",
              "disabled": true
            },
            {
              "key": "lat",
              "value": "0",
              "description": "Latitude (WGS84), with `lon`.",
              "disabled": true
            },
            {
              "key": "lon",
              "value": "0",
              "description": "Longitude (WGS84), with `lat`.",
              "disabled": true
            },
            {
              "key": "date",
              "value": "string",
              "description": "First day, YYYY-MM-DD. Default: today in the place's timezone.",
              "disabled": true
            },
            {
              "key": "days",
              "value": "1",
              "description": "Number of days, 1–31.",
              "disabled": true
            },
            {
              "key": "timezone",
              "value": "string",
              "description": "IANA timezone, e.g. Europe/Istanbul. Default: the city's.",
              "disabled": true
            },
            {
              "key": "method",
              "value": "turkey",
              "description": "Calculation method (see /methods).",
              "disabled": true
            },
            {
              "key": "madhab",
              "value": "shafi",
              "description": "`shafi` (standard Asr, as Diyanet) or `hanafi`.",
              "disabled": true
            }
          ],
          "variable": []
        },
        "description": "The five daily prayer times and sunrise for a city (`cityId`, from the Cities API) or a point (`lat`, `lon`), for one day or up to 31 days from `date` (default: today there). The timezone is the city's, or the nearest city's for a point, unless `timezone` is given. The default method `turkey` follows the Turkish Presidency of Religious Affairs (Diyanet: İmsak 18°, Yatsı 17°, with its minute adjustments); results can differ from Diyanet's published table by a minute or two. `meta.qiblaDegrees` is the Qibla direction, clockwise from true north.\n\nCredits: 1"
      }
    },
    {
      "name": "List calculation methods",
      "request": {
        "method": "GET",
        "header": [],
        "url": {
          "raw": "{{baseUrl}}/v1/prayer-times/methods",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "v1",
            "prayer-times",
            "methods"
          ],
          "query": [],
          "variable": []
        },
        "description": "The calculation methods `method` accepts, with their twilight angles. Free.\n\nCredits: 0"
      }
    }
  ]
}