Termin (eng. appointment) is essential in Germany, especially in Berlin. Sometimes it is tough to get a termin in public institutions and this bot is a way to automate termin checks and send Telegram notifications, if free termin was found. The code could be also considered as a template for subsequent development. The principle of bot operation is to refresh a webpage with needed appointments periodically [TERMIN_URL] and to recognize the change on it. E.g., the page always contains the phrase "No free appointments" [NO_TERMIN_FOUND_STRING]. Then some free appointments are added to the system, and the phrase "No free appointments" disappears. There is a new phrase (e.g., "List of free appointments" [TERMIN_FOUND_STRING]) instead of the old one. Bot recognizes the change on the webpage and sends Telegram notifications about free appointments.
Features
- Get notifications about free appointments in public institutions.
- After editing the properties file you can build this java program with Maven or use released version
- Run with Docker
- Deploy on Heroku
- To first use the program, you must create a properties file for termin-bot
- The code could be also considered as a template for subsequent development