Get division details
curl --request GET \
--url https://v2.stopbars.com/divisions/{id} \
--header 'X-Vatsim-Token: <api-key>'import requests
url = "https://v2.stopbars.com/divisions/{id}"
headers = {"X-Vatsim-Token": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-Vatsim-Token': '<api-key>'}};
fetch('https://v2.stopbars.com/divisions/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));Divisions
Get division details
GET
/
divisions
/
{id}
Get division details
curl --request GET \
--url https://v2.stopbars.com/divisions/{id} \
--header 'X-Vatsim-Token: <api-key>'import requests
url = "https://v2.stopbars.com/divisions/{id}"
headers = {"X-Vatsim-Token": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-Vatsim-Token': '<api-key>'}};
fetch('https://v2.stopbars.com/divisions/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));Was this page helpful?
