Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Replacers are used to generate the dynamic informations like event parts, number of points, participant names etc. Replacers During process of creation betting offers replacers are used in markets name and outcomes name during process of creation betting offerto generate final name. If market or outcome uses a replacer, it's final name is generated for specific betting offer, e.g. for market name "Who will win #nextPoint#. point" we use replacer instead of #nextPoint#  and that generates market "Who will win 3. point").

...

Replacer idReplacer nameFormatExampleDescritpion

#totalPoints#

Contains the number of points (e.g in basketball, volleyball) used for specific market

#selectedRound#

Number of round in competition
11#currentGame#integer
  • 1
  • 2
  • 5
Contains the identifier of current game in tennis
41#pointsHandicap#decimal
  • 4.5
  • -2.5
  • 3.5
The value of player's points handicap
42#pointsHandicapRev#decimal
  • -4.5
  • 2.5
  • -3.5
Reversed value of #pointsHandicap# replacer used to display next to default outcome name
16#objectParticipants#variable_text
  • Roger Federer, Novak Djokovic
  • Manchester United, Liverpool FC
  • Poland, Germany, Norway, Russia....
List of all participants connected to specific object (Season participants for season and event participants for event)

The list of all replacers can be found in the API resource: replacers.index

...