Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cron job for sending push notifications. deadline 4/4 #94

Open
mjrb opened this issue Feb 2, 2020 · 0 comments
Open

cron job for sending push notifications. deadline 4/4 #94

mjrb opened this issue Feb 2, 2020 · 0 comments
Assignees

Comments

@mjrb
Copy link
Member

mjrb commented Feb 2, 2020

Using the python firebase admin sdk, we can send notifications to specific people who have subscribed to a certain topic. for example we will have a topic for announcements, and a topic for each mini event on the calendar.
essentially we need a lambda that will check the calendar and slack every n minutes (n is defined in config perhaps).
if the lambda notices a calendar event is soon, or that there is a new announcement it will send a notification to the correct topic.

exact topic names TBD. just use announcements and events for now
More research needed to determine how to do a cron job (running something every n minutes) with lambda or SLS framework.

ask me for Firebase credentials if you are working on this

here is a link to what seems like the appropriate documentation in the python firebase admin sdk
here is a rough example of how to send a notification to a topic, but it doens't show how to setup the client :/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants