So, I've gotten to creating a weather skin. I found an API I like and have created an auth key (API key). However, it's just dawned upon me that, if I were to publically release this skin (which I do along with a pack of lots of other skins
), the auth key would be visible to anyone. If I start hitting the API call limits I do plan on requiring users to input they're on keys which they can obtain with a simple login on the API's dashboard (I'm aware that it'd be way better to just pay for a plan but I'm 16, dont have a job or bank account, and want to make quality rainmeter skins
).
So for now, I was wondering if there was a way I could hide my key? I already looked through the dashboard of the API im using and there doesnt seem to be a way I could do this from that end.
The API in question is: https://www.weatherapi.com/
This is their docs: https://www.weatherapi.com/docs
A request URL would look something like this
Code: Select all
https://api.weatherapi.com/v1/current.xml?key=AUTHKEY&q=QUERY
The query param has a number of options, but im using
auto:ip which automatically detects your location (it's accurate for the most part. or it is for me at least
).
A solution would be much appreciated!