Demo

Feeds

xively.feed.get (feedID, callback(data))

xively.feed.update (feedID, data{}, callback(data))

xively.feed.delete (feedID, callback(data))

xively.feed.history (feedID, options{}, callback(data))

xively.feed.list (options{}, callback(data))

xively.feed.subscribe (feedID, callback(data))

  Wait for console logs when feed updates

xively.feed.unsubscribe (feedID)

Datastreams

xively.datastream.get (feedID, datastreamID, callback (data))

xively.datastream.update (feedID, datastreamID, data{}, callback (data))

xively.datastream.new (feedID, data{}, callback (data))

xively.datastream.delete (feedID, datastreamID, callback (data))

xively.datastream.history (feedID, datastreamID, options{}, callback(data))

xively.datastream.list (feedID, callback (data))

xively.datastream.subscribe (feedID, datastreamID, callback(data))

  Wait for console logs when feed updates

xively.datastream.unsubscribe (feedID, datastreamID)

Datapoints

xively.datapoint.get (feedID, datastreamID, timestamp, callback (data))

xively.datapoint.update (feedID, datastreamID, timestamp, value, callback (data))

xively.datapoint.new (feedID, datastreamID, data{}, callback (data))

xively.datapoint.delete (feedID, datastreamID, timestamp or options{} , callback (data))

xively.datapoint.history (feedID, datastreamID, options{}, callback(data))