Skip to content

DannyCork/ForecastCFML

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ForecastCFML

ForecastCFML is a wrapper for the Forecast.io v2 api. Forecast.io claims to be "The easiest, most advanced, weather API on the web". https://developer.forecast.io/

Usage

You need an account with Forecast.io. In the config.cfc, replace YOUR_APIKEY_GOES_HERE with your valid api key along with your latitude and longitude You may find your citys' coordinates by going to LatLong.net.

To use, call the getWeather() function which takes four arguments:

Output

After plugging in with your parameters, code will generate this.

this.

Scripts

css

js

Version

1.0 Written by DannyD

2.0 Written by damiththa

License

Apache

Testing

Tested against Railo 4. Should work with ColdFusion (might have to import the https cert for https://api.forecast.io/forecast).

About

a cfml wrapper for Forecast.io api

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages