PHP code example of saidy / bmd-station-data-fetch
1. Go to this page and download the library: Download saidy/bmd-station-data-fetch 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/ */
saidy / bmd-station-data-fetch example snippets
use Saidy\BmdStationDataFetch\BmdDataFetch;
// Returns list of all station data by BMD
BmdDataFetch::getStationList();
// Returns an array of station data By Station code. Station code is available in BmdDataFetch::getStationList() -> code
BmdDataFetch::getStationData("41923")