jonnyynnoj / haxball-roomlist-parser
Parses the haxball roomlist
v3.0.2
2019-07-06 18:01 UTC
Requires
- php: >=5.5
- guzzlehttp/guzzle: ^6.3
- mdurrant/php-binary-reader: ^1.0.8
README
Parses the haxball roomlist
composer require jonnyynnoj/haxball-roomlist-parser
Usage
$parser = RoomlistParser\Parser::create(); $rooms = $parser->parse(); foreach ($rooms as $room) { echo $room->getName(); }
Output as JSON:
echo json_encode($rooms);