The zwift-data
npm package provides data about Zwift:
npm install zwift-data
or
yarn add zwift-data
import {
achievements,
bikeFrames,
bikeFrontWheels,
bikeRearWheels,
bikeShoes,
challenges,
glasses,
headgears,
jerseys,
notableMomentTypes
paintJobs
routes
runShirts,
runShoes,
runShorts,
segments,
socks,
trainingPlans,
unlockableCategories,
worlds,
} from "zwift-data";
The package also exports TypeScript types.
The data structure is documented here.
Some data is automatically fetched and updated from Zwift's public API.
Data was also manually collected from