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

Migrating to another API provider #63

Closed
mwood77 opened this issue Feb 19, 2025 · 5 comments
Closed

Migrating to another API provider #63

mwood77 opened this issue Feb 19, 2025 · 5 comments
Labels
enhancement New feature or request

Comments

@mwood77
Copy link
Contributor

mwood77 commented Feb 19, 2025

Great project, and I'd love to use it. Unfortunately I'm located outside of the USA.

I've done some snooping around and found an aggregation API that's also open source and free for non-commercial use. At a cursory glance, this looks like something that might be a decent alternative to migrate to and open this project up for use outside of the USA.

We'll still have the challenge of replicating maps and such though.

https://open-meteo.com/en/docs


Absolutely willing to help out with this, should this be a viable integration.

@mwood77 mwood77 added the enhancement New feature or request label Feb 19, 2025
@mwood77
Copy link
Contributor Author

mwood77 commented Feb 20, 2025

So far, this is proving to be totally doable.

Here is the Current Conditions screen after some fast and dirty hacking:

Image Image Image

There are some caveats though. mostly because I haven't investigated it yet:


I'm hacking away at it over here: https://github.com/mwood77/ws4kp/pull/4

@netbymatt
Copy link
Owner

Thank you for the work on this! It's not the first time using a different source has been discussed.

From looking at the API you're using we'll loose radar and the text description of the forecast "Local Forecast" screens. Since I know there's a lot of nostalgia for this kind of weather report I'm pretty sure a certain set of users would not appreciate the loss.

Of course this is open source you're welcome make improvements as you see fit. But because of the nostalgia factor, I'd only consider a pull request on this repo if the option to switch sources was made available as one of the settings at the bottom of the page so the current experience can be preserved.

@mwood77
Copy link
Contributor Author

mwood77 commented Feb 21, 2025

Since I know there's a lot of nostalgia for this kind of weather report I'm pretty sure a certain set of users would not appreciate the loss.

That's why I'm also here, but I don't live in North America anymore. 😄

But because of the nostalgia factor, I'd only consider a pull request on this repo if the option to switch sources was made available as one of the settings at the bottom of the page so the current experience can be preserved.

I think that's totally fair, but I think it'll be too tightly coupled to either API to make that feasible without a herculean effort.

I'll continue over on my fork working to make some parts of it compatible with open-meteo, so there's an international capable version.

@netbymatt
Copy link
Owner

Thanks for your understanding! Good luck with the adaptation.

When you're at a spot where it's stable please put in a pull request here to add your project to readme.md.

@netbymatt
Copy link
Owner

Pull request with link to ws4kp-international has been merged.

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

No branches or pull requests

2 participants