Current version: v0.1.0
VATTIX is a VATSIM statistic service, which provides a RESTful API to access the data. The data is collected from the VATSIM API and stored in a database. The API provides access to the data in a JSON format.
VATTIX is a RESTful API which provides access to the data in a JSON format. Currently the API is only available for internal use, but will be made public in the future.
The current features of VATTIX are:
- Collect data from the VATSIM API
- Store data in a database
- Provides a Lambda function to access the data
- Provides a Lambda function to generate a weekly report
- Provides a RESTful API to access the data
- Provides a RESTful API to access the weekly report
- Provides a web interface to access the data
- Provides a web interface to access the weekly report
- Provides a web interface to access the data and weekly report
VATTIX requires the following software to be installed:
- Python 3.10
- PIP
- AWS Lambda
- AWS DynamoDB
- AWS API Gateway
- Terraform
To install VATTIX, follow the steps below:
- Clone the repository
- Install the required packages with
pip install -r requirements.txt
- Navigate to the
terraform
directory - Make sure you have the AWS credentials configured including the
AWS_ACCESS_KEY_ID
andAWS_SECRET_ACCESS_KEY
- Make sure you have the AWS region configured including the
AWS_DEFAULT_REGION
- Change the
terraform.tfvars
file to your needs - Run
terraform init
- Run
terraform apply
The API provides the following endpoints:
This endpoint provides access to the statistics of the VATSIM network. The statistics are divided into the following categories:
This endpoint provides access to the statistics of the controllers on the VATSIM network. The statistics are divided into the following categories:
This endpoint provides access to the top 25 ATC positions on the VATSIM network. The statistics are divided into the following categories:
Category | Description |
---|---|
callsign |
The callsign of the ATC position. |
hours |
The amount of hours the ATC position has been online. |
percentage |
The percentage of the specified week the ATC position has been online. |
start |
The start date of the specified week. |
end |
The end date of the specified week. |
This endpoint provides access to the statistics of the ATC positions on the VATSIM network for the specified week.