exgrid v1.0.0 ExGrid.Statistics
Fetch statistics
Link to this section Summary
Link to this section Functions
Link to this function
categories(credentials)
get all categories
Link to this function
get(credentials)
get all stats
Link to this function
get(credentials, sdate)
get stats with optional parameters
note for
start_dateandend_datethey must be inYYYY-M-Dstring format
Examples:
iex> ExGrid.Statistics.get(credentials, %{start_date: “2014-7-10”, end_date: “2014-7-20”})
iex> ExGrid.Statistics.get(credentials, %{days: “1”})
iex> ExGrid.Statistics.get(credentials, %{aggregate: 1, days: 1})