Skip to main content

Finds appointments at the Berlin Bürgeramt, broadcasts them via websockets

Project description

Bürgeramt appointment finder

This server looks for Bürgeramt appointment every few seconds. You can make it look for any kind of appointment.

This is the code behind All About Berlin's Bürgeramt appointment finder.

If this tool helped you, make a donation. Building things for Berliners is my full time job.

Setup

1. Install the script

Run this command in your terminal:

# It might be called 'pip3' on your computer
pip install berlin-appointment-finder

You need Python 3 on your computer. If you have macOS or Linux, you already have it. If you have Windows, you're on your own.

2. Find the appointment type you need

Pick a service from the list of services on Berlin.de, and copy the URL. For example, https://service.berlin.de/dienstleistung/120686/ for the Anmeldung.

3. Run the script

Run this command and follow the instructions on your screen:

appointments

The script will check Berlin.de every 3 minutes. When it finds appointments, it lists them. Just keep an eye on the terminal.

Instructions for nerds

This script can be configured with command line arguments or environment variables.

Type appointments --help to see available command line arguments.

These are the available environment variables:

```bash
BOOKING_TOOL_EMAIL=your@email.com
BOOKING_TOOL_ID=johnsmith-dev
BOOKING_TOOL_URL=https://service.berlin.de/dienstleistung/120686/
```

The script broadcasts broadcasts the appointments it finds with websockets. By default, it broadcasts them on port 80.

A Dockerfile is supplied in this repo. It's the same one I use on All About Berlin.

The polling rate is limited to 180 seconds (3 minutes), as required by the Berlin.de IKT-ZMS team (ikt-zms@seninnds.berlin.de).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

berlin-appointment-finder-1.0.1.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file berlin-appointment-finder-1.0.1.tar.gz.

File metadata

File hashes

Hashes for berlin-appointment-finder-1.0.1.tar.gz
Algorithm Hash digest
SHA256 54bd346f5c34d361f4fd4d5c89e0eba0b3b39b9b719684e8370336bc1982dc44
MD5 0cc304ee7c3855c19f7e9c3221fc8543
BLAKE2b-256 fa8b389575ffa98f4d837232ecb74c2c15a9c005721fb26f8ffb499fb41036a5

See more details on using hashes here.

File details

Details for the file berlin_appointment_finder-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for berlin_appointment_finder-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2865574cf0f825c85680a5dba1720c533f0165a397270b96822be8394c102219
MD5 4701e0334cb1fdb7974ab7784ea4e474
BLAKE2b-256 65cd76fce8ac6eadefe48e27453e397b624dd9178c38c0c64edee40261f88d7d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page