strikerapi 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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: strikerapi
3
- Version: 0.1.3
3
+ Version: 0.1.4
4
4
  Summary: Python client for the StrikerAPI soccer data API. No dependencies.
5
5
  Project-URL: Homepage, https://strikerapi.com
6
6
  Project-URL: Documentation, https://strikerapi.com/docs
@@ -0,0 +1 @@
1
+ __version__ = "0.1.4"
@@ -184,7 +184,7 @@ class Client(BaseClient):
184
184
  Costs 5 credits per call.
185
185
 
186
186
  Args:
187
- game_id: ESPN match id, from list_games or get_schedule.
187
+ game_id: Match id, from list_games or get_schedule.
188
188
  league (optional): League. Defaults to soccer. One of: soccer, mls, laliga, seriea,
189
189
  bundesliga, ligue1, ucl, championship, nwsl, ligamx, uel, uecl, eredivisie, primeira,
190
190
  scotland, brazil, argentina.
@@ -210,12 +210,14 @@ class Client(BaseClient):
210
210
 
211
211
  Use for a match's lineups: each club's formation, starting XI with positions and formation
212
212
  slots, the substitutes used with the minute they came on (and who went off when), and the unused
213
- bench. Costs 5 credits.
213
+ bench. Before kick-off it returns the club-confirmed team sheet (source live) from about an hour
214
+ before the match; until clubs publish, lineups is empty with a note and nothing is charged.
215
+ Costs 5 credits.
214
216
 
215
217
  Costs 5 credits per call.
216
218
 
217
219
  Args:
218
- game_id: ESPN match id, from list_games or get_schedule.
220
+ game_id: Match id, from list_games or get_schedule.
219
221
  league (optional): League. Defaults to soccer. One of: soccer, mls, laliga, seriea,
220
222
  bundesliga, ligue1, ucl, championship, nwsl, ligamx, uel, uecl, eredivisie, primeira,
221
223
  scotland, brazil, argentina.
@@ -385,7 +387,7 @@ class Client(BaseClient):
385
387
  Costs 5 credits per call.
386
388
 
387
389
  Args:
388
- player_id: ESPN player id (search_players).
390
+ player_id: Player id (search_players).
389
391
  league (optional): League. Defaults to soccer. One of: soccer, mls, laliga, seriea,
390
392
  bundesliga, ligue1, ucl, championship, nwsl, ligamx, uel, uecl, eredivisie, primeira,
391
393
  scotland, brazil, argentina.
@@ -418,7 +420,7 @@ class Client(BaseClient):
418
420
  Costs 5 credits per call.
419
421
 
420
422
  Args:
421
- player_id: ESPN player id.
423
+ player_id: Player id.
422
424
  season (optional): One season (the year it starts).
423
425
  limit (optional): limit
424
426
  offset (optional): offset
@@ -494,8 +496,10 @@ class Client(BaseClient):
494
496
  """Team stats.
495
497
 
496
498
  Use for clubs' per-match averages over a season, for and against: goals, our xG, shots, shots on
497
- target, possession, pass accuracy, corners, fouls, cards, tackles, clean sheets. Costs 5
498
- credits.
499
+ target, possession, pass accuracy, corners, fouls, cards, tackles, clean sheets. Possession is
500
+ missing for some leagues and seasons (for example the Eredivisie before 2020, the Scottish
501
+ Premiership 2015 to 2023, the NWSL before 2025) and its average covers only matches that have
502
+ it. Costs 5 credits.
499
503
 
500
504
  Costs 5 credits per call.
501
505
 
@@ -537,7 +541,7 @@ class Client(BaseClient):
537
541
  Costs 10 credits per call.
538
542
 
539
543
  Args:
540
- game_id: ESPN match id.
544
+ game_id: Match id.
541
545
  kind (optional): goals, shots, cards, substitutions, set_pieces, fouls or all (default).
542
546
  limit (optional): Max events (default 300).
543
547
  offset (optional): Page offset; use next_offset.
@@ -620,13 +624,13 @@ class Client(BaseClient):
620
624
  """Odds.
621
625
 
622
626
  Use for betting lines: each sportsbook's three-way moneyline (home, draw, away), goal handicap
