Project is now deprecated.
This script is used to communicate with the BoilerMake Backend, and allows for ID barcodes to be scanned and then recorded on the API server. We used a Raspberry Pi to process the scanner input.
- You must have the BoilerMake Backend installed
- Setup the backend and generate a
PODPOD_KEY
- Setup the backend and generate a
- Install Python 3
- Install Requests
- Copy
config.sample.ini
toconfig.ini
and fill in your details. Make sure that your API url does not have a trailing slash
Make sure that your Raspberry Pi is connected to the internet, and has a USB Barcode Scanner plugged in. Then, execute sudo python task.py
If you want to run this on a desktop or laptop, run the script with the --stdin
option.
Use --help
to view all options.