Skip to content

A simple polling bot to check for available time slots on the termin.bremen.de website for registering apartments

Notifications You must be signed in to change notification settings

CHODDEVOPS/Polling-bot

Repository files navigation

Polling-bot

A simple polling bot to check for available time slots on the termin.bremen.de website for registering apartments

Broadcast and signup

make signup polls telegram for pending /start requests. make broadcast notifies all of the users about available slots.

To open local dev shell

make shell

How to use User repository

Make sure you have google credentials file in the root of the project named google.json.

from core.repository.firebase import UserRepository, UserFirebaseRepository
from core.config import settings

repo: UserRepository = UserFirebaseRepository(credentials=settings.firebase.credentials)
repo.create_user("1001")
repo.create_user("1002")
repo.create_user("1002")
for user_id in repo.get_list_of_users():
    print("user_id = ", user_id)
repo.drop_collection()

About

A simple polling bot to check for available time slots on the termin.bremen.de website for registering apartments

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published