https://github.com/btronquo/py-firebase-reddit-discord-starcitizenpatchtrigger
Retrieve post via reddit api, compare with records on firestore, send or not notifications via discord webhook
https://github.com/btronquo/py-firebase-reddit-discord-starcitizenpatchtrigger
Last synced: about 1 month ago
JSON representation
Retrieve post via reddit api, compare with records on firestore, send or not notifications via discord webhook
- Host: GitHub
- URL: https://github.com/btronquo/py-firebase-reddit-discord-starcitizenpatchtrigger
- Owner: btronquo
- Created: 2019-04-14T06:35:28.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-04-16T07:25:33.000Z (about 6 years ago)
- Last Synced: 2025-02-13T09:38:00.998Z (3 months ago)
- Language: Python
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# # **Starcitizen Patch Trigger**!
Because CGI refuse to give free access to their api, I Made this python program to be notified on **Discord** when a reddit user post a '**Patch note**' in the subreddit **/r/starcitizen**.
## What you'll need
- Firebase Firestore Project (it's free)
- Valid Discord webhook
- Reddit registered app ([https://www.reddit.com/prefs/apps/](https://www.reddit.com/prefs/apps/))## Quick-Start
1. Clone this repo
2. Remove 'EXAMPLE' to the **config.py** and **serviceAccountConfig.json** files
3. Update **config.py** and **serviceAccountConfig.json** files with your data
4. `python3 app.py`That's it!
## Author
Boris Tronquoy## Thanks
[PRAW](https://github.com/praw-dev/praw)
[DHOOKS](https://github.com/kyb3r/dhooks)