propline 0.64.0 → 0.66.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -163,6 +163,12 @@ interface Outcome {
163
163
  * nothing further or PropLine does not read its depth (sportsbooks).
164
164
  */
165
165
  depth?: DepthLevel[];
166
+ /**
167
+ * PrizePicks' own direction flag for this pick (`"over"`,
168
+ * `"under_or_over"`). Only present when the request passed
169
+ * `includeRestricted: true`, and only on books that publish it.
170
+ */
171
+ allowed_wager_types?: string;
166
172
  /**
167
173
  * Which side of the EVENT this leg is on: `"home"`, `"away"` or
168
174
  * `"draw"`; `null` for Over/Under, Yes/No and player legs. Lets you pair
@@ -647,6 +653,68 @@ interface BookAccuracyOptions {
647
653
  /** Optional sport key, e.g. "baseball_mlb". */
648
654
  sport?: string;
649
655
  }
656
+ /** One completed golf round. Hole counts are null where the source
657
+ * publishes only the round score (DP World, LPGA, some LIV rounds). */
658
+ interface GolfRound {
659
+ tour: string;
660
+ espn_event_id: string;
661
+ tournament: string;
662
+ season: number | null;
663
+ player_id: string;
664
+ player_name: string;
665
+ round: number;
666
+ round_date: string;
667
+ strokes: number;
668
+ to_par: number | null;
669
+ holes: number | null;
670
+ eagles: number | null;
671
+ birdies: number | null;
672
+ pars: number | null;
673
+ bogeys: number | null;
674
+ double_bogeys_or_worse: number | null;
675
+ }
676
+ interface GolfRoundSplit {
677
+ rounds: number;
678
+ avg_strokes: number | null;
679
+ avg_to_par: number | null;
680
+ avg_birdies: number | null;
681
+ avg_bogeys: number | null;
682
+ }
683
+ interface GolfRoundsResponse {
684
+ player_name: string;
685
+ player_id: string;
686
+ tours: string[];
687
+ rounds: GolfRound[];
688
+ summary: {
689
+ last_5: GolfRoundSplit;
690
+ last_10: GolfRoundSplit;
691
+ last_20: GolfRoundSplit;
692
+ };
693
+ }
694
+ interface GolfRoundsOptions {
695
+ /** Comma-separated tours: pga, dp_world, liv, lpga, korn_ferry, champions. Omit for all. */
696
+ tour?: string;
697
+ /** Rounds to return, 1-200 (default 20). */
698
+ limit?: number;
699
+ /** YYYY-MM-DD; only rounds on or after it. */
700
+ since?: string;
701
+ }
702
+ interface GolfTournament {
703
+ tour: string;
704
+ espn_event_id: string;
705
+ tournament: string;
706
+ season: number | null;
707
+ start_date: string;
708
+ players: number;
709
+ rounds_played: number;
710
+ player_rounds: number;
711
+ }
712
+ interface GolfTournamentsOptions {
713
+ tour?: string;
714
+ season?: number;
715
+ /** 1-500 (default 50). */
716
+ limit?: number;
717
+ }
650
718
  interface PlayerStat {
651
719
  player_name: string;
652
720
  team_abbr: string;
@@ -1637,6 +1705,13 @@ interface GetOddsOptions {
1637
1705
  * PropLine-specific (`includeDepth=true`).
1638
1706
  */
1639
1707
  includeDepth?: boolean;
1708
+ /**
1709
+ * When true, PrizePicks projections marked over-only also return their
1710
+ * Under leg, and every PrizePicks outcome carries `allowed_wager_types`
1711
+ * (`"over"` or `"under_or_over"`, PrizePicks' own value). By default the
1712
+ * excluded leg is left out. PropLine-specific (`includeRestricted=true`).
1713
+ */
1714
+ includeRestricted?: boolean;
1640
1715
  }
1641
1716
  interface GetOddsHistoryOptions {
1642
1717
  markets?: string[];
@@ -2161,6 +2236,15 @@ declare class PropLine {
2161
2236
  */
2162
2237
  getEventIds(sport: string): Promise<EventIds[]>;
2163
2238
  getBookAccuracy(options?: BookAccuracyOptions): Promise<BookAccuracyReport>;
2239
+ /**
2240
+ * A golfer's completed rounds, newest first, plus last-5/10/20 averages.
2241
+ * Every player in the field, every tour, back to 2024. A round in progress
2242
+ * is never included. `player` is a name (case/accents ignored) or ESPN
2243
+ * athlete id. Free tier.
2244
+ */
2245
+ getGolfRounds(player: string, options?: GolfRoundsOptions): Promise<GolfRoundsResponse>;
2246
+ /** Golf tournaments we hold round data for, newest first. Free tier. */
2247
+ getGolfTournaments(options?: GolfTournamentsOptions): Promise<GolfTournament[]>;
2164
2248
  /**
2165
2249
  * Get raw player/team box-score stats (book-agnostic, free tier).
2166
2250
  *
@@ -2648,6 +2732,6 @@ declare const Bookmakers: {
2648
2732
  readonly PRIZEPICKS: "prizepicks";
2649
2733
  };
2650
2734
  type BookmakerKey = (typeof Bookmakers)[keyof typeof Bookmakers];
2651
- declare const VERSION = "0.64.0";
2735
+ declare const VERSION = "0.66.0";
2652
2736
 
2653
- export { AuthError, type BestLine, type BestLineSide, type BestPrice, type BookAccuracyOptions, type BookAccuracyReport, type BookAccuracyRow, type Bookmaker, type BookmakerKey, Bookmakers, type CalcEventEvOptions, type ClosingBookmaker, type ClosingMarket, type ClosingOutcome, type ClvBetInput, type ClvGradeResponse, type ClvGradedBet, type ClvSummary, type ContextResponse, type CreateWebhookOptions, type DepthLevel, type DfsPayoutTier, type DfsPayoutsResponse, type DfsPlayPayout, type EvLine, type EvOutcome, type EvWebhookPayload, type Event, type EventBestLineResponse, type EventEvCalcResponse, type EventEvResponse, type EventIds, type EventIdsBook, type EventProjectionsResponse, type ExportOddsHistoryOptions, type ExportResolvedPropsOptions, type FuturesEvent, type FuturesMarket, type FuturesOutcome, type GetDfsPayoutsOptions, type GetEventBestLineOptions, type GetEventEvOptions, type GetEventProjectionsOptions, type GetMlbGrandSalamiOptions, type GetMovementOptions, type GetNhlDailyGoalsTotalOptions, type GetOddsClosingOptions, type GetOddsHistoryOptions, type GetOddsOptions, type GetPlayerGamesOptions, type GetPlayerHistoryOptions, type GetPlayerTrendsOptions, type GetResultsOptions, type GetScoresOptions, type GetStatsOptions, type HitRateSplit, type LineMovementPrice, type LineMovementWebhookPayload, type LineType, type ListWebhookDeliveriesOptions, type Market, type MarketSummary, type MlbGrandSalamiBook, type MlbGrandSalamiResponse, type MovementBookmaker, type MovementMarket, type MovementOutcome, type MovementResponse, type NhlDailyGoalsTotalBook, type NhlDailyGoalsTotalResponse, type OddsClosingResponse, type OddsHistoryBookmaker, type OddsHistoryMarket, type OddsHistoryOutcome, type OddsHistoryResponse, type OddsResponse, type Outcome, type OutcomeSnapshot, type PeriodFilter, type PlayerGame, type PlayerGameLog, type PlayerHistoryEntry, type PlayerHistoryResponse, type PlayerMarketTrend, type PlayerSearchResponse, type PlayerSearchResult, type PlayerStat, type PlayerTrends, type ProjectionRow, PropLine, PropLineError, type PropLineErrorInfo, type PropLineOptions, type QuotaStatus, RateLimitError, type ReplayEvent, type ReplayPage, type ReplayWebhookEventsOptions, type ResolutionSummary, type ResolutionSummaryMarket, type ResolutionSummarySport, type ResolvedOutcome, type ResultsMarket, type ResultsResponse, type ScoreEvent, type SearchPlayersOptions, type SgpBookError, type SgpLegInput, type SgpLegQuote, type SgpMultiQuoteResponse, type SgpQuoteResponse, type Sport, type StatsResponse, type SteamMove, type SteamWebhookPayload, type StreamOptions, type TrendLastGame, type TrendStreak, type UpdateWebhookOptions, VERSION, type VerifySignatureOptions, type WeatherInfo, type Webhook, type WebhookDelivery, type WebhookEventType };
2737
+ export { AuthError, type BestLine, type BestLineSide, type BestPrice, type BookAccuracyOptions, type BookAccuracyReport, type BookAccuracyRow, type Bookmaker, type BookmakerKey, Bookmakers, type CalcEventEvOptions, type ClosingBookmaker, type ClosingMarket, type ClosingOutcome, type ClvBetInput, type ClvGradeResponse, type ClvGradedBet, type ClvSummary, type ContextResponse, type CreateWebhookOptions, type DepthLevel, type DfsPayoutTier, type DfsPayoutsResponse, type DfsPlayPayout, type EvLine, type EvOutcome, type EvWebhookPayload, type Event, type EventBestLineResponse, type EventEvCalcResponse, type EventEvResponse, type EventIds, type EventIdsBook, type EventProjectionsResponse, type ExportOddsHistoryOptions, type ExportResolvedPropsOptions, type FuturesEvent, type FuturesMarket, type FuturesOutcome, type GetDfsPayoutsOptions, type GetEventBestLineOptions, type GetEventEvOptions, type GetEventProjectionsOptions, type GetMlbGrandSalamiOptions, type GetMovementOptions, type GetNhlDailyGoalsTotalOptions, type GetOddsClosingOptions, type GetOddsHistoryOptions, type GetOddsOptions, type GetPlayerGamesOptions, type GetPlayerHistoryOptions, type GetPlayerTrendsOptions, type GetResultsOptions, type GetScoresOptions, type GetStatsOptions, type GolfRound, type GolfRoundSplit, type GolfRoundsOptions, type GolfRoundsResponse, type GolfTournament, type GolfTournamentsOptions, type HitRateSplit, type LineMovementPrice, type LineMovementWebhookPayload, type LineType, type ListWebhookDeliveriesOptions, type Market, type MarketSummary, type MlbGrandSalamiBook, type MlbGrandSalamiResponse, type MovementBookmaker, type MovementMarket, type MovementOutcome, type MovementResponse, type NhlDailyGoalsTotalBook, type NhlDailyGoalsTotalResponse, type OddsClosingResponse, type OddsHistoryBookmaker, type OddsHistoryMarket, type OddsHistoryOutcome, type OddsHistoryResponse, type OddsResponse, type Outcome, type OutcomeSnapshot, type PeriodFilter, type PlayerGame, type PlayerGameLog, type PlayerHistoryEntry, type PlayerHistoryResponse, type PlayerMarketTrend, type PlayerSearchResponse, type PlayerSearchResult, type PlayerStat, type PlayerTrends, type ProjectionRow, PropLine, PropLineError, type PropLineErrorInfo, type PropLineOptions, type QuotaStatus, RateLimitError, type ReplayEvent, type ReplayPage, type ReplayWebhookEventsOptions, type ResolutionSummary, type ResolutionSummaryMarket, type ResolutionSummarySport, type ResolvedOutcome, type ResultsMarket, type ResultsResponse, type ScoreEvent, type SearchPlayersOptions, type SgpBookError, type SgpLegInput, type SgpLegQuote, type SgpMultiQuoteResponse, type SgpQuoteResponse, type Sport, type StatsResponse, type SteamMove, type SteamWebhookPayload, type StreamOptions, type TrendLastGame, type TrendStreak, type UpdateWebhookOptions, VERSION, type VerifySignatureOptions, type WeatherInfo, type Webhook, type WebhookDelivery, type WebhookEventType };
package/dist/index.d.ts CHANGED
@@ -163,6 +163,12 @@ interface Outcome {
163
163
  * nothing further or PropLine does not read its depth (sportsbooks).
164
164
  */
165
165
  depth?: DepthLevel[];
166
+ /**
167
+ * PrizePicks' own direction flag for this pick (`"over"`,
168
+ * `"under_or_over"`). Only present when the request passed
169
+ * `includeRestricted: true`, and only on books that publish it.
170
+ */
171
+ allowed_wager_types?: string;
166
172
  /**
167
173
  * Which side of the EVENT this leg is on: `"home"`, `"away"` or
168
174
  * `"draw"`; `null` for Over/Under, Yes/No and player legs. Lets you pair
@@ -647,6 +653,68 @@ interface BookAccuracyOptions {
647
653
  /** Optional sport key, e.g. "baseball_mlb". */
648
654
  sport?: string;
649
655
  }
656
+ /** One completed golf round. Hole counts are null where the source
657
+ * publishes only the round score (DP World, LPGA, some LIV rounds). */
658
+ interface GolfRound {
659
+ tour: string;
660
+ espn_event_id: string;
661
+ tournament: string;
662
+ season: number | null;
663
+ player_id: string;
664
+ player_name: string;
665
+ round: number;
666
+ round_date: string;
667
+ strokes: number;
668
+ to_par: number | null;
669
+ holes: number | null;
670
+ eagles: number | null;
671
+ birdies: number | null;
672
+ pars: number | null;
673
+ bogeys: number | null;
674
+ double_bogeys_or_worse: number | null;
675
+ }
676
+ interface GolfRoundSplit {
677
+ rounds: number;
678
+ avg_strokes: number | null;
679
+ avg_to_par: number | null;
680
+ avg_birdies: number | null;
681
+ avg_bogeys: number | null;
682
+ }
683
+ interface GolfRoundsResponse {
684
+ player_name: string;
685
+ player_id: string;
686
+ tours: string[];
687
+ rounds: GolfRound[];
688
+ summary: {
689
+ last_5: GolfRoundSplit;
690
+ last_10: GolfRoundSplit;
691
+ last_20: GolfRoundSplit;
692
+ };
693
+ }
694
+ interface GolfRoundsOptions {
695
+ /** Comma-separated tours: pga, dp_world, liv, lpga, korn_ferry, champions. Omit for all. */
696
+ tour?: string;
697
+ /** Rounds to return, 1-200 (default 20). */
698
+ limit?: number;
699
+ /** YYYY-MM-DD; only rounds on or after it. */
700
+ since?: string;
701
+ }
702
+ interface GolfTournament {
703
+ tour: string;
704
+ espn_event_id: string;
705
+ tournament: string;
706
+ season: number | null;
707
+ start_date: string;
708
+ players: number;
709
+ rounds_played: number;
710
+ player_rounds: number;
711
+ }
712
+ interface GolfTournamentsOptions {
713
+ tour?: string;
714
+ season?: number;
715
+ /** 1-500 (default 50). */
716
+ limit?: number;
717
+ }
650
718
  interface PlayerStat {
651
719
  player_name: string;
652
720
  team_abbr: string;
@@ -1637,6 +1705,13 @@ interface GetOddsOptions {
1637
1705
  * PropLine-specific (`includeDepth=true`).
1638
1706
  */
1639
1707
  includeDepth?: boolean;
1708
+ /**
1709
+ * When true, PrizePicks projections marked over-only also return their
1710
+ * Under leg, and every PrizePicks outcome carries `allowed_wager_types`
1711
+ * (`"over"` or `"under_or_over"`, PrizePicks' own value). By default the
1712
+ * excluded leg is left out. PropLine-specific (`includeRestricted=true`).
1713
+ */
1714
+ includeRestricted?: boolean;
1640
1715
  }
1641
1716
  interface GetOddsHistoryOptions {
1642
1717
  markets?: string[];
@@ -2161,6 +2236,15 @@ declare class PropLine {
2161
2236
  */
2162
2237
  getEventIds(sport: string): Promise<EventIds[]>;
2163
2238
  getBookAccuracy(options?: BookAccuracyOptions): Promise<BookAccuracyReport>;
2239
+ /**
2240
+ * A golfer's completed rounds, newest first, plus last-5/10/20 averages.
2241
+ * Every player in the field, every tour, back to 2024. A round in progress
2242
+ * is never included. `player` is a name (case/accents ignored) or ESPN
2243
+ * athlete id. Free tier.
2244
+ */
2245
+ getGolfRounds(player: string, options?: GolfRoundsOptions): Promise<GolfRoundsResponse>;
2246
+ /** Golf tournaments we hold round data for, newest first. Free tier. */
2247
+ getGolfTournaments(options?: GolfTournamentsOptions): Promise<GolfTournament[]>;
2164
2248
  /**
2165
2249
  * Get raw player/team box-score stats (book-agnostic, free tier).
2166
2250
  *
@@ -2648,6 +2732,6 @@ declare const Bookmakers: {
2648
2732
  readonly PRIZEPICKS: "prizepicks";
2649
2733
  };
2650
2734
  type BookmakerKey = (typeof Bookmakers)[keyof typeof Bookmakers];
2651
- declare const VERSION = "0.64.0";
2735
+ declare const VERSION = "0.66.0";
2652
2736
 
2653
- export { AuthError, type BestLine, type BestLineSide, type BestPrice, type BookAccuracyOptions, type BookAccuracyReport, type BookAccuracyRow, type Bookmaker, type BookmakerKey, Bookmakers, type CalcEventEvOptions, type ClosingBookmaker, type ClosingMarket, type ClosingOutcome, type ClvBetInput, type ClvGradeResponse, type ClvGradedBet, type ClvSummary, type ContextResponse, type CreateWebhookOptions, type DepthLevel, type DfsPayoutTier, type DfsPayoutsResponse, type DfsPlayPayout, type EvLine, type EvOutcome, type EvWebhookPayload, type Event, type EventBestLineResponse, type EventEvCalcResponse, type EventEvResponse, type EventIds, type EventIdsBook, type EventProjectionsResponse, type ExportOddsHistoryOptions, type ExportResolvedPropsOptions, type FuturesEvent, type FuturesMarket, type FuturesOutcome, type GetDfsPayoutsOptions, type GetEventBestLineOptions, type GetEventEvOptions, type GetEventProjectionsOptions, type GetMlbGrandSalamiOptions, type GetMovementOptions, type GetNhlDailyGoalsTotalOptions, type GetOddsClosingOptions, type GetOddsHistoryOptions, type GetOddsOptions, type GetPlayerGamesOptions, type GetPlayerHistoryOptions, type GetPlayerTrendsOptions, type GetResultsOptions, type GetScoresOptions, type GetStatsOptions, type HitRateSplit, type LineMovementPrice, type LineMovementWebhookPayload, type LineType, type ListWebhookDeliveriesOptions, type Market, type MarketSummary, type MlbGrandSalamiBook, type MlbGrandSalamiResponse, type MovementBookmaker, type MovementMarket, type MovementOutcome, type MovementResponse, type NhlDailyGoalsTotalBook, type NhlDailyGoalsTotalResponse, type OddsClosingResponse, type OddsHistoryBookmaker, type OddsHistoryMarket, type OddsHistoryOutcome, type OddsHistoryResponse, type OddsResponse, type Outcome, type OutcomeSnapshot, type PeriodFilter, type PlayerGame, type PlayerGameLog, type PlayerHistoryEntry, type PlayerHistoryResponse, type PlayerMarketTrend, type PlayerSearchResponse, type PlayerSearchResult, type PlayerStat, type PlayerTrends, type ProjectionRow, PropLine, PropLineError, type PropLineErrorInfo, type PropLineOptions, type QuotaStatus, RateLimitError, type ReplayEvent, type ReplayPage, type ReplayWebhookEventsOptions, type ResolutionSummary, type ResolutionSummaryMarket, type ResolutionSummarySport, type ResolvedOutcome, type ResultsMarket, type ResultsResponse, type ScoreEvent, type SearchPlayersOptions, type SgpBookError, type SgpLegInput, type SgpLegQuote, type SgpMultiQuoteResponse, type SgpQuoteResponse, type Sport, type StatsResponse, type SteamMove, type SteamWebhookPayload, type StreamOptions, type TrendLastGame, type TrendStreak, type UpdateWebhookOptions, VERSION, type VerifySignatureOptions, type WeatherInfo, type Webhook, type WebhookDelivery, type WebhookEventType };
2737
+ export { AuthError, type BestLine, type BestLineSide, type BestPrice, type BookAccuracyOptions, type BookAccuracyReport, type BookAccuracyRow, type Bookmaker, type BookmakerKey, Bookmakers, type CalcEventEvOptions, type ClosingBookmaker, type ClosingMarket, type ClosingOutcome, type ClvBetInput, type ClvGradeResponse, type ClvGradedBet, type ClvSummary, type ContextResponse, type CreateWebhookOptions, type DepthLevel, type DfsPayoutTier, type DfsPayoutsResponse, type DfsPlayPayout, type EvLine, type EvOutcome, type EvWebhookPayload, type Event, type EventBestLineResponse, type EventEvCalcResponse, type EventEvResponse, type EventIds, type EventIdsBook, type EventProjectionsResponse, type ExportOddsHistoryOptions, type ExportResolvedPropsOptions, type FuturesEvent, type FuturesMarket, type FuturesOutcome, type GetDfsPayoutsOptions, type GetEventBestLineOptions, type GetEventEvOptions, type GetEventProjectionsOptions, type GetMlbGrandSalamiOptions, type GetMovementOptions, type GetNhlDailyGoalsTotalOptions, type GetOddsClosingOptions, type GetOddsHistoryOptions, type GetOddsOptions, type GetPlayerGamesOptions, type GetPlayerHistoryOptions, type GetPlayerTrendsOptions, type GetResultsOptions, type GetScoresOptions, type GetStatsOptions, type GolfRound, type GolfRoundSplit, type GolfRoundsOptions, type GolfRoundsResponse, type GolfTournament, type GolfTournamentsOptions, type HitRateSplit, type LineMovementPrice, type LineMovementWebhookPayload, type LineType, type ListWebhookDeliveriesOptions, type Market, type MarketSummary, type MlbGrandSalamiBook, type MlbGrandSalamiResponse, type MovementBookmaker, type MovementMarket, type MovementOutcome, type MovementResponse, type NhlDailyGoalsTotalBook, type NhlDailyGoalsTotalResponse, type OddsClosingResponse, type OddsHistoryBookmaker, type OddsHistoryMarket, type OddsHistoryOutcome, type OddsHistoryResponse, type OddsResponse, type Outcome, type OutcomeSnapshot, type PeriodFilter, type PlayerGame, type PlayerGameLog, type PlayerHistoryEntry, type PlayerHistoryResponse, type PlayerMarketTrend, type PlayerSearchResponse, type PlayerSearchResult, type PlayerStat, type PlayerTrends, type ProjectionRow, PropLine, PropLineError, type PropLineErrorInfo, type PropLineOptions, type QuotaStatus, RateLimitError, type ReplayEvent, type ReplayPage, type ReplayWebhookEventsOptions, type ResolutionSummary, type ResolutionSummaryMarket, type ResolutionSummarySport, type ResolvedOutcome, type ResultsMarket, type ResultsResponse, type ScoreEvent, type SearchPlayersOptions, type SgpBookError, type SgpLegInput, type SgpLegQuote, type SgpMultiQuoteResponse, type SgpQuoteResponse, type Sport, type StatsResponse, type SteamMove, type SteamWebhookPayload, type StreamOptions, type TrendLastGame, type TrendStreak, type UpdateWebhookOptions, VERSION, type VerifySignatureOptions, type WeatherInfo, type Webhook, type WebhookDelivery, type WebhookEventType };
package/dist/index.js CHANGED
@@ -170,6 +170,7 @@ var PropLine = class {
170
170
  if (options.includeLinks) params.includeLinks = "true";
171
171
  if (options.includeBookIds) params.includeBookIds = "true";
172
172
  if (options.includeDepth) params.includeDepth = "true";
173
+ if (options.includeRestricted) params.includeRestricted = "true";
173
174
  const sp = encodeURIComponent(sport);
174
175
  if (options.eventId !== void 0) {
175
176
  return this._request(
@@ -348,6 +349,29 @@ var PropLine = class {
348
349
  if (options.sport) params.sport = options.sport;
349
350
  return this._request("GET", "/books/accuracy", { params });
350
351
  }
352
+ /**
353
+ * A golfer's completed rounds, newest first, plus last-5/10/20 averages.
354
+ * Every player in the field, every tour, back to 2024. A round in progress
355
+ * is never included. `player` is a name (case/accents ignored) or ESPN
356
+ * athlete id. Free tier.
357
+ */
358
+ getGolfRounds(player, options = {}) {
359
+ const params = { limit: String(options.limit ?? 20) };
360
+ if (options.tour) params.tour = options.tour;
361
+ if (options.since) params.since = options.since;
362
+ return this._request(
363
+ "GET",
364
+ `/golf/players/${encodeURIComponent(player)}/rounds`,
365
+ { params }
366
+ );
367
+ }
368
+ /** Golf tournaments we hold round data for, newest first. Free tier. */
369
+ getGolfTournaments(options = {}) {
370
+ const params = { limit: String(options.limit ?? 50) };
371
+ if (options.tour) params.tour = options.tour;
372
+ if (options.season) params.season = String(options.season);
373
+ return this._request("GET", "/golf/tournaments", { params });
374
+ }
351
375
  /**
352
376
  * Get raw player/team box-score stats (book-agnostic, free tier).
353
377
  *
@@ -1141,7 +1165,7 @@ var Bookmakers = {
1141
1165
  POLYMARKET: "polymarket",
1142
1166
  PRIZEPICKS: "prizepicks"
1143
1167
  };
1144
- var VERSION = "0.64.0";
1168
+ var VERSION = "0.66.0";
1145
1169
  export {
1146
1170
  AuthError,
1147
1171
  Bookmakers,