Open Weather API challenge is not working with getCurrentPosition

Open Weather API challenge is not working with getCurrentPosition
0

#1

Looks like google put the ban hammer on getCurrentPosition with an HTTP request. It no longer works unless done over a secure connection.

WeatherAPI only works over an HTTP request unless you pay money to get it through a secure connection.

So what gives? Should I just not use getCurrentPosition and put in a static location? Seems like that really defeats the point of this challenge.

Any ideas on how to get locations that work through HTTP?


#2

There are other weather APIs, served over https, that provide you with some number of free calls. Apixu allows 5k calls per month with out any fee. Should be more then enough for development + some bragging in front of friends :wink:


#3

Ah sweet thanks for that! I appreciate it :smiley:


#4

Wow I’m not sure why they don’t recommend this one instead. Such a better api! Much more verbose in data too :smiley:


#5

Yup. I guess all the efforts go into FCC beta now :wink: