Betting Entertainment Tools

Data Adapter

Overview

The Data Adapter is a component designed to facilitate the retrieval and management of data for a widget within a web application.
You can find out more about the Data Adapter in the here.
More about types can be found here

List of methods available to Virtual stadium are listed below.

Methods

# betShare onRequest(requestName, args, callback)

Request made to get users bet tickets that he can share in chat with widget.

Parameters
Name Type Description
requestName 'virtualStadium.betShare'

Request name.

args BetShareRequest Adapter.Types.VirtualStadium.BetShareRequest

Widget DOM element or selector.

callback OnRequestCallback Adapter.Types.CommonAdapterTypes.OnRequestCallback

Widget name.

# matchEventMarkets onRequest(requestName, args, callback)

Request made to get market suggestion that will be shown in Rapid bet component when match event happens.

Parameters
Name Type Description
requestName 'virtualStadium.matchEventMarkets'

Method name.

args Adapter.Types.VirtualStadium.MatchEventMarketRequest

Widget DOM element or selector.

callback OnRequestCallback Adapter.Types.CommonAdapterTypes.OnRequestCallback

Widget name.