Returns the forecasted power data in Watts for the requested building.

Example Request

$ curl -G \
"https://app.verdigris.co/api/v3/buildings/1/forecast" \
-H "Authorization: Token token=<access_token>"

Examples

# RESPONSE
# result is in the format:
# {
#   made_at: The time that the forecast was generated at.,
#   timestamps: Unix epoch seconds accompanying above quantiles.
#   mean: average forecast,
#   0.05: 5th percentile,
#   0.10: 10th percentile,
#   0.15: 15th percentile,
#   ... (continue incrementing by 5 percent)
#   0.95: 95th percentile,
# }
{
  "made_at": "2017-09-01T16:39:55.969-07:00",
  "timestamps": [<length 96 array>],
  "mean": [<length 96 array>],
  "0.05": [<length 96 array>],
  "0.10": [<length 96 array>],
  "0.15": [<length 96 array>],
  ...
  "0.95": [<length 96 array>]
}

Params

Param name Description
building_id
required

building id


Value:

Must be String