API Documentation

Using our API needs 2 'GET' parameters to respond with the weather data.

Parameter Name Parameter Description
Location The location you want to query.
Degree Type Use "C" for returning the weather temperature in Celsius or use "F" to return it in Fahrenheit
An example would be: Link
{
	"LocationName":"New York, NY",
	"CurrentData":{
		"temperature":"4",
		"skyText":"Rain",
		"humidity":"92",
		"windText":"22 km/hr E"
	}
}
Note: The function is ouputting JSON Data

Example of parsing with PHP
<?php
$file = file_get_contents("http://yourdomain.com/api.php?location=New+York&degree=C");
$data = json_decode($file);
print_r($data);
?>

Website Info Developers
Terms of use

Script created by Fabian - My portoolio

API Documentation
Privacy Policy @grohsfabian API Example
Admin