ccaglayan / foxhole-php
Foxhole War API
Installs: 2
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/ccaglayan/foxhole-php
Requires
- php: >=5.4
- ext-curl: *
This package is auto-updated.
Last update: 2025-10-29 02:30:34 UTC
README
Foxhole game warapi
Composer require command
composer require ccaglayan/foxhole-php
Usage
It is fairly easy to use. I'll throw in an example.
use FoxHolePHP\Client; $client = new Client(); try{ $client->getWar(); // Get Active War Details $client->getMaps(); // Get Active Maps $client->getMapReport(MapName) //Get Selected Map War Detail $client->getStaticMapData(MapName) // Get Selected Map Static Data $client->getDynamicMapData(MapName) // Get Selected Map Dynamic Data }catch(\FoxHolePHP\FoxHoleException $e) { echo 'Error:'.$e->getMessage().'--'.$e->getCode(); exit; }
Contributing
Pull requests and issues are open!