Skip to Content
PredictorSDK

SDKs 0.23.1 add include_rules, team totals and the new matching values

The TypeScript, Python and Go SDKs 0.23.1 add the include_rules parameter, document team totals and second-half overtime keys, and list limitless as a matching provider and tie and push as rule names. Nothing is removed.

SDK

The TypeScript (@predictorsdk/client), Python (predictorsdk), and Go (github.com/PredictorSDK/sdk-go) SDKs are released at 0.23.1 with the matching changes shipped since 0.23.0. Nothing is removed, and 0.23.0 keeps working: its clients tolerate the new values. Upgrade to get the new parameter and the complete types.

  • includeRules (include_rules, IncludeRules) on getSportsMatchingMarkets and lookupSportsMatchingMarkets. Every moneyline, spread, total and team total carries settlementEquivalence, whether its venues settle a tie, overtime and a line that lands exactly the same way; send includeRules: true to also get the ruleComparisons rows behind it. See game-line rules.
  • Team totals. A submarket can have marketType: "team_total", with the team as its subject and over/under outcomes. marketType stays a string, so new kinds of market never break parsing.
  • New values in existing fields. limitless is a matching provider in sourceMarkets[].provider and a sourceId prefix; tie and push are rule names in ruleComparisons; a second-half or fourth-quarter line that counts overtime has a key ending in :incl_ot and a display name ending " (incl. OT)".

We checked each published package against the production API before announcing it: each one paged through matched events, read the default verdict and the includeRules rows on NFL games, and found team totals there.