Add GymAssets images in Google Sheets
Build a GymAssets image URL in a cell and render it with the Google Sheets IMAGE function.
Use IMAGE when a sheet needs a visual muscle target beside a workout or exercise
record. Put the publishable key in a dedicated configuration cell and build the URL
from stable muscle ids.
Google Sheets formula
=IMAGE(CONCAT(
"https://cdn.gymassets.dev/v1/",
$B$1,
"/body/male/front.webp?primary=",
A2,
"&w=160"
)) In this example, B1 contains the publishable key and A2 contains a muscle id
such as pectorals.
The secret half of a key must not appear in a sheet. Query the data API from a server you control if the spreadsheet needs catalogue data.