Skip to content

Commit 524f319

Browse files
committed
refactor(feeds)!: region-first credential env-var names
Aligns credential env-var names with the region-first feed ids (e.g. OHGO_API_KEY -> US_OH_OHGO_API_KEY, MOBILITHEK_BAYERN_SUBSCRIPTION_ID -> DE_BY_MOBILITHEK_SUBSCRIPTION_ID). Shared MOBILITHEK_CERT/KEY and already-region-first keys (AT_ASFINAG_*, EE_TARKTEE_*, NO_VEGVESEN_*) unchanged. BREAKING CHANGE: credential env-var names renamed; the single deployment's vault secret keys are renamed by hand to match.
1 parent d0b6353 commit 524f319

18 files changed

Lines changed: 241 additions & 241 deletions

File tree

.env.example

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ OPENCONDITIONS_FEEDS_REMOTE_ENABLED=
6060
# Buenos Aires road closures (cortes)
6161
# BA transport API registration: https://api-transporte.buenosaires.gob.ar/registro
6262
# CC-BY-2.5-AR (commercial OK).
63-
BA_CLIENT_ID=
64-
BA_CLIENT_SECRET=
63+
AR_BA_CLIENT_ID=
64+
AR_BA_CLIENT_SECRET=
6565

6666
# ASFINAG events (Austria)
6767
# ASFINAG content portal: https://contentportal.asfinag.at/
@@ -72,99 +72,99 @@ AT_ASFINAG_PASSWORD=
7272
# Live Traffic NSW (New South Wales)
7373
# Register at Transport NSW Open Data: https://opendata.transport.nsw.gov.au/data/user/register
7474
# CC-BY-4.0; attribution "Transport for NSW".
75-
NSW_TRANSPORT_API_KEY=
75+
AU_NSW_LIVETRAFFIC_API_KEY=
7676

7777
# QLDTraffic (Queensland)
7878
# QLDTraffic: https://www.qldtraffic.qld.gov.au/
7979
# Optional — the bundled public key is shared + rate-limited (100 req/min). Set your own to avoid 429s.
80-
QLD_TRAFFIC_API_KEY=
80+
AU_QLD_TRAFFIC_API_KEY=
8181

8282
# LVZ.NRW (Nordrhein-Westfalen) via Mobilithek
8383
# Mobilithek registration: https://mobilithek.info/registration-request
8484
# This ONE certificate authenticates every German region feed — set it once, then add each region's subscription id. (The NRW state network is published under 'LVZ.NRW', not 'Straßen.NRW'.)
8585
MOBILITHEK_CERT=
8686
MOBILITHEK_KEY=
87-
MOBILITHEK_NRW_SUBSCRIPTION_ID=
87+
DE_NW_VERKEHR_SUBSCRIPTION_ID=
8888

8989
# NRW municipalities (Düsseldorf, Köln, Kreis Unna) via Mobilithek
9090
# Mobilithek registration: https://mobilithek.info/registration-request
9191
# This ONE certificate authenticates every German region feed — set it once, then add each region's subscription id. (The NRW state network is published under 'LVZ.NRW', not 'Straßen.NRW'.)
92-
MOBILITHEK_NRW_KOMMUNAL_SUBSCRIPTION_ID=
92+
DE_NW_MOBILITHEK_KOMMUNAL_SUBSCRIPTION_ID=
9393

9494
# NRW.Mobidrom bundled roadworks via Mobilithek
9595
# Mobilithek registration: https://mobilithek.info/registration-request
9696
# This ONE certificate authenticates every German region feed — set it once, then add each region's subscription id. (The NRW state network is published under 'LVZ.NRW', not 'Straßen.NRW'.)
97-
MOBILITHEK_NRW_MOBIDROM_SUBSCRIPTION_ID=
97+
DE_NW_MOBILITHEK_MOBIDROM_SUBSCRIPTION_ID=
9898

9999
# Bayern via Mobilithek
100100
# Mobilithek registration: https://mobilithek.info/registration-request
101101
# This ONE certificate authenticates every German region feed — set it once, then add each region's subscription id. (The NRW state network is published under 'LVZ.NRW', not 'Straßen.NRW'.)
102-
MOBILITHEK_BAYERN_SUBSCRIPTION_ID=
102+
DE_BY_MOBILITHEK_SUBSCRIPTION_ID=
103103

