Basic Usage
To get information of a station make a GET
request to this endpoint:
<NAME>
with your station name. You will get a JSON
response.
Get started with some code snippets
Give the API a try with some easy boilerplate code snippets. Here are some examples.
JavaScript
Fetch
fetch('http://vtapi.floscodes.net/?station=<NAME>')
.then(response => response.json())
.then(data => console.log(data));
Axios (NodeJS)
const axios = require('axios');
const request = async (url) => await (await axios.get("http://vtapi.floscodes.net/?station=<NAME>"));
let response = request(URL).then(resp => console.log(resp.data));