A simple Golang and React hack project that saved me looking at multiple bookies and odds aggregators when line shopping.
If you simply want a punt, you can use this to find the best lines. Alternatively you could use a middle betting strategy which is why there is color guidance and emphasis on the Δ between handicaps.
The Server pulls odds from the-odds-api.com and the NZ TAB private API every 5 minutes if the client has pinged within the last minute. Client will keep pinging the server every minute whilst the react app is running.
- you create a environment file at
server/.env
with the contents:THE_ODDS_API_KEY="someKeyThatYouCopyPasteFromThere"
. - You're in NZ or Australia or the NZ TAB private API will block your requests.
- All Blacks win the tournament.
- cd server
- go build
- ./degen
- cd client
- npm install
- npm start
- visit localhost:8000
I didn't want to burn time deploying this remotely but it is trivial to access on mobile if you change the network address at the top of client/src/App.js
to your local network address.
At the top of client/src/App.js
there is a dict which indicates which bookmaker you have accounts with along with the betting page, of said bookmaker so you can amend this to add further bookies.
This object dictates the green rows in the app (shown in screenshot) indicating which bookies you can actually use. for instance it could be modified to
const SPORTSBOOK_WITH_ACCOUNT = {
"TopSport": "https://www.topsport.com.au/Sport/Rugby_Union/Rugby_World_Cup_Matches/Matches",
"Pinnacle": "https://www.pinnacle.com/en/rugby-union/rugby-world-cup/matchups/",
}
And then only TopSport and Pinnacle would show up green.
The Delta is based on all available markets, irrespective of where you have an account.
No support will be given to this project, happy punting.