A WeatherAPI class written in PHP that works with the openweathermap API
Extract the downloaded zip in your directory
<?php
#include file
use Sebcodes\WeatherAPI;
require_once 'WeatherAPI.php';
#set town/country
$weather = new WeatherAPI("Germany");
#get temperature
echo $weather->get()->temp;
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.