PHP code example of assura / ogame-helper
1. Go to this page and download the library: Download assura/ogame-helper 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/ */
assura / ogame-helper example snippets
use Assura\Ogame\Helper\BuildingHelper;
$building = $app['ogame.building']->getBuilding(BuildingHelper::BUILDING_TYPE_METAL_MINE, 20);
echo $building->getProduction();