hamvocke / spring-testing

A Spring Boot application with lots of test examples
https://www.martinfowler.com/articles/practical-test-pyramid.html
1.09k stars 430 forks source link

Not possible to get DarkSky Api key anymore #13

Closed jaalvarezvi closed 4 years ago

jaalvarezvi commented 4 years ago

From what I see, unfortunately, it is not possible to get an API Key from DarkSky anymore. They are no longer accepting new signups. Any idea of how can we fix this issue? Thanks!

hamvocke commented 4 years ago

Thanks for getting this on my radar! Sounds like DarkSky's acquisition made them shut down their API first and foremost. Bummer.

Ultimately, the example in this codebase isn't really tied to using DarkSky's API at all - it's just about consuming any API, DarkSky was just a neat real-world example.

I need some time to work through this to include a different API, write new contract tests, update readmes and blog posts and what not.

aayoubi commented 4 years ago

Maybe you can switch to something like https://jsonplaceholder.typicode.com?

psgg1981 commented 4 years ago

...or openweathermap.org ?

hamvocke commented 4 years ago

Sorry, this has taken me longer than it should have. I've just pushed some updates. The example code is now using openweathermap.org instead of darksky.net. Thanks @psgg1981 for the suggestion and thanks everyone else for getting this to my attention and helping figuring out a solution.