Created
May 22, 2015 23:28
-
-
Save stefan2904/5d34e865141f42407967 to your computer and use it in GitHub Desktop.
get realraum's space-api status
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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