Your backend implementation ( 🪝 Handling Webhooks) can remain the same regardless of frontend implementation path, however, SharpSports offers 🔌 SDKs that are dependent on the frontend platform you are developing for.
SharpSports offers SDKs for the following platforms:
Each SDK includes a method for the necessary frontend implementation points. Follow the setup guide linked above for the relevant package.
Rather than methods, you can use the relevant API calls for linking an account on a web browser. SharpSports also offers a 🖥️ web browser extension SDK which offers more integration options for bettors. See the SDK Coverage section for more details.
- Use the 🔄 betSync Context API call or Method (if using a mobile SDK) to generate a 'context id' (
- Append the
cidto the relevant URL structure. You can then route the bettor to the url on whatever platform you'd like. We recommend a popup or full page redirect on web, and a webview on mobile.
This will take the bettor to the standard link account flow where they can choose their region and book before linking.
Use this structure if you'd like to host a button for each book / region option rather than having them select their choice in the SharpSports ui.
Make sure to filter by status=active to avoid sending bettors to an invalid link.
When directing users to the relevant url via a full page redirect, you'll want to use the
redirectURL parameter, to specify where they should be routed once the linking process has been completed in the SharpSports UI.
Use our pre-built package for a quick and easy integration.
SharpSports hosts the UI which enables linking and managing connected sportsbook accounts for your customers. Use the html snippet to the right to implement our booklink popup on a web browser.
Web Browser Modal Example (html)
<div id="SSLink" style="margin-left:25px;"></div> <script src="https://d388bvybj12fcd.cloudfront.net/button.js" token = "public_API_key" internalId = "your_internal_id" extensionAuthToken = "your_extension_auth_token" //optional if integrating the sharpsports browser extension buttonText='Link Sportsbook' padding='15px 32px' background-color='#4CAF50' border='none' color='white' text-align='center' text-decoration='none' display='inline-block' font-size='20px' border-radius='8px' font-family='Verdana, Geneva, sans-serif'> </script>
Updated 16 days ago