ForgeScript F1 by adi.zip
This extension provides Formula 1 racing data and events for ForgeScript.
Features
* Race weekend schedules
* Race results
* Qualifying results
* Driver standings
* Constructor standings
Installation
``bash
npm i @adi.zip/forge.f1
`
Usage
`typescript
const { ForgeF1 } = require("@adi.zip/forge.f1");
// Initialize the F1 extension
client.loadEtryforge/forge.f1xtension(
new ForgeF1({
updateInterval: 60000, // Update every minute
events: ["raceWeekend", "raceResult", "qualifying", "driverStanding", "constructorStanding"]
})
);
``
Events
$3
Triggered when a race weekend is approaching or ongoing. Includes:
- Circuit information
- Schedule for practice sessions, qualifying, and race
- Sprint race schedule (if applicable)
$3
Triggered after a race is completed. Includes:
- Full race results
- Driver positions
- Points scored
- Fastest laps
- DNF information
$3
Triggered after qualifying sessions. Includes:
- Q1, Q2, and Q3 times
- Final grid positions
- Constructor information
$3
Triggered when driver standings are updated. Includes:
- Current position
- Points
- Number of wins
- Driver details
$3
Triggered when constructor standings are updated. Includes:
- Current position
- Points
- Number of wins
- Constructor details
Data Source
This extension uses the
f1api.dev API to fetch Formula 1 data. The API is free to use and does not require authentication.
Still in progess btw!
made w/ love imreallyadi
adi.zip studio