weather icon indicating copy to clipboard operation
weather copied to clipboard

More weather providers

Open rocksdanister opened this issue 1 year ago • 8 comments

Currently supported Weather providers:

  • Qweather
  • Open-meteo
  • OpenWeatherMap

Weather client implementation is abstracted. More providers can be added by creating new client implementation.

The weather data is processed as detailed here.

Example showing new weather client implementation.

Community contributions are welcome.

rocksdanister avatar Oct 03 '23 13:10 rocksdanister

Does the abstraction count cases like if a specific weather API doesn't provide certain types of data? Think free OpenWeatherMap API for example.

itsWindows11 avatar Oct 03 '23 15:10 itsWindows11

It should return null then or better multiple providers can be combined into a single client implementation.

image

Most UI controls have null checks and will show placeholder but will need to recheck.

rocksdanister avatar Oct 03 '23 15:10 rocksdanister

in the weather graph you can put the most common weather of the day, like a summary of how the time is going to be

SurfaceSystems avatar Nov 05 '23 14:11 SurfaceSystems

Working on this, I got locations being pulled from open street map so far, copilot is super useful, I have only done unity C# so its been teaching me a lot about UWP. https://github.com/Gatorzgaming/weather image image image

Gatorzgaming avatar Jan 20 '24 17:01 Gatorzgaming

Hi,i am wondering if i can add a weather provider from chinese mainland to improve the user experience and solve some problem cause by network lag. the providers are like: https://lbs.amap.com/api/webservice/guide/api/weatherinfo https://seniverse.yuque.com/hyper_data/api_v3/intro

Livins1 avatar Feb 26 '24 12:02 Livins1

Depending on the data it collects and a few other factors, you are welcome to fork the project and try it out for yourself; if you get it working, send a pull request, and it will be assessed more closely than I would imagine. Disclaimer: I am not the repo owner; don't take this as fact.

Gatorzgaming avatar Feb 26 '24 13:02 Gatorzgaming

Pull requests are welcome.

If you need help or have doubts about how to program new weather provider try creating a discussion.

rocksdanister avatar Feb 26 '24 17:02 rocksdanister

Thanks for reply, i am making some progress. and if i need some help , i will let you know.

Livins1 avatar Mar 25 '24 09:03 Livins1