Skip to content

zurabarata/burgeramt-appointments-websockets

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bürgeramt appointment finder

This server looks for Bürgeramt appointment every few seconds, and broadcasts the results via websockets. This is the code behind All About Berlin's Bürgeramt appointment finder

Setup

Standalone

  1. Set the required environment variables:

    export [email protected]
    export BOOKING_TOOL_ID=johnsmith-dev
    
  2. Run the appointment booking tool

    pip install -r requirements.txt
    python3 appointments.py
    

The tool outputs the appointments it finds and the errors to the console, and broadcasts them with websockets.

Docker

A Dockerfile is supplied with the repository.

Notes

The polling rate is limited to 180 seconds (3 minutes), as required by the Berlin.de IKT-ZMS team ([email protected]).

About

Fetch Bürgeramt appointments and broadcast them via websockets

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 97.3%
  • Dockerfile 2.7%