Skip to content

Lunary/weather

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#PHP Weather Script 1.0

YF's weather script is a smart, simple and customizable script that show wunderground.com weather in your website of your city

Gleisdorf Wetter

---

version 1.0

Visit and follow


##Demo

See the demo here: http://wetter.gleisdorf.net/

##Usage

Just include the file hl.weather.php, then call the function to show it

include "include/hl.weather.php
echo show_weather(API, STATE, CITY, ARRAY_MONTH, DAYS, TYPE_DEGREE);

###Parameters

######API Get it free on http://api.wunderground.com/weather/api/

######STATE For example "IT", "FR", "ES" or similar

######CITY For example "Roma", "Paris", "Madrid"

######ARRAY_MONTH Is an array with the names of each month, example

$names_month = array("January", "February", "March", "April" ...

######DAYS Days to show, default is 3

######TYPE_DEGREE "f" for Fahrenheit, "c" for Celsius

About

Show weather (from wunderground.com) of your city with this simple and beautiful PHP script

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published