Get one random super set
fetch("https://workout-api.vercel.app/api/random").then((response) => response.json()).then((quote) => console.log(quote));
Get one random super set by mentioning a specific amount to of workouts to be included
fetch("https://workout-api.vercel.app/api/random?amount=8").then((response) => response.json()).then((quote) => console.log(quote));
Get all available workouts
fetch("https://workout-api.vercel.app/api/list").then((response) => response.json()).then((quote) => console.log(quote));
Created by Omer Mohideen © 2023