{
  "info": {
    "name": "Geçmiş hava durumu (SBX-WHIST)",
    "description": "1981'den günlük, 2001'den saatlik geçmiş hava; aylık iklim normalleri ve ısıtma/soğutma derece-günleri.",
    "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": "Daily history",
      "request": {
        "method": "GET",
        "header": [],
        "url": {
          "raw": "{{baseUrl}}/v1/weather-history/days?start=string&end=string",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "v1",
            "weather-history",
            "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": "timezone",
              "value": "string",
              "description": "IANA timezone for local times. Default: the city's, or the nearest city's for a point.",
              "disabled": true
            },
            {
              "key": "start",
              "value": "string",
              "description": "First day, YYYY-MM-DD.",
              "disabled": false
            },
            {
              "key": "end",
              "value": "string",
              "description": "Last day, YYYY-MM-DD.",
              "disabled": false
            }
          ],
          "variable": []
        },
        "description": "Daily mean, high and low temperature, precipitation, humidity and wind for `start`–`end` (inclusive, at most 366 days), from 1981-01-01 to a few days ago. Recent days NASA POWER has not filled yet are null.\n\nCredits: 1"
      }
    },
    {
      "name": "Heating and cooling degree days",
      "request": {
        "method": "GET",
        "header": [],
        "url": {
          "raw": "{{baseUrl}}/v1/weather-history/degree-days?start=string&end=string",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "v1",
            "weather-history",
            "degree-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": "timezone",
              "value": "string",
              "description": "IANA timezone for local times. Default: the city's, or the nearest city's for a point.",
              "disabled": true
            },
            {
              "key": "start",
              "value": "string",
              "description": "First day, YYYY-MM-DD.",
              "disabled": false
            },
            {
              "key": "end",
              "value": "string",
              "description": "Last day, YYYY-MM-DD.",
              "disabled": false
            },
            {
              "key": "heatingBase",
              "value": "18",
              "description": "°C, -10 to 40.",
              "disabled": true
            },
            {
              "key": "coolingBase",
              "value": "22",
              "description": "°C, -10 to 40.",
              "disabled": true
            }
          ],
          "variable": []
        },
        "description": "Heating degree days (below `heatingBase`, default 18 °C) and cooling degree days (above `coolingBase`, default 22 °C) from the daily mean temperature over `start`–`end` (at most 366 days), in total (`meta`) and per month.\n\nCredits: 1"
      }
    },
    {
      "name": "Hourly history",
      "request": {
        "method": "GET",
        "header": [],
        "url": {
          "raw": "{{baseUrl}}/v1/weather-history/hours?start=string&end=string",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "v1",
            "weather-history",
            "hours"
          ],
          "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": "timezone",
              "value": "string",
              "description": "IANA timezone for local times. Default: the city's, or the nearest city's for a point.",
              "disabled": true
            },
            {
              "key": "start",
              "value": "string",
              "description": "First day, YYYY-MM-DD.",
              "disabled": false
            },
            {
              "key": "end",
              "value": "string",
              "description": "Last day, YYYY-MM-DD.",
              "disabled": false
            }
          ],
          "variable": []
        },
        "description": "Hourly temperature, precipitation, humidity and wind for `start`–`end` (at most 7 days), from 2001-01-01, in local time.\n\nCredits: 1"
      }
    },
    {
      "name": "Monthly normals",
      "request": {
        "method": "GET",
        "header": [],
        "url": {
          "raw": "{{baseUrl}}/v1/weather-history/normals",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "v1",
            "weather-history",
            "normals"
          ],
          "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": "timezone",
              "value": "string",
              "description": "IANA timezone for local times. Default: the city's, or the nearest city's for a point.",
              "disabled": true
            }
          ],
          "variable": []
        },
        "description": "The climate normals for each month over NASA POWER's 20-year climatology (2001–2020): mean temperature, the highest and lowest hourly temperature seen in that month, monthly precipitation, humidity and wind.\n\nCredits: 1"
      }
    },
    {
      "name": "List parameters",
      "request": {
        "method": "GET",
        "header": [],
        "url": {
          "raw": "{{baseUrl}}/v1/weather-history/parameters",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "v1",
            "weather-history",
            "parameters"
          ],
          "query": [],
          "variable": []
        },
        "description": "The variables the history answers carry, their units, and the dates the data covers. Free.\n\nCredits: 0"
      }
    }
  ]
}