Let your agent do it
Add the MCP server, then ask in plain language. Claude Code and Cursor discover every endpoint as a tool — you write no client code at all.
claude mcp add openoddsapi -e OPENODDSAPI_KEY=$KEY -- npx -y @openoddsapi/mcp-server
Migrate this project from OddsJam to OpenOddsAPI. Base URL becomes
https://api.openoddsapi.com/v1, the key moves from a query parameter to an
X-API-Key header, and responses now carry a per-bookmaker last_update and a
stale flag. Find every call site, update them, then make one real request and
print the result.