Skip to content

jakubwaller/leipzigappointmentsbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Leipzig Appointments Bot

Tired of refreshing the page with available appointments at the Leipzig city office? The bot in this channel checks them for you and every minute sends available appointments.

@leipzig_appointments

trailer

Deployment

  • Create a file env.json
{
  "developer_chat_id": "<REPLACE WITH DEVELOPER CHAT ID>",
  "bot_token": "<REPLACE WITH BOT TOKEN>",
  "chat_id": "<REPLACE WITH CHAT ID>",
  "wsid": "<REPLACE WITH WSID>"
}

The wsid can be obtained here https://terminvereinbarung.leipzig.de/m/leipzig-ba/extern/calendar/?uid=b76cab25-49bd-44e3-950d-aab715881ea7

  • add to crontab
* * * * * cd ~/leipzigappointmentsbot && flock -n /tmp/leipzigappointmentsbot.lockfile python3 leipzigappointmentsbot.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages