class Sense::API

Included Modules

Defined in:

sense-api.cr
sense-api/sensors.cr
sense-api/timeline.cr

Constant Summary

API_ROOT = "https://api.hello.is/"

Constructors

Instance methods inherited from module Sense::API::Sensors

current_sensors(temp_unit = 'c') current_sensors, humidity_by_day(from = Time.now - 5.minutes) humidity_by_day, humidity_by_week(from = Time.now) humidity_by_week, light_by_day(from = Time.now - 5.minutes) light_by_day, light_by_week(from = Time.now) light_by_week, particulates_by_day(from = Time.now - 5.minutes) particulates_by_day, particulates_by_week(from = Time.now) particulates_by_week, sound_by_day(from = Time.now - 5.minutes) sound_by_day, sound_by_week(from = Time.now) sound_by_week, temperature_by_day(from = Time.now - 5.minutes) temperature_by_day, temperature_by_week(from = Time.now) temperature_by_week

Instance methods inherited from module Sense::API::Timeline

timeline(date = Time.now.date) timeline

Constructor Detail

def self.new(email : String, password : String) #

[View source]
def self.new(access_token : String) #

[View source]