-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.py
24 lines (21 loc) · 1.05 KB
/
config.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
########################################################################################################################
# ASEAG
base_url = "http://ivu.aseag.de/interfaces/ura/instant_V1"
########################################################################################################################
# app logic
# fuzzy match score have to be above this threshold to count as close match
bus_stop_name_matching_threshold = 85
########################################################################################################################
# Mattermost
mattermost_url = ''
mattermost_token = ""
icon_url = 'https://www.aseag.de/fileadmin/user_upload/images/Icons/routes_btn.png'
bot_name = "BusBot"
# default bus stop used if no query is given
default_bus_stop = "Bushof"
# number of matches presented to user if no close match is found
num_stop_matches = 3
# number of bus arrival predictions shown to the user
num_predictions = 10
# dictionary containing common errors and corrections to improve user experience
common_errors = {"hbf": "hauptbahnhof"}