A Python script that exports the "Be A Scout" Unit Pin information for all units you have visibility in my.Scouting and saves them to a CSV file named unit_pins.csv
.
-
Change to the current directory (if not in it already)
cd bsa_myscouting_export_unit_pins
-
Build the docker image
docker build -t bsa_myscouting_export_unit_pins .
-
Run the docker container
(Replace
USER_NAME
andPASSWORD
with your my.Scouting Username and Password)docker run -it --rm --name bsa_myscouting_export_unit_pins -v $(pwd):/usr/src/app bsa_myscouting_export_unit_pins "USER_NAME" "PASSWORD"
It will make API calls to my.Scouting and then save the "Be A Scout" Unit Pin information to a CSV file named unit_pins.csv
.