ESA Swipein Widget

To integrate the ESA Swipein Widget, you’ll first have to have your AM enable the full ESA games list for you. You’ll be able to retrieve a full embed code page using this game id → pw#pw-swipein.

Example of the request:

"api_login": "xxx", "api_password": "xxx", "method": "getGameDirect", "gameid": "pw#pw-swipein", "lang": "en", "play_for_fun": "0", "homeurl": "https://urltoyourpage.com", "currency": "EUR", "user_username": "xxx", "user_password": "xxx"

 

The flow looks something like this:
Send a getGameDirect request for a sportsbook game, then send a getGameDirect request for the “swipein” game(request above). After recieving all the needed embed code, set up your sportsbook as usual and add the script code you recieve from the “swipein” getGameDirect request into your page.