
This api gets the weather by IP location
IP and city:
details
Weather:
Temperature converted to fahrenheit
This is a proof of concept design. I put this together to complete a project from
code boot camp.
This utilizes JSON AJAX a api, and javascript, to get weather and pictures from your IP location. Also random images on the bottom image from the CSS (.image-bg-fixed-height). That loads from lorempixel.com
Why use IP
Using the ip address
When you use the ip address you will more than likely just get the ip of your service provider. I know. I was having trouble with cross browser issues using the geo feature of html5. Although that is another method that could be used to do this. This a good start for helping one use this api in a page.