/api/cnd/event-tracker/get

Endpoint for fetching event data.

The /api/cnd/event-tracker/get endpoint is used for fetching event data such as release history.

Querying Event Tracker data

REQUEST ENDPOINT

GET https://my.liquidandgrit.com/api/cnd/event-tracker/get

REQUEST ARGUMENTS

Field
Type
Description

client_id (required)

string

Your client ID

api_key (required)

string

Your API key

filters[page]

integer

Result page number Default = 0

filters[limit]

integer

Number of rows to return Default = 200 Maximum value = 200

filters[date_range_published]

array

Filter on the date range published. Should be an array of two dates - the start and end Example: filters[date_range_published][0] = '2024-01-01 00:00:00' filters[date_range_published][1] = '2024-01-01 23:59:59'

filters[date_range_added]

array

Filter on the date range modified

filters[sort]

array

How to sort the data. Array with sort column and direction

Default: published_date

Sort Values:

  • publish_date

  • modified_date

Example:

filters[sort][0] = 'modified_date'

filters[sort][1] = 'desc'

CURL REQUEST EXAMPLE

curl --location --globoff 'https://my.liquidandgrit.com/api/cnd/event-tracker/get?client_id=your_client_id&api_key=your_api_key&filters[limit]=20&filters[date_range_modified][0]=2024-01-01%2000%3A00%3A00&filters[date_range_modified][1]=2024-01-20%2023%3A59%3A59&filters[sort][0]=modified_date&filters[sort][1]=desc'

EXAMPLE RESPONSE

{
    "success": true,
    "total": 1510699,
    "page_total": 1,
    "page_index": 0,
    "results": [
        {
            "id": "127011",
            "activity_id": "55371",
            "activity": "Secret Gold Mine - The Grand Mafia",
            "event_name": "",
            "game": "The Grand Mafia",
            "start": "2024-04-23 00:00:00",
            "end": "2024-04-26 00:00:00",
            "days": "4",
            "publish_date": {
                "date": "2024-04-23 22:15:23.000000",
                "timezone_type": 3,
                "timezone": "America/Los_Angeles"
            },
            "modified_date": {
                "date": "2024-04-23 22:15:23.000000",
                "timezone_type": 3,
                "timezone": "America/Los_Angeles"
            },
            "permalink": "https://my.liquidandgrit.com/secret-gold-mine-the-grand-mafia/gallery/secret-gold-mine-the-grand-mafia"
        }
    ]
}

Last updated