[go: up one dir, main page]

Skip to content
This repository has been archived by the owner on Mar 4, 2022. It is now read-only.

Simple, independent method of creating, and displaying VATSIM statistics.

License

Notifications You must be signed in to change notification settings

KiloSierraCharlie/VATSIM-Statistics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VATSIM Statistics

This is a simple, independent VATSIM statistics system. The system makes use of the VATSIM Data Handler OOP class, and stores statistics in .json files.

Requirements

  • VATSIM Data Handler (V1.2)
  • file_get_contents
  • CRON Accessibility

How to use

You may want to edit the index.php to better suit your design of website. If you're familiar with PHP, feel free to have a play with the loop, although make sure you're familiar with how the data is structured.

Make sure you set the fetch.php to run every minute (* * * * *), in order to gather data.

Data structure

{
  "1298134": {
    "cid": "1298134",
    "realname": "Kieran Samuel Cross",
    "accountedTime": 123456789,
    "positions": {
      "LCRA_TWR": [
        {
          "logon_time": 1523561744,
          "logoff_time": 1523563398
        },
        {
          "logon_time": 1523564118,
          "logoff_time": 1523565778
        }
      ],
      "LCRA_ATIS": [
        {
          "logon_time": 1523561744,
          "logoff_time": 1523563398
        }
      ]
    }
  }
}

About

Simple, independent method of creating, and displaying VATSIM statistics.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages