Get VATSIM network status for API key
curl --request GET \
--url https://v2.stopbars.com/auth/network-status \
--header 'Authorization: Bearer <token>'import requests
url = "https://v2.stopbars.com/auth/network-status"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://v2.stopbars.com/auth/network-status', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));Auth
Get VATSIM network status for API key
Validates a BARS API key and returns the user’s current VATSIM connection status parsed from slurper.vatsim.net.
GET
/
auth
/
network-status
Get VATSIM network status for API key
curl --request GET \
--url https://v2.stopbars.com/auth/network-status \
--header 'Authorization: Bearer <token>'import requests
url = "https://v2.stopbars.com/auth/network-status"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://v2.stopbars.com/auth/network-status', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));Authorizations
User API key passed as Bearer token in Authorization header.
Response
CID, offline flag, and parsed VATSIM status returned
Was this page helpful?
