Skip to content

Instantly share code, notes, and snippets.

@stefan2904
Created May 22, 2015 23:28
Show Gist options
  • Save stefan2904/5d34e865141f42407967 to your computer and use it in GitHub Desktop.
Save stefan2904/5d34e865141f42407967 to your computer and use it in GitHub Desktop.
get realraum's space-api status
import json, requests
resp = requests.get(url="http://realraum.at/status.json")
data = json.loads(resp.text)
print data['state']['message']
print data['state']['lastchange']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment