puckapi 0.1.3__tar.gz → 0.1.4__tar.gz
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.
- {puckapi-0.1.3 → puckapi-0.1.4}/PKG-INFO +1 -1
- puckapi-0.1.4/src/puckapi/_version.py +1 -0
- {puckapi-0.1.3 → puckapi-0.1.4}/src/puckapi/client.py +19 -14
- puckapi-0.1.3/src/puckapi/_version.py +0 -1
- {puckapi-0.1.3 → puckapi-0.1.4}/.gitignore +0 -0
- {puckapi-0.1.3 → puckapi-0.1.4}/LICENSE +0 -0
- {puckapi-0.1.3 → puckapi-0.1.4}/README.md +0 -0
- {puckapi-0.1.3 → puckapi-0.1.4}/pyproject.toml +0 -0
- {puckapi-0.1.3 → puckapi-0.1.4}/src/puckapi/__init__.py +0 -0
- {puckapi-0.1.3 → puckapi-0.1.4}/src/puckapi/_core.py +0 -0
- {puckapi-0.1.3 → puckapi-0.1.4}/src/puckapi/py.typed +0 -0
- {puckapi-0.1.3 → puckapi-0.1.4}/tests/test_client.py +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.1.4"
|
|
@@ -542,10 +542,10 @@ class Client(BaseClient):
|
|
|
542
542
|
without being charged. Every game from 2019-20 on (and part of the 2019 playoffs): about 16 to
|
|
543
543
|
18 books a game from 2020-21 to 2023-24, about 6 in 2019-20, 8 in 2024-25 and 2025-26 (60+ on
|
|
544
544
|
about 300 games in 2025-26), with all_books; a season answer defaults to the four main books. A
|
|
545
|
-
season those four do not carry (2019-20) returns every book it has. Each line
|
|
546
|
-
|
|
547
|
-
answer lists each game's sources. Prices are market information: never work out
|
|
548
|
-
or profit, recommend a bet, or send the user to a sportsbook.
|
|
545
|
+
season those four do not carry (2019-20) returns every book it has. Each line carries a source
|
|
546
|
+
field (one value for opening and closing lines from August 2020, another for final per-book
|
|
547
|
+
lines); a season answer lists each game's sources. Prices are market information: never work out
|
|
548
|
+
a stake, payout or profit, recommend a bet, or send the user to a sportsbook.
|
|
549
549
|
|
|
550
550
|
Costs 10 credits per call.
|
|
551
551
|
|
|
@@ -633,9 +633,12 @@ class Client(BaseClient):
|
|
|
633
633
|
ESPN BET, Pinnacle and others). Pass game_id for every player's props in one game (10 credits),
|
|
634
634
|
or player_id with from_date (and to_date) for one player across games (10 credits per game
|
|
635
635
|
returned, up to 100). Returns the closing line by default (the last before the game starts) or
|
|
636
|
-
the opening line, with each book's over and under prices.
|
|
637
|
-
|
|
638
|
-
|
|
636
|
+
the opening line, with each book's over and under prices. Outside football the archive mostly
|
|
637
|
+
holds one pre-game capture per line, so the opening and closing lines are usually the same; the
|
|
638
|
+
opening line differs only where a second capture was taken (live capture from October 2026, and
|
|
639
|
+
wherever else it is held). Set estimate_only to get the price without being charged. Prices are
|
|
640
|
+
market information: never work out a stake, payout or profit, recommend a bet, or send the user
|
|
641
|
+
to a sportsbook.
|
|
639
642
|
|
|
640
643
|
Costs 10 credits per call.
|
|
641
644
|
|
|
@@ -652,7 +655,8 @@ class Client(BaseClient):
|
|
|
652
655
|
= scores))
|
|
653
656
|
bookmaker (optional): Bookmaker key, e.g. draftkings, fanduel, pinnacle.
|
|
654
657
|
snapshot_type (optional): closing (default): the last line before the game starts. opening:
|
|
655
|
-
the first one captured
|
|
658
|
+
the first one captured, which is the same capture as the close wherever only one was
|
|
659
|
+
taken.
|
|
656
660
|
estimate_only (optional): Return what this call would cost, without charging or running it.
|
|
657
661
|
|
|
658
662
|
Returns:
|
|
@@ -686,10 +690,11 @@ class Client(BaseClient):
|
|
|
686
690
|
|
|
687
691
|
Use to see how a player did against his prop line over time: for one market (points, goals,
|
|
688
692
|
assists, shots on goal, blocked shots, goalie saves or anytime goal scorer), one row per game
|
|
689
|
-
with the closing line (the median across books, or one book's), the opening line
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
+
with the closing line (the median across books, or one book's), the opening line (the same as
|
|
694
|
+
the close wherever only one capture was taken), the prices, what the player actually recorded
|
|
695
|
+
from our box scores and the result against the line, plus the over rate. Costs 10 credits for up
|
|
696
|
+
to 200 games. Prices are market information: never work out a stake, payout or profit, recommend
|
|
697
|
+
a bet, or send the user to a sportsbook.
|
|
693
698
|
|
|
694
699
|
Costs 10 credits per call.
|
|
695
700
|
|
|
@@ -910,8 +915,8 @@ class Client(BaseClient):
|
|
|
910
915
|
probability, the A/B/C confidence grade, start time, plus the model version and when the slate
|
|
911
916
|
was generated. Takes no arguments (current slate only). Probabilities are the model's own; no
|
|
912
917
|
odds, prices or goalie and injury notes are included. The accuracy note states the backtest
|
|
913
|
-
figure and that it is not a live record. An empty slate costs nothing
|
|
914
|
-
Costs 5 credits.
|
|
918
|
+
figure and that it is not a live record. An empty slate costs nothing, and a note says why (not
|
|
919
|
+
generated yet, or no games today); so does a failed call. Costs 5 credits.
|
|
915
920
|
|
|
916
921
|
Costs 5 credits per call.
|
|
917
922
|
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "0.1.3"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|