zacs / ha-gtfs-rt

Real-time transit information for Home Assistant
MIT License
68 stars 30 forks source link

API Key Authentication #8

Closed thi-baut closed 2 years ago

thi-baut commented 2 years ago

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

nips1900 commented 2 years ago

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.

thi-baut commented 2 years ago

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

thi-baut commented 2 years ago

I updated the code to support the STM, see https://github.com/zacs/ha-gtfs-rt/pull/14

nips1900 commented 2 years ago

Thank you so much!

On March 12, 2022 07:19:08 Thibaut @.***> wrote:

I updated the code to support the STM, see #14 — Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you commented.Message ID: @.***>

zacs commented 2 years ago

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