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

Worldweatheronline suspending free API keys, need new backends #82

Open
3 of 5 tasks
schachmat opened this issue Mar 21, 2016 · 12 comments
Open
3 of 5 tasks

Worldweatheronline suspending free API keys, need new backends #82

schachmat opened this issue Mar 21, 2016 · 12 comments

Comments

@schachmat
Copy link
Owner

schachmat commented Mar 21, 2016

According to this post there will soon be no possibility for new users to get a free API key. Therefore wego needs at least one new backend. I don't have much time in the near future, so any help is greatly appreciated.

Here is a list of weather services which should be usable. I will update the list.

A service which does not require registration / an API key would be nice.

@pramodk-git
Copy link

A couple of alternatives:

https://developer.weatherunlocked.com/localweather/pricing

  • HTTP and HTTPS supported
  • JSON or XML

http://api.yourweather.co.uk/index.php?p=a

  • Looks like it is XML only
  • http only, AFAICT.
  • Could not find any documented usage limits

@schachmat
Copy link
Owner Author

thanks @pramodk-git, I added them to the list. weatherunlocked looks very promising, but for the new default I want a backend with no need for registration, so probably openweathermap.

@cVeqT2vkiSX5kJVJxcVmz7rKHKbu9M9FNixoPNC
Copy link
Contributor

As far as I can tell, openweathermap also requires registration to receive an API key.

I tried getting forecast.io running, but still have some issues with the frontend. The Forecast Slots are not working correctly atm.
=> camelinc@7318a3cf0304e6de99a1e606e8c00421e309fc4a

  • forecast.io
    • registration needed
    • https
    • json

@schachmat
Copy link
Owner Author

As a quick hint: You can use the json frontend for debugging. It will show the iface.Data struct. I could not try it yet, but I assume it's related to the iface.Cond.Time element.

@cVeqT2vkiSX5kJVJxcVmz7rKHKbu9M9FNixoPNC
Copy link
Contributor

that did quite help. The first working commit is camelinc@36123edb98291314ceb6378edbe04d8f56084494

probably needs some polishing and testing

@schachmat
Copy link
Owner Author

cool. Is it okay for you, if I pull your commits, squash them to a single one (for a cleaner history) and push them to my repo? You will still be the author of the commit, but I will probably have to do some fixup (you changed the import path).

@cVeqT2vkiSX5kJVJxcVmz7rKHKbu9M9FNixoPNC
Copy link
Contributor

Sure! Are you going to do the pull or should I open a unified pull request?

@schachmat
Copy link
Owner Author

I already started the pull and fixes, so there is no need to open a pull request.

@schachmat
Copy link
Owner Author

First forecast.io backend draft is up, refer to #83 for further status information and discussion.

@polyzen
Copy link

polyzen commented Dec 13, 2016

It would seem 2.0 no longer works with WWO's API (using a trial premium key). Appears to be the same issue as #81 (comment).

I'm trying to build a package for Arch Linux against the release (there is a Git package which works great). Perhaps it's time for a new release? :)

@schachmat
Copy link
Owner Author

Heyho @polyzen,

If you are able to, you are very welcome to help get a 2.1 release ready. Only the second step mentioned in #98 is missing, but I am writing my thesis currently so I don't have much time to think about a good solution for that.

@schachmat
Copy link
Owner Author

Thanks to @R11baka we now have a openweathermap.org backend! 🎉

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

No branches or pull requests

4 participants