Skip to main content
This script reads every member and saves them to members.csv. It needs Python 3.9 or later and the requests package (pip install requests).
members_to_csv.py
Run it:

Switch to your group

Change api-demo.scoutworks.app to api.scoutworks.app, and set your key in the environment instead of the code:
Your key needs the members:read scope.

Notes

  • A field that the key’s scopes do not allow is left out of the response. Use m.get("dateOfBirth"), not m["dateOfBirth"], for the .contacts fields.
  • The safe() function matters if anyone opens the CSV in Excel or Sheets. See Google Sheets for why.
  • For other lists, change the URL. The API reference lists every endpoint and field.