Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API key not accepted #202

Open
peastman opened this issue Aug 29, 2022 · 6 comments
Open

API key not accepted #202

peastman opened this issue Aug 29, 2022 · 6 comments

Comments

@peastman
Copy link

I registered for a free API key with OpenWeather and entered it into the app. When I try to refresh the forecast a message briefly appears, "The API key was not accepted." It has been nearly a day since I registered, so the key should be active by now. Possibly this is related to #201?

@woheller69
Copy link
Contributor

my latest version of RadarWeather supports OneCall API 3.0

https://f-droid.org/de/packages/org.woheller69.weather/

But besides the free subscription you also need to subscribe to OneCallAPI 3.0
If you set the limit to 1000 calls per day it is free but will still require credit card data...

@peastman
Copy link
Author

peastman commented Sep 5, 2022

What about using Open-Meteo in place of OpenWeather? It's completely free for open source applications, no API key required.

@woheller69
Copy link
Contributor

Maybe open-meteo could offer a compatible API?
open-meteo/open-meteo#116

@ownchoice
Copy link

Same here, I have waited a whole week already.

GET request works fine with:

https://api.openweathermap.org/data/2.5/weather?id=524901&appid=my_api_key_here

@woheller69
Copy link
Contributor

woheller69 commented Oct 25, 2022

.../weather... API is not sufficient.
You need:

https://api.openweathermap.org/data/3.0/onecall?lat={lat}&lon={lon}&exclude={part}&appid=[{API key}](https://home.openweathermap.org/api_keys)

And you need RadarWeather, PrivacyFriendlyWeather from which I derived my app a few years ago only supports OneCall API 1.0 which is no longer available for new users

@woheller69
Copy link
Contributor

I built a similar app using open-meteo instead of OpenWeatherMap.
No API key needed. Maybe someone wants to try...

https://github.com/woheller69/omweather

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants