Returns the power data for the requested building.

Example Request

$ curl -i https://app.verdigris.co/api/v1/buildings/166/power -H "Authorization: Token token=<access_token>"

Examples

// keys are unix epoch timestamps in string format, values are Watts
{
  "1411430400": 993.6999999999998,
  "1411516800": 914.8000000000001,
  "1411603200": 985.3000000000002
}

Params

Param name Description
building_id
required

building id


Value:

Must be String

end_time
optional

End time in unix timestamp


Value:

Must be String

interval
optional

Time granularity in minutes (default: 1440)


Value:

Must be String

limit
optional

Number of results (default: 30, max: 300)


Value:

Must be String

start_time
optional

Start time in unix timestamp (default: 0)


Value:

Must be String