-
Notifications
You must be signed in to change notification settings - Fork 7
Replies: 1 comment · 7 replies
-
|
Yes, absolutely! My apologies for the delayed response. You will find the API key defined as part of the |
Beta Was this translation helpful? Give feedback.
All reactions
-
|
I don't see any obvious error, so make sure the syntax of your API key is correct (lowercase letters and numbers). When you say it's not accepting your API key, what do you mean exactly? If the answer is that it doesn't load, you can turn debugging on by opening .../weather.widget.plus/contents/config/main.xml and changing
to
You can test the widget in the terminal by using the following command: Be sure to change the |
Beta Was this translation helpful? Give feedback.
All reactions
-
|
It loads but it gives me "N/A" as the icon. I've also posed the question to OpenWeatherMap support. It may be that my account is still considered a "free" account (One Call API 3.0) and the API is just getting rejected at OWM. |
Beta Was this translation helpful? Give feedback.
All reactions
-
|
N/A for the icon and hyphens for the temperature means that the widget did not load data from the internet properly. Weather Widget Plus does not use a paid API. Run the widget from the terminal with debugging on and then we can determine if the problem is with your API key itself or something else. You can also try to access the API through your browser to test if the problem is with your API key or the widget. The full URL for the current weather API call is https://api.openweathermap.org/data/2.5/weather?id=[#######]&units=metric&mode=xml&appid=[API KEY] id=[######] is the 6-7 digit number at the end of an OpenWeather URL. If the URL for Leicester is https://openweathermap.org/city/2644668, then the API call for Leicester is https://api.openweathermap.org/data/2.5/weather?id=2644668&units=metric&mode=xml&appid=[API KEY] An XML document should load. If it doesn't, then the issue is your API key, not the widget. |
Beta Was this translation helpful? Give feedback.
All reactions
-
|
My APIs do work if I use the URL call. Tried running your app with debug set and it appears it's waiting for authentication from me. qml: ***************** qml: ************************ qml: **************************** qml: ************ qml: *************** qml: ********************* qml: ***************** qml: ************************ qml: ************************* qml: ******************* qml: ********************* qml: ******************* qml: ********************* qml: **************************** |
Beta Was this translation helpful? Give feedback.
All reactions
-
|
wait, I didn't paste all of it... qml: ***************** qml: ************************ qml: **************************** qml: ************ qml: *************** qml: ********************* qml: ***************** qml: ************************ qml: ************************* qml: ******************* qml: ********************* qml: ******************* qml: ********************* qml: **************************** qml: ******************* qml: ********************* qml: ******************* qml: ********************* qml: ******************* qml: ********************* qml: ************************ qml: ***************************** qml: **************************** qml: ******************* qml: ********************* qml: ******************* qml: ********************* qml: **************************** qml: ******************* qml: ********************* qml: ************************* qml: ********************** qml: ******************************* |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
If we have an Open Weather Map account, it is possible to use our own API key?
Beta Was this translation helpful? Give feedback.
All reactions