helious/seat-tracking-api

There is no license information available for the latest version (5.0.1) of this package.

5.0.1 2024-02-06 02:20 UTC

This package is auto-updated.

Last update: 2024-04-29 07:20:05 UTC


README

api route extension for SeAT and that creates 2 api's for tracking oprhans (characters in a corporation but not registed on SeAT) and afk (characters that not logged in for ATLEAST 3 months)

Installation

You can install the package via composer:

SeAT 4: composer require helious/seat-tracking-api:^4.*
SeAT 5: composer require helious/seat-tracking-api:^5.*

Docker

SeAT 4: SEAT_PLUGINS=helious/seat-tracking-api:^4.*
SeAT 5: SEAT_PLUGINS=helious/seat-tracking-api:^5.*

Example

/api/v2/tracking/orphans returns JSON

[
    {
        "name": "EXAMPLE 1",
        "ship": "Retriever",
        "location": "X-9ZZR - Mustang Ranch"
    },
    {
        "name": "EXAMPLE 2",
        "ship": "Retriever",
        "location": "X-9ZZR - Mustang Ranch"
    },
    {
        "name": "EXAMPLE 3",
        "ship": "Retriever",
        "location": "X-9ZZR - Mustang Ranch"
    },
    ...
]

/api/v2/tracking/afk returns JSON

[
    {
        "name": "EXAMPLE 1",
        "last_login": "2021-09-26 04:41:13",
        "ship": "Retriever",
        "location": "R1O-GN - Z E N S T A R",
        "afk_time": "5 months 3 days 2 hours 9 minutes"
    },
    {
        "name": "EXAMPLE 2",
        "last_login": "2021-09-26 04:41:13",
        "ship": "Retriever",
        "location": "R1O-GN - Z E N S T A R",
        "afk_time": "5 months 3 days 2 hours 9 minutes"
    },
    {
        "name": "EXAMPLE 3",
        "last_login": "2021-09-26 04:41:13",
        "ship": "Retriever",
        "location": "R1O-GN - Z E N S T A R",
        "afk_time": "5 months 3 days 2 hours 9 minutes"
    },
    ...
]

Changelog

Please see CHANGELOG for more information what has changed recently.

License

The MIT License (MIT). Please see License File for more information.