JUMP TOGetting StartedGetting Started with the Lono Public APIGetting Started with Lono: Single User ApplicationGetting Started with Lono: Production ApplicationDocumentationTurn On a ZonepostTurn Off a ZonepostGet Zone State (which zone is on)getZone InformationgetUpdate ZonesputDetect ZonespostLono InformationgetJavascript APIGetting Started in JavascriptLonoClient.authorize_url()LonoClient.authorize(req, res)LonoClient.callback(req, res)LonoClient.get_device(device_id)Ruby APIGetting Started in RubyLonoLono::AuthUrlLono::SessionTokenLono::DevicePython APIGetting Started in PythonLonoClient.authorize_url(redirect_on_success)LonoClient.save_token(auth_token)LonoClient.get_device(device_id)Powered by Lono::SessionTokenLono::SessionToken.fetch() Fetch the session token using the specified auth token. Returns a Lono::SessionToken object that must be passed when creating a device. Rubytoken = Lono::SessionToken.fetch