This is a very basic PHP demo of the DarkSky API. It doesn't include a search form and only accepts geographical coordinates to return weather data. Use it for practicing conditional logic.
Create an account on the DarkSky Developer’s page and get an API key. Enter your API key in the placeholder provided in forecast.php.