pass credentials to get TCL realtime data

This commit is contained in:
Frédéric Péters 2020-05-18 14:25:52 +02:00
parent 876687f548
commit 444b16fc1e
1 changed files with 1 additions and 1 deletions

2
debian/50gnm.py vendored
View File

@ -64,7 +64,7 @@ COMBO_PUBLIC_TEMPLATES.update({
JSON_CELL_TYPES = {
"velov": {
"url": "https://download.data.grandlyon.com/ws/rdata/jcd_jcdecaux.jcdvelov/all.json?field=gid&value=[gid]",
"url": "https://%(data_username)s:%(data_password)s@download.data.grandlyon.com/ws/rdata/jcd_jcdecaux.jcdvelov/all.json?field=gid&value=[gid]" % DATA_CREDENTIALS,
"name": u"Velov",
"cache_duration": 60,
"force_async": False,