-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathlauncher.py
31 lines (23 loc) · 1.19 KB
/
launcher.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
import os
from main import run_bot
if __name__ == '__main__':
# get user inputs
print(
"\nHello there!:)\nI'm the impfboosterbot. To be able to book a vaccination appointment for you, please help me out "
"with the necessary account details of your account at the Bayrisches Impfzentrum. Don't worry, I won't use it "
"for anything other than booking an appointment for you. I promise! Please make sure you type everything "
"correctly. To submit your input, press ENTER.\n")
# username
username = input("Username (e.g. [email protected]): ")
# password
password = input("Password: ")
# person_number
person_number = input(
"Please enter the number of the person in your account that you want to book an appointment for: ")
# earliest_date
earliest_date = input("Please enter the earliest date that works for you in the format 'YYYY-MM-DD': ")
# latest_date
latest_date = input("Please enter the latest date that works for you in the format 'YYYY-MM-DD': ")
print("Thank you. Let me get you an appointment...")
# start the bot
run_bot(username, password, person_number, earliest_date, latest_date, iscompiled=True)