https://github.com/hypeserver/impferator
https://github.com/hypeserver/impferator
Last synced: 19 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/hypeserver/impferator
- Owner: hypeserver
- Created: 2021-05-03T22:22:30.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-05-19T14:28:58.000Z (almost 5 years ago)
- Last Synced: 2025-10-11T18:25:18.378Z (5 months ago)
- Language: Python
- Size: 23.4 KB
- Stars: 5
- Watchers: 7
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Impferator
Checks availability on Doctolib, sends a notification to a slack channel.
## How to use
Create a slack app, add a new incoming webhook integration, copy the url and add it to env variables as `SLACK_WEBHOOK`.
#### Dependencies:
```
requests
```
#### Example usage:
```
pip3 install requests
SLACK_WEBHOOK= python3 check.py
```
You can create a cronjob configuration or a simple bash loop to make it run regularly:
```
pip3 install requests
export SLACK_WEBHOOK=
while true; do python3 checkall.py; sleep 60; done
```