zacs / ha-gtfs-rt

Real-time transit information for Home Assistant

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

API Key Authentication

thi-baut opened this issue · comments

Hi, I can't authenticate using an API key header, my GTFS provider requires the header to be "apikey" (vs "api_key"), I'm not sure what's the standard. Is there a workaround? The provider: https://developpeurs.stm.info/documentation/gtfsrtv2

Hi,
did you find a way to make it work?
I live in montreal too and i will love to have real time traffic in my home assistant.

Fork and remove the _ in this python file, I'm not using this anymore so not sure if it still works

I updated the code to support the STM, see #14

commented

Fixed in #14 -- thank you @thi-baut !