rocksdanister / weather

Windows native weather app powered by DirectX12 animations
https://rocksdanister.com/weather
MIT License
392 stars 20 forks source link

More weather providers #14

Open rocksdanister opened 9 months ago

rocksdanister commented 9 months ago

Currently supported Weather providers:

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.

itsWindows11 commented 9 months ago

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

rocksdanister commented 9 months ago

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.

SurfaceSystems commented 8 months ago

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

Gatorzgaming commented 5 months ago

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

Livins1 commented 4 months ago

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

Gatorzgaming commented 4 months ago

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.

rocksdanister commented 4 months ago

Pull requests are welcome.

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

Livins1 commented 3 months ago

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