Skip to content

Instantly share code, notes, and snippets.

@csrl
csrl / example_use.lua
Last active August 29, 2015 14:06 — forked from azdle/example_use.lua
local oneprpc = require 'oneprpc'
local json = require 'json'
local rpc = oneprpc:new({cik = "9829879a04efb8f4a1b42e22245739678fd4a94e"})
local status, rid = rpc.create(
"dataport",
{
format = "float",
name = "Temperature",