Skip to content

Recipes

Short, runnable programs for common integration jobs, each in cURL, TypeScript, Python and Go.

A recipe is one small program that does one job end to end. Copy it, set BATTERYPASS_URL and BATTERYPASS_API_KEY (see the Quickstart), replace the placeholder where it reads your own data, and run it. Each recipe comes as a shell script with curl and jq, and in TypeScript (Node 20+), Python 3 with requests and Go with the standard library.

The Guides explain the operations behind these recipes in more depth, including the errors to expect.