Skip to content

Voziv/nfo-server-status

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NFO Server Status/Query Page Parser

NFO Server Status is a project designed to parse query pages on NFO servers so that you can add your own server statuses on your site or manipulate/track the data.

Installation

Install using Composer:

{
    "require": {
        "lrobert/nfo-server-status": "0.1.*"
    }
}

Note On Specifying Versions

The project is still in it's developmental stage, hence the major version number remaining at 0. The rules of semantic versioning state that changes to the minor number should not break backwards compatibility, however, during these early stages that cannot be guaranteed. But changes to the patch number will remain backwards compatible. As such it is recommended to specify version numbers where the minor number remains a constant. If in doubt, just use the version number specified in the example above.

Once the project reaches a stable 1.0.0, the regular rules of semantic versioning will come into play.

Usage

use lrobert\NFOServerStatus\Murmur\MurmurStatusService;

$murmurStatusService = new MurmurStatusService();

$status = $murmurStatusService->getStatus("example_identifier");

echo $status->getOnline(); // false since example_identifier does not exist

/**
  * See MurmurStatusModel, MurmurChannelModel, and MurmurClientModel on how you can get access to the data
  */

About

PHP Library for parsing the query pages on NFO servers

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages