f1-api-node
Version:
A simple library written in typescript to fetch Formula-1 data
18 lines • 748 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.dynamicLinks = exports.staticLinks = void 0;
exports.staticLinks = {
drivers: "https://www.formula1.com/en/drivers.html",
teams: "https://www.formula1.com/en/teams.html",
teamsPoints: `https://www.formula1.com/en/results/${new Date().getFullYear()}/team`,
hallOfFame: "https://www.formula1.com/en/drivers/hall-of-fame.html",
};
exports.dynamicLinks = {
rootLink: "https://www.formula1.com/en/results.html",
driverStandings: "drivers.html",
constructorStandings: "team.html",
results: "races.html",
fastestLap: "fastest-laps.html",
raceSchedule: "https://www.formula1.com/en/racing",
};
//# sourceMappingURL=endpoints.js.map