ExerciseGIF

SDKs for JavaScript and Python.

Small typed clients around the API. They handle keys, paging and media links, so you only pick the exercise and the figure.

JavaScript and TypeScript

Works in Node and server runtimes. Every response is typed, including the muscle list.

Node
npm install exercisegif

import { ExerciseGIF } from "exercisegif";

const gifs = new ExerciseGIF({ apiKey: process.env.EXERCISEGIF_KEY });
const squat = await gifs.exercises.get("squat");
const url = squat.media.female.webp;

Python

Sync and async clients with the same methods as the JavaScript SDK.

Python
pip install exercisegif

from exercisegif import ExerciseGIF

gifs = ExerciseGIF(api_key=os.environ["EXERCISEGIF_KEY"])
for ex in gifs.exercises.list(muscle="glutes"):
    print(ex.name, ex.media.male.gif)

The SDKs ship when the API opens. Until then the docs show the plain HTTP calls.