/
v3.0.11Get access

processCasinoAiSystem

The method requests AI-generated casino recommendations for widgets displayed on the Main page or Casino page during the A/B test. It calls the internal AI recommendation system and returns personalized categories and games.

Request parameters:

Name
DescriptionTypeValuesDefault
commandName
AI command determining recommendation type.string"getRecommendations" / "getCasinoRecommendations"-
language
Language used for recommendation contentstring--
userId
logged-in user idstring--

Call example:

processCasinoAiSystem({
  commandName: 'getRecommendations',
  params: {
    lang: 'pt-br'
  }
})

Response examples:

{
  code: 0,
  rid: 1647710660,
  data: {
    result: 0,
    details: {
      user_id: '165264996',
      partner_id: '692',
      groups: [{
        group_id: 'AI_95',
        name: 'Jogos Populares',
        games: ['3300273', '420018912', '426639563', '420033218',
          '3001114', '400043064', '426639318', '555572038', '5000003',
          '500008676'
        ]
      }, {
        group_id: 'AI_51',
        name: 'Slot',
        games: ['3300273', '426639563', '420033218', '3001114',
          '500008675', '400043064', '426639318', '555572038', '5000003',
          '500008676'
        ]
      }, {
        group_id: 'AI_5031',
        name: 'Criado para o seu apetite de risco',
        games: ['420018912', '426639563', '420033218', '3001114',
          '426639318', '555572038', '3001122', '3001090', '426639421',
          '500011192'
        ]
      }]
    }
  }
}

Response parameters:

NameDescriptionTypeValues
user_id
Identifier of the user for whom recommendations were generatedstring-
partner_id
Partner identifierstring-
groups
List of recommendation categoriesarray-
└─
object
└─ group_id
Recommendation category identifierstring-
└─ name
Recommendation category namestring-
└─ games
List of recommended game IDs. array-