Search Suggest

Tacking location by using IP adrress

12 min read











Geo weather, and image locator










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.














© 2015 Anthony Gallina











Item Reviewed: Tacking location by using IP adrress Description: Rating: 4.7 Reviewed By:

Post a Comment

Blog Archive / Click to See All Posts

Everyone Needs Everything!