{
  "opencollection": "1.0.0",
  "info": {
    "name": "Weatherbit - Interactive Swagger UI Documentation 16 Day / Daily Forecast Historical Degree Day API API",
    "version": "2.0.0"
  },
  "items": [
    {
      "info": {
        "name": "Historical Degree Day API",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Weatherbit Returns Energy API Response - Given a Single Lat/lon.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.weatherbit.io/v2.0/history/energy",
            "params": [
              {
                "name": "lat",
                "value": "74.69",
                "type": "query",
                "description": "Latitude component of location."
              },
              {
                "name": "lon",
                "value": "61.34",
                "type": "query",
                "description": "Longitude component of location."
              },
              {
                "name": "start_date",
                "value": "example-value",
                "type": "query",
                "description": "Start Date (YYYY-MM-DD or YYYY-MM-DD:HH)."
              },
              {
                "name": "end_date",
                "value": "example-value",
                "type": "query",
                "description": "End Date (YYYY-MM-DD or YYYY-MM-DD:HH)."
              },
              {
                "name": "tp",
                "value": "monthly",
                "type": "query",
                "description": "Time period to aggregate by (daily, monthly)"
              },
              {
                "name": "threshold",
                "value": "22.57",
                "type": "query",
                "description": "Temperature threshold to use to calculate degree days (default 18 C) "
              },
              {
                "name": "units",
                "value": "S",
                "type": "query",
                "description": "Convert to units. Default Metric See <a target='blank' href='/api/requests'>units field description</a>"
              },
              {
                "name": "key",
                "value": "abc123xyz",
                "type": "query",
                "description": "Your registered API key."
              }
            ]
          },
          "docs": "Returns aggregate energy specific historical weather fields, over a specified time period. See https://www.weatherbit.io/api for API specific rate limits."
        }
      ]
    }
  ],
  "bundled": true
}