Sends a message to users based on bus route ETA through messages to a channel using Slack's app API or directly to users' phones via email to SMS services.
- Ensure you have access to the DoubleMap GPS bus services.
- Configure Slack channel and app for Slack notifications (if using Slack).
- Create the
config.json
file in theSlack
directory with your Slack API token.
{
"slack_api_token": "your_slack_api_token"
}
- Ensure you have a valid Gmail or iCloud account and set up app passwords for email to SMS notifications.
- Create the
credentials.json
file in thesms
directory with your email and SMS service provider credentials.
{
"name": {
"number": "name_phone_number",
"provider": "name_sms_provider"
},
"icloud": {
"email": "your_icloud_email",
"password": "your_icloud_app_password"
}
}
- Run the
tracker.py
script to start the bus tracking and notification system.
This project is licensed under the MIT License.
For questions or feedback, contact Ethan Bogart