/
v3.0.11Get access

getRemainingSessionDuration

This JSON structure represents a Time Limit Tracking response, specifically used for Responsible Gaming or Session Management. It informs the client how much time a user has remaining before they hit their self-imposed or regulatory limits for various timeframes.

Request parameters:

The method works without parameters

Call example:

getRemainingSessionDuration()

Response examples:

{
  code: 0,
  rid: 2055380582,
  data: {
    result: 0,
    result_text: null,
    details: {
      RemainingDailyDuration: 155.41,
      RemainingWeeklyDuration: 870.38,
      RemainingMonthlyDuration: 12674.06
    }
  }
}

Response parameters:

NameDescriptionTypeValues
RemainingDailyDuration
The amount of time remaining for the current 24-hour period.number-
RemainingWeeklyDuration
The amount of time remaining for the current 7-day period.number-
RemainingMonthlyDuration
The amount of time remaining for the current 30-day (calendar month) period.number-