Read a spreadsheet range
Read a seeded spreadsheet range; Sheets lets an application consume human-maintained lookup tables.
Use the ID and A1 range from a seeded spreadsheet. Google Sheets exposes read-only fixture values locally.
Configure HTTP
export SPREADSHEET_ID="your-seeded-spreadsheet-id"
export A1_RANGE="Sheet1!A1:B3" Run in your terminal
curl --fail-with-body --get "${SHEETS_EMULATOR_HOST%/}/v4/spreadsheets/${SPREADSHEET_ID}/values/${A1_RANGE}" Verify the result
The response contains the values for the seeded spreadsheet ID and exact A1 range. Seed the fixture first; this read-only request does not create a spreadsheet.