BoxLang 🚀 A New JVM Dynamic Language Learn More...

Weather By IP

v1.1.0 Modules
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( 'Weather@Weather' ).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
Drop the module inside your modules directory and access it via getModel("Weather@Weather").

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("2014-08-25T23:04:52Z") }}
  • {{ getFullDate("2016-06-09T20:23:19Z") }}
  • 3,042
  • 2,402