Setup Stake/Stake.us
Stake/Stake.us BetSync Integration Guide
Requirements
Stake/Stake.us Wagering Sheet showing Current/Previous Month with the correct format
Google API with Google Sheets API functionality
Correct Google Sheet Format
Setting Up Your Google Sheet
You should see the following format in cells A1-G1. If the cells are not in this format, it will not work. You can recreate this format if your sheet is not like this by linking the data to another sheet.

Publishing the Sheet to a JSON Format
Publishing the sheet to be a useable format for the BetSync instance is super simple:
Click on File > Share > Publish To Web
In the screen that appears, publish the entire document
Click Close after completing this step
After this, take note of the URL of your sheet. For our example, the URL is: https://docs.google.com/spreadsheets/d/1raViVl2SzFthrKIsxT41EagfaDC0Wn8mwAzUmT1m3at/
The important part is: 1raViVl2SzFthrKIsxT41EagfaDC0Wn8mwAzUmT1m3at
- this is your sheet's ID.
We will be using this ID as the example for the rest of this documentation.

Creating a Google API Key
To create a Google API key:
Go to the Google Developer Console (requires a Google Account)
After logging in, navigate to Credentials in the left sidebar
Click Create Credentials > API Key
This will create the Google API Key that you will need to allow BetSync to access your wagering data.
Recommended: Restrict this API key to your BetSync Instance Domain for security.

After creating your API key, you need to assign it features:
Click on Library in the left side menu
Search for Google Sheets API in the "Search for APIs & Services" menu
On the API page, click Enable to enable the Google Sheets API


Creating Stake/Stake.us Platform in BetSync
Head to your admin panel in your BetSync instance
Go to Modules > Wagering
Click on Add Platform
Select Stake.com or Stake.us, which will bring up the configuration menu

Populate the fields with this information:
If your Stake.com/Stake.us sheet has both Current Month and Previous Month, you will use the same ID for both fields
This is what it'll look like when you complete this step:
After adding the Platform, you can verify you've done it correctly by going to the Statistics Panel for Stake/Stake.us - it should display your wagerers.
Combining Stake.com/Stake.US leaderboards
Support
If you need any help or have any questions while setting up a Stake.com/Stake.us leaderboard feel free to create a ticket at our Support Portal
Last updated