rki-covid-api
rki-covid-api copied to clipboard
Feature Request: Support http instead of https
First of all, great project.
I, and some other Smart Home guys would like to include the Corona statistics in our Smart Home, so we can see every day what are the latests stats. Unfortunatly the Smart Home Server only supports http, not https. Maybe you could also allow requests via http to the https://api.corona-zahlen.org/ endpoints? As the data is published by RKI for all, https isn't mandatory.
Best wishes, Hannes
Yes, please add http access.
Hey @Maruu23
What Smart Home Server are you using? I don't want to give up the redirect to https.
Maybe you can try running the server at your local machine. See this guide: https://github.com/marlon360/rki-covid-api#host-it-yourself
If your Smart Home Sever uses docker it is very easy to integrate it in the docker-compose.
We are using Loxone, a very common Smart Home System. Loxone is a SPS based system and is unfortunately not running in a docker container. A local server could be a solution, but setting up a local server only for running the API is too much effort. There are even more loxone users, that are interested in using your API (I asked in the forum) and all of them do then need to setup their own API. Maybe you could rethink your decision or provide an extra endpoint or parameter (GET or Header) to accept http connections.
Thank you in advance!