Get started

      WebSocket Endpoint
  
      wss://ets-client.ashva.app/triggers?token=TOKEN
             
       

ETS Client Websocket endpoints provides live triggers.

How to connect with ETS client

      
  Response example :
  {
   "method": "MANAGED",
   "data": {
      "pzoneCode": "AU-BUNBURY-TH",
      "amtoteCode": "AUC",
      "timezone": "Australia/Perth",
      "localDate": "20250520",
      "country": "AU",
      "eventType": "TH",
      "raceNo": "8",
      "postTime": "2025-05-20T18:15:00.000+08:00",
      "serverTime": "2025-05-20T13:31:32.052+05:30"
   }
 } 
 
                  
       

To get triggers you need to make a websocket connection to the following url :

wss://ets-client.ashva.app/triggers?token=TOKEN

Sample source code for ETS client is available on GitHub


STRUCTURE


Trigger Structure

Field Type Description
method String -
data Struct Triggered Data Structure

Triggered Data Structure

Field Type Description
localDate Integer Race date in the format of yyyyMMdd
pzoneCode String Ashva unique track code available on Ashva Track Server
amtoteCode String Amtote code
timezone String Track timezone available on Ashva Track Server
country String Province / Country
eventType String Event/Race type [TH / HS / DO]
raceNo String Race number
postTime; String Race postTime in track timezone format
serverTime String Server time

Triggers Method Information