104104
# Baden-Württemberg via Mobilithek
105105
# Mobilithek registration: https://mobilithek.info/registration-request
106106
# This ONE certificate authenticates every German region feed — set it once, then add each region's subscription id. (The NRW state network is published under 'LVZ.NRW', not 'Straßen.NRW'.)
107-
MOBILITHEK_BW_SUBSCRIPTION_ID=
107+
DE_BW_MOBILITHEK_SUBSCRIPTION_ID=
108108

109109
# Berlin via Mobilithek
110110
# Mobilithek registration: https://mobilithek.info/registration-request
111111
# This ONE certificate authenticates every German region feed — set it once, then add each region's subscription id. (The NRW state network is published under 'LVZ.NRW', not 'Straßen.NRW'.)
112-
MOBILITHEK_BERLIN_SUBSCRIPTION_ID=
112+
DE_BE_MOBILITHEK_SUBSCRIPTION_ID=
113113

114114
# Brandenburg via Mobilithek
115115
# Mobilithek registration: https://mobilithek.info/registration-request
116116
# This ONE certificate authenticates every German region feed — set it once, then add each region's subscription id. (The NRW state network is published under 'LVZ.NRW', not 'Straßen.NRW'.)
117-
MOBILITHEK_BRANDENBURG_SUBSCRIPTION_ID=
117+
DE_BB_MOBILITHEK_SUBSCRIPTION_ID=
118118

119119
# Bremen via Mobilithek
120120
# Mobilithek registration: https://mobilithek.info/registration-request
121121
# This ONE certificate authenticates every German region feed — set it once, then add each region's subscription id. (The NRW state network is published under 'LVZ.NRW', not 'Straßen.NRW'.)
122-
MOBILITHEK_BREMEN_SUBSCRIPTION_ID=
122+
DE_HB_MOBILITHEK_SUBSCRIPTION_ID=
123123

124124
# Hamburg via Mobilithek
125125
# Mobilithek registration: https://mobilithek.info/registration-request
126126
# This ONE certificate authenticates every German region feed — set it once, then add each region's subscription id. (The NRW state network is published under 'LVZ.NRW', not 'Straßen.NRW'.)
127-
MOBILITHEK_HAMBURG_SUBSCRIPTION_ID=
127+
DE_HH_MOBILITHEK_SUBSCRIPTION_ID=
128128

129129
# Hessen via Mobilithek
130130
# Mobilithek registration: https://mobilithek.info/registration-request
131131
# This ONE certificate authenticates every German region feed — set it once, then add each region's subscription id. (The NRW state network is published under 'LVZ.NRW', not 'Straßen.NRW'.)
132-
MOBILITHEK_HESSEN_SUBSCRIPTION_ID=
132+
DE_HE_MOBILITHEK_SUBSCRIPTION_ID=
133133

134134
# Mecklenburg-Vorpommern via Mobilithek
135135
# Mobilithek registration: https://mobilithek.info/registration-request
136136
# This ONE certificate authenticates every German region feed — set it once, then add each region's subscription id. (The NRW state network is published under 'LVZ.NRW', not 'Straßen.NRW'.)
137-
MOBILITHEK_MV_SUBSCRIPTION_ID=
137+
DE_MV_MOBILITHEK_SUBSCRIPTION_ID=
138138

139139
# Niedersachsen via Mobilithek
140140
# Mobilithek registration: https://mobilithek.info/registration-request
141141
# This ONE certificate authenticates every German region feed — set it once, then add each region's subscription id. (The NRW state network is published under 'LVZ.NRW', not 'Straßen.NRW'.)
142-
MOBILITHEK_NIEDERSACHSEN_SUBSCRIPTION_ID=
142+
DE_NI_MOBILITHEK_SUBSCRIPTION_ID=
143143

144144
# Sachsen via Mobilithek
145145
# Mobilithek registration: https://mobilithek.info/registration-request
146146
# This ONE certificate authenticates every German region feed — set it once, then add each region's subscription id. (The NRW state network is published under 'LVZ.NRW', not 'Straßen.NRW'.)
147-
MOBILITHEK_SACHSEN_SUBSCRIPTION_ID=
147+
DE_SN_MOBILITHEK_SUBSCRIPTION_ID=
148148

149149
# Sachsen-Anhalt via Mobilithek
150150
# Mobilithek registration: https://mobilithek.info/registration-request
151151
# This ONE certificate authenticates every German region feed — set it once, then add each region's subscription id. (The NRW state network is published under 'LVZ.NRW', not 'Straßen.NRW'.)
152-
MOBILITHEK_SACHSEN_ANHALT_SUBSCRIPTION_ID=
152+
DE_ST_MOBILITHEK_SUBSCRIPTION_ID=
153153

