FORGEBOX Enterprise 🚀 - Take your ColdFusion (CFML) Development to Modern Times! Learn More...

Weather By IP

v1.1.0 Public
8/25/2014

This is a ColdBox Module that will retrieve basic weather information for you based on your user's IP address using the API available at http://openweathermap.org/current

<cfset data = getModel( '[email protected]' ).getWeather()>

This code comes with no warranties, promises, or hot fudge sundaes.  It is known to the state of California to cause cancer.

Brad Wood
- http://www.codersrevolution.com

Dependencies (1)


Dev Dependencies (0)


Drop the module inside your modules directory and access it via getModel("[email protected]").

This module depends on geolocation-lookup-by-ip which will automatically be installed if you  use CommandBox to install this module.

 

$ box install weather-lookup-by-ip

No collaborators yet.
 
  • Aug 25 2014 11:04 PM
  • Jun 09 2016 08:23 PM
  • 1,953
  • 1,167
  • 56