Put this into a quick ruby class if anyone is interested: https://github.com/fredkelly/sense-client