154154
# Schleswig-Holstein via Mobilithek
155155
# Mobilithek registration: https://mobilithek.info/registration-request
156156
# This ONE certificate authenticates every German region feed — set it once, then add each region's subscription id. (The NRW state network is published under 'LVZ.NRW', not 'Straßen.NRW'.)
157-
MOBILITHEK_SH_SUBSCRIPTION_ID=
157+
DE_SH_MOBILITHEK_SUBSCRIPTION_ID=
158158

159159
# Thüringen via Mobilithek
160160
# Mobilithek registration: https://mobilithek.info/registration-request
161161
# This ONE certificate authenticates every German region feed — set it once, then add each region's subscription id. (The NRW state network is published under 'LVZ.NRW', not 'Straßen.NRW'.)
162-
MOBILITHEK_THUERINGEN_SUBSCRIPTION_ID=
162+
DE_TH_MOBILITHEK_SUBSCRIPTION_ID=
163163

164164
# Vejdirektoratet (Denmark)
165165
# Danish data exchanger — dataset 416: https://du-portal-ui.dataudveksler.app.vd.dk/data/416/overview
166166
# CC-BY-4.0; attribution "Vejdirektoratet." Access is via a service account, not a plain API key — confirm from the dataset page whether its credential is a header/query token or an OAuth2 client-credentials pair.
167-
DK_VD_API_KEY=
167+
DK_VEJDIREKTORATET_API_KEY=
168168

169169
# Tark Tee (Estonia)
170170
# Register at Tark Tee: https://tarktee.transpordiamet.ee/#/en/datex-registration
@@ -174,13 +174,13 @@ EE_TARKTEE_API_KEY=
174174
# National Highways NTIS (England)
175175
# National Highways developer portal: https://developer.data.nationalhighways.co.uk/signin
176176
# OGL-UK-3.0; attribution "Contains National Highways data © Crown copyright and database right."
177-
NH_API_KEY=
177+
GB_NATIONALHIGHWAYS_API_KEY=
178178

179179
# Hrvatske ceste roadworks (Croatia)
180180
# Hrvatske ceste: https://www.hrvatske-ceste.hr/
181181
# Open licence (commercial OK); access is gated on the B2B account.
182-
HC_HR_USERNAME=
183-
HC_HR_PASSWORD=
182+
HR_HC_USERNAME=
183+
HR_HC_PASSWORD=
184184

185185
# Statens vegvesen (Norway)
186186
# Statens vegvesen — get DATEX access: https://www.vegvesen.no/en/fag/technology/open-data/a-selection-of-open-data/what-is-datex/get-access/
@@ -191,25 +191,25 @@ NO_VEGVESEN_PASSWORD=
191191
# Trafikverket (Sweden)
192192
# Sign up at Trafikverket: https://data.trafikverket.se/oauth2/Account/register
193193
# CC0 — no restrictions. API endpoint: api.trafikinfo.trafikverket.se/v2/data.json (the bare host has no web page).
194-
TRAFIKVERKET_API_KEY=
194+
SE_TRAFIKVERKET_API_KEY=
195195

196196
# LTA DataMall Traffic Incidents (Singapore)
197197
# Request LTA API access: https://datamall.lta.gov.sg/content/datamall/en/request-for-api.html
198198
# Singapore ODL (commercial OK); attribution to the Land Transport Authority.
199-
LTA_ACCOUNT_KEY=
199+
SG_LTA_ACCOUNT_KEY=
200200

201201
# NAP Slovenia (promet.si)
202202
# Register at NAP Slovenia: https://www.nap.si/en/registration
203203
# CC-BY-SA (ShareAlike). The B2B host (b2b.ncup.si) is credential-gated; the NAP account is sent as HTTP Basic — confirm the exact scheme when granted.
204-
NAP_SI_USERNAME=
205-
NAP_SI_PASSWORD=
204+
SI_NAP_USERNAME=
205+
SI_NAP_PASSWORD=
206206

207207
# 511NY (New York)
208208
# Create a 511NY account: https://511ny.org/my511/register
209209
# Attribution required: "Powered by 511NY".
210-
NY_511_API_KEY=
210+
US_NY_511_API_KEY=
211211

212212
# OHGO travel delays (Ohio)
213213
# OHGO developer registration: https://ohgo.com/developer
214214
# Free key. Data is U.S. government public domain.
215-
OHGO_API_KEY=
215+
US_OH_OHGO_API_KEY=

0 commit comments

Comments
 (0)