6 lines
163 B
Python
6 lines
163 B
Python
|
import urllib, json
|
||
|
url = "https://spaceapi.syn2cat.lu/status/json"
|
||
|
response = urllib.urlopen(url);
|
||
|
data = json.loads(response.read())
|
||
|
print data["state"]["open"]
|