r/squabbitgolf • • 6d ago

New update including a new Squabbit API

This week's update is out, and the big one is something a few of you have been asking for: Squabbit has an API now.

It's read-only to start, but you can pull your rounds and your live tournament and league leaderboards out as JSON and build whatever you want on top of your own data. Custom dashboards, your own stats and analysis, a spreadsheet that updates itself, or wiring Squabbit into other tools you already use. Organizers turn it on per event, and it's part of the Pro subscription features.

Quick write-up with examples: https://squabbitgolf.com/blog/entries/developerApi/developerApi.html Full docs: https://squabbitgolf.com/help/groups/gettingStarted/articles/developerApi/developerApi.html

Also in this release:

  • Two new formats: 20-Ball (Tractor Pull) and FedEx Cup, individual and team
  • Three Putt Poker now deals the cards for you in the app
  • Nassau got a proper rework (three-bet payouts, front/back/overall scorecard views)
  • Charity fundraisers now work in leagues and clubs, not just tournaments
  • You can schedule announcements and messages to go out later

Let me know if the API is missing something you need. Curious to see what people build with it.

3 Upvotes

5 comments sorted by

1

u/Ranj8008 6d ago

Great work on the api Orrie.
Quick question- how can I identify the player names using the tournament{id}rounds endpoint?

2

u/orrie_squabbit 3d ago

Good call, this was a real gap. Until now the tournament rounds endpoint didn't hand back any player identity at all, so there was no way to tie a round to a person.

Just shipped a fix for it:

- Rounds now include a `userId` (on both `/tournaments/{id}/rounds` and `/me/rounds`).

- New endpoint: `GET /tournaments/{id}/players` returns the event roster, each player's `userId`, `name`, `handicap`, role, and participation status.

So the flow is: pull `/tournaments/{id}/players` once to build a `userId` to name lookup, then join it to `/tournaments/{id}/rounds` on `userId`. That same `userId` also keys the leaderboard entries, so all three line up with each other.

This is live on the API right now, so you can start using it today. One heads up: the in-app endpoint browser won't list `/players` until the next app update (Tuesday), but there's a full interactive reference on the web that's already up to date, where you can browse every endpoint, paste your token, and run a live request right in the page:

https://www.squabbitgolf.com/api

Let me know if anything's off.

0

u/Ranj8008 3d ago

Perfect, thanks Orrie

0

u/Ranj8008 3d ago

Orrie, one last question, not sure if a bug.

The /tournaments/{id}/players endpoint returns null for handicap, even though the playing handicap is set for every player.

1

u/Better_Trash7437 4d ago

Do you plan to add an MCP connection?