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.
 
  • {{ getFullDate("Aug 25 2014 11:08 PM GMT") }}
  • {{ getFullDate("Jun 09 2016 08:06 PM GMT") }}
  • 2,053
  • 1,253
  • 56