PHP code example of hashbang / wunderground

1. Go to this page and download the library: Download hashbang/wunderground library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

hashbang / wunderground example snippets


		$w = new Wunderground();
	$w->get_forecast_data();
	print_r($w->get_forecast_steps(time(), strtotime('+2 days'), 60*60*24));