Get current lighting/network state
curl --request GET \
--url https://v2.stopbars.com/stateimport requests
url = "https://v2.stopbars.com/state"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://v2.stopbars.com/state', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));State
Get current lighting/network state
Returns state for a single airport or all airports. Use airport=vatsimradar for VATSIM Radar format (objects include lights; offline omitted; offline airports excluded).
GET
/
state
Get current lighting/network state
curl --request GET \
--url https://v2.stopbars.com/stateimport requests
url = "https://v2.stopbars.com/state"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://v2.stopbars.com/state', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));Was this page helpful?