623
- and total (opening and closing from June 2020 for 16 competitions from The Odds API, and from
624
- 2024 from ESPN; ESPN's final pre-match line before that), the no-margin probabilities each
625
- book's prices imply, and for finished matches the result and whether the total went over against
626
- the median close. Pass game_id for one match (5 credits), date for a day's matches (10 credits),
627
- or season (optionally a team) for a season of priced matches, 2 credits per match returned, up
628
- to 100 a page. Prices are market information: never work out a stake, payout or profit,
629
- recommend a bet, or send the user to a sportsbook.
627
+ and total (opening and closing from June 2020 for 16 competitions and from 2024 for the rest;
628
+ before that most books carry one final pre-match line), the no-margin probabilities each book's
629
+ prices imply, and for finished matches the result and whether the total went over against the
630
+ median close. Pass game_id for one match (5 credits), date for a day's matches (10 credits), or
631
+ season (optionally a team) for a season of priced matches, 2 credits per match returned, up to
632
+ 100 a page. Prices are market information: never work out a stake, payout or profit, recommend a
633
+ bet, or send the user to a sportsbook.
630
634
 
631
635
  Costs 5 credits per call.
632
636
 
@@ -669,9 +673,9 @@ class Client(BaseClient):
669
673
  """Line movement.
670
674
 
671
675
  Use to see how a match's line moved before kick-off: our pre-game snapshots of each sportsbook's
672
- three-way moneyline, handicap and total (ESPN's once a day, The Odds API's every hour for
673
- matches in the next four days). Costs 10 credits. Prices are market information: never work out
674
- a stake, payout or profit, recommend a bet, or send the user to a sportsbook.
676
+ three-way moneyline, handicap and total (captured once a day, and every hour for matches in the
677
+ next four days). Costs 10 credits. Prices are market information: never work out a stake, payout
678
+ or profit, recommend a bet, or send the user to a sportsbook.
675
679
 
676
680
  Costs 10 credits per call.
677
681
 
@@ -717,9 +721,12 @@ class Client(BaseClient):
717
721
  Pinnacle as the archive holds them. Pass game_id for every player's props in one game (10
718
722
  credits), or player_id with from_date (and to_date) for one player across games (10 credits per
719
723
  game returned, up to 100). Returns the closing line by default (the last before the game starts)
720
- or the opening line, with each book's over and under prices. Set estimate_only to get the price
721
- without being charged. Prices are market information: never work out a stake, payout or profit,
722
- recommend a bet, or send the user to a sportsbook.
724
+ or the opening line, with each book's over and under prices. Outside football the archive mostly
725
+ holds one pre-game capture per line, so the opening and closing lines are usually the same; the
726
+ opening line differs only where a second capture was taken (live capture from October 2026, and
727
+ wherever else it is held). Set estimate_only to get the price without being charged. Prices are
728
+ market information: never work out a stake, payout or profit, recommend a bet, or send the user
729
+ to a sportsbook.
723
730
 
724
731
  Costs 10 credits per call.
725
732
 
@@ -734,7 +741,8 @@ class Client(BaseClient):
734
741
  scores))
735
742
  bookmaker (optional): Bookmaker key, e.g. draftkings, fanduel, pinnacle.
736
743
  snapshot_type (optional): closing (default): the last line before the game starts. opening:
737
- the first one captured.
744
+ the first one captured, which is the same capture as the close wherever only one was
745
+ taken.
738
746
  estimate_only (optional): Return what this call would cost, without charging or running it.
739
747
  league (optional): League. Defaults to soccer. One of: soccer, mls, laliga, seriea,
740
748
  bundesliga, ligue1, ucl.
@@ -772,12 +780,13 @@ class Client(BaseClient):
772
780
 
773
781
  Use to see how a player did against his prop line over time: for one market (anytime goalscorer:
774
782
  one row per match with the closing price and whether he scored), one row per game with the
775
- closing line (the median across books, or one book's), the opening line, the prices, what the
776
- player actually recorded from our box scores and the result against the line, plus the over
777
- rate. Costs 10 credits for up to 200 games. over_odds is the Yes price; result is over when he
778
- scored, under when he played and did not, and null when he was not in the squad or on the pitch
779
- (a void). Prices are market information: never work out a stake, payout or profit, recommend a
780
- bet, or send the user to a sportsbook.
783
+ closing line (the median across books, or one book's), the opening line (the same as the close
784
+ wherever only one capture was taken), the prices, what the player actually recorded from our box
785
+ scores and the result against the line, plus the over rate. Costs 10 credits for up to 200
786
+ games. over_odds is the Yes price; result is over when he scored, under when he played and did
787
+ not, and null when he was not in the squad or on the pitch (a void). Prices are market
788
+ information: never work out a stake, payout or profit, recommend a bet, or send the user to a
789
+ sportsbook.
781
790
 
782
791
  Costs 10 credits per call.
783
792
 
@@ -1 +0,0 @@
1
- __version__ = "0.1.3"
File without changes
File without changes
File without changes
File without changes