playcaller-sdk 0.1.0__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.
- playcaller_sdk-0.1.0/PKG-INFO +58 -0
- playcaller_sdk-0.1.0/README.md +30 -0
- playcaller_sdk-0.1.0/playcaller/__init__.py +342 -0
- playcaller_sdk-0.1.0/playcaller/account/__init__.py +15 -0
- playcaller_sdk-0.1.0/playcaller/account/client.py +772 -0
- playcaller_sdk-0.1.0/playcaller/account/types/__init__.py +13 -0
- playcaller_sdk-0.1.0/playcaller/account/types/get_daa_s_key_info_response.py +27 -0
- playcaller_sdk-0.1.0/playcaller/account/types/get_daa_s_key_info_response_tier.py +16 -0
- playcaller_sdk-0.1.0/playcaller/account/types/register_daa_s_key_response.py +22 -0
- playcaller_sdk-0.1.0/playcaller/account/types/start_daa_s_trial_response.py +30 -0
- playcaller_sdk-0.1.0/playcaller/cfb/__init__.py +15 -0
- playcaller_sdk-0.1.0/playcaller/cfb/client.py +692 -0
- playcaller_sdk-0.1.0/playcaller/cfb/types/__init__.py +13 -0
- playcaller_sdk-0.1.0/playcaller/cfb/types/get_cfb_rankings_response.py +33 -0
- playcaller_sdk-0.1.0/playcaller/cfb/types/get_cfb_standings_response.py +28 -0
- playcaller_sdk-0.1.0/playcaller/cfb/types/list_cfb_games_request_state.py +7 -0
- playcaller_sdk-0.1.0/playcaller/cfb/types/list_cfb_games_response.py +27 -0
- playcaller_sdk-0.1.0/playcaller/client.py +184 -0
- playcaller_sdk-0.1.0/playcaller/core/__init__.py +46 -0
- playcaller_sdk-0.1.0/playcaller/core/api_error.py +17 -0
- playcaller_sdk-0.1.0/playcaller/core/client_wrapper.py +64 -0
- playcaller_sdk-0.1.0/playcaller/core/datetime_utils.py +30 -0
- playcaller_sdk-0.1.0/playcaller/core/file.py +43 -0
- playcaller_sdk-0.1.0/playcaller/core/http_client.py +553 -0
- playcaller_sdk-0.1.0/playcaller/core/jsonable_encoder.py +103 -0
- playcaller_sdk-0.1.0/playcaller/core/pydantic_utilities.py +296 -0
- playcaller_sdk-0.1.0/playcaller/core/query_encoder.py +60 -0
- playcaller_sdk-0.1.0/playcaller/core/remove_none_from_dict.py +11 -0
- playcaller_sdk-0.1.0/playcaller/core/request_options.py +32 -0
- playcaller_sdk-0.1.0/playcaller/core/serialization.py +258 -0
- playcaller_sdk-0.1.0/playcaller/environment.py +7 -0
- playcaller_sdk-0.1.0/playcaller/errors/__init__.py +19 -0
- playcaller_sdk-0.1.0/playcaller/errors/bad_request_error.py +9 -0
- playcaller_sdk-0.1.0/playcaller/errors/conflict_error.py +9 -0
- playcaller_sdk-0.1.0/playcaller/errors/forbidden_error.py +9 -0
- playcaller_sdk-0.1.0/playcaller/errors/internal_server_error.py +9 -0
- playcaller_sdk-0.1.0/playcaller/errors/not_found_error.py +9 -0
- playcaller_sdk-0.1.0/playcaller/errors/too_many_requests_error.py +9 -0
- playcaller_sdk-0.1.0/playcaller/errors/unauthorized_error.py +9 -0
- playcaller_sdk-0.1.0/playcaller/intelligence/__init__.py +25 -0
- playcaller_sdk-0.1.0/playcaller/intelligence/client.py +777 -0
- playcaller_sdk-0.1.0/playcaller/intelligence/types/__init__.py +27 -0
- playcaller_sdk-0.1.0/playcaller/intelligence/types/get_analytics_trends_request_sport.py +7 -0
- playcaller_sdk-0.1.0/playcaller/intelligence/types/get_analytics_trends_response.py +33 -0
- playcaller_sdk-0.1.0/playcaller/intelligence/types/get_intelligence_injuries_request_severity.py +7 -0
- playcaller_sdk-0.1.0/playcaller/intelligence/types/get_intelligence_injuries_request_sport.py +7 -0
- playcaller_sdk-0.1.0/playcaller/intelligence/types/get_intelligence_injuries_response.py +27 -0
- playcaller_sdk-0.1.0/playcaller/intelligence/types/get_intelligence_news_request_severity.py +7 -0
- playcaller_sdk-0.1.0/playcaller/intelligence/types/get_intelligence_news_request_signal_type.py +10 -0
- playcaller_sdk-0.1.0/playcaller/intelligence/types/get_intelligence_news_request_sport.py +7 -0
- playcaller_sdk-0.1.0/playcaller/intelligence/types/get_intelligence_news_response.py +27 -0
- playcaller_sdk-0.1.0/playcaller/mcp/__init__.py +23 -0
- playcaller_sdk-0.1.0/playcaller/mcp/client.py +334 -0
- playcaller_sdk-0.1.0/playcaller/mcp/types/__init__.py +23 -0
- playcaller_sdk-0.1.0/playcaller/mcp/types/get_mcp_info_response.py +29 -0
- playcaller_sdk-0.1.0/playcaller/mcp/types/invoke_mcp_tool_request_jsonrpc.py +5 -0
- playcaller_sdk-0.1.0/playcaller/mcp/types/invoke_mcp_tool_request_method.py +7 -0
- playcaller_sdk-0.1.0/playcaller/mcp/types/invoke_mcp_tool_request_params.py +26 -0
- playcaller_sdk-0.1.0/playcaller/mcp/types/invoke_mcp_tool_response.py +33 -0
- playcaller_sdk-0.1.0/playcaller/mcp/types/invoke_mcp_tool_response_error.py +26 -0
- playcaller_sdk-0.1.0/playcaller/mcp/types/invoke_mcp_tool_response_result.py +28 -0
- playcaller_sdk-0.1.0/playcaller/mcp/types/invoke_mcp_tool_response_result_content_item.py +25 -0
- playcaller_sdk-0.1.0/playcaller/mlb/__init__.py +41 -0
- playcaller_sdk-0.1.0/playcaller/mlb/client.py +1925 -0
- playcaller_sdk-0.1.0/playcaller/mlb/types/__init__.py +43 -0
- playcaller_sdk-0.1.0/playcaller/mlb/types/get_mlb_player_response.py +25 -0
- playcaller_sdk-0.1.0/playcaller/mlb/types/get_mlb_player_stats_response.py +29 -0
- playcaller_sdk-0.1.0/playcaller/mlb/types/get_mlb_player_stats_response_player.py +24 -0
- playcaller_sdk-0.1.0/playcaller/mlb/types/get_mlb_scoring_categories_response.py +36 -0
- playcaller_sdk-0.1.0/playcaller/mlb/types/get_mlb_scoring_categories_response_categories_value_item.py +28 -0
- playcaller_sdk-0.1.0/playcaller/mlb/types/get_mlb_scoring_leaders_request_position.py +7 -0
- playcaller_sdk-0.1.0/playcaller/mlb/types/get_mlb_scoring_leaders_response.py +27 -0
- playcaller_sdk-0.1.0/playcaller/mlb/types/get_mlb_standings_response.py +28 -0
- playcaller_sdk-0.1.0/playcaller/mlb/types/get_mlb_team_roster_request_position.py +7 -0
- playcaller_sdk-0.1.0/playcaller/mlb/types/get_mlb_team_roster_response.py +27 -0
- playcaller_sdk-0.1.0/playcaller/mlb/types/list_mlb_games_request_state.py +10 -0
- playcaller_sdk-0.1.0/playcaller/mlb/types/list_mlb_games_response.py +27 -0
- playcaller_sdk-0.1.0/playcaller/mlb/types/list_mlb_players_request_position.py +7 -0
- playcaller_sdk-0.1.0/playcaller/mlb/types/list_mlb_players_request_status.py +7 -0
- playcaller_sdk-0.1.0/playcaller/mlb/types/list_mlb_players_response.py +30 -0
- playcaller_sdk-0.1.0/playcaller/mlb/types/list_mlb_teams_response.py +27 -0
- playcaller_sdk-0.1.0/playcaller/mlb/types/list_mlb_teams_response_data_item.py +25 -0
- playcaller_sdk-0.1.0/playcaller/multi/__init__.py +33 -0
- playcaller_sdk-0.1.0/playcaller/multi/client.py +1213 -0
- playcaller_sdk-0.1.0/playcaller/multi/types/__init__.py +31 -0
- playcaller_sdk-0.1.0/playcaller/multi/types/get_games_history_request_sport.py +7 -0
- playcaller_sdk-0.1.0/playcaller/multi/types/get_games_history_response.py +28 -0
- playcaller_sdk-0.1.0/playcaller/multi/types/get_trending_request_sport.py +7 -0
- playcaller_sdk-0.1.0/playcaller/multi/types/get_trending_response.py +27 -0
- playcaller_sdk-0.1.0/playcaller/multi/types/get_trending_response_data_item.py +27 -0
- playcaller_sdk-0.1.0/playcaller/multi/types/get_waiver_articles_request_sport.py +7 -0
- playcaller_sdk-0.1.0/playcaller/multi/types/get_waiver_articles_response.py +27 -0
- playcaller_sdk-0.1.0/playcaller/multi/types/get_waiver_articles_response_data_item.py +35 -0
- playcaller_sdk-0.1.0/playcaller/multi/types/list_sports_response.py +33 -0
- playcaller_sdk-0.1.0/playcaller/multi/types/list_sports_response_meta.py +22 -0
- playcaller_sdk-0.1.0/playcaller/multi/types/list_sports_response_sports_item.py +24 -0
- playcaller_sdk-0.1.0/playcaller/multi/types/search_players_request_sport.py +7 -0
- playcaller_sdk-0.1.0/playcaller/multi/types/search_players_response.py +28 -0
- playcaller_sdk-0.1.0/playcaller/nba/__init__.py +55 -0
- playcaller_sdk-0.1.0/playcaller/nba/client.py +1675 -0
- playcaller_sdk-0.1.0/playcaller/nba/types/__init__.py +59 -0
- playcaller_sdk-0.1.0/playcaller/nba/types/get_nba_confidence_response.py +37 -0
- playcaller_sdk-0.1.0/playcaller/nba/types/get_nba_confidence_response_confidence.py +39 -0
- playcaller_sdk-0.1.0/playcaller/nba/types/get_nba_confidence_response_confidence_raw.py +33 -0
- playcaller_sdk-0.1.0/playcaller/nba/types/get_nba_confidence_response_confidence_signals_item.py +30 -0
- playcaller_sdk-0.1.0/playcaller/nba/types/get_nba_confidence_response_confidence_signals_item_direction.py +7 -0
- playcaller_sdk-0.1.0/playcaller/nba/types/get_nba_confidence_response_model_audit.py +26 -0
- playcaller_sdk-0.1.0/playcaller/nba/types/get_nba_player_response.py +25 -0
- playcaller_sdk-0.1.0/playcaller/nba/types/get_nba_player_response_data.py +30 -0
- playcaller_sdk-0.1.0/playcaller/nba/types/get_nba_player_stats_response.py +29 -0
- playcaller_sdk-0.1.0/playcaller/nba/types/get_nba_player_stats_response_player.py +24 -0
- playcaller_sdk-0.1.0/playcaller/nba/types/get_nba_standings_request_conference.py +7 -0
- playcaller_sdk-0.1.0/playcaller/nba/types/get_nba_standings_response.py +28 -0
- playcaller_sdk-0.1.0/playcaller/nba/types/get_nba_team_roster_request_position.py +7 -0
- playcaller_sdk-0.1.0/playcaller/nba/types/get_nba_team_roster_response.py +27 -0
- playcaller_sdk-0.1.0/playcaller/nba/types/get_nba_team_roster_response_data_item.py +24 -0
- playcaller_sdk-0.1.0/playcaller/nba/types/list_nba_games_request_state.py +7 -0
- playcaller_sdk-0.1.0/playcaller/nba/types/list_nba_games_response.py +27 -0
- playcaller_sdk-0.1.0/playcaller/nba/types/list_nba_players_request_position.py +7 -0
- playcaller_sdk-0.1.0/playcaller/nba/types/list_nba_players_response.py +30 -0
- playcaller_sdk-0.1.0/playcaller/nba/types/list_nba_players_response_data_item.py +27 -0
- playcaller_sdk-0.1.0/playcaller/nba/types/list_nba_teams_request_conference.py +5 -0
- playcaller_sdk-0.1.0/playcaller/nba/types/list_nba_teams_response.py +27 -0
- playcaller_sdk-0.1.0/playcaller/nba/types/list_nba_teams_response_data_item.py +30 -0
- playcaller_sdk-0.1.0/playcaller/nba/types/list_nba_teams_response_data_item_record.py +23 -0
- playcaller_sdk-0.1.0/playcaller/nfl/__init__.py +59 -0
- playcaller_sdk-0.1.0/playcaller/nfl/client.py +1493 -0
- playcaller_sdk-0.1.0/playcaller/nfl/types/__init__.py +67 -0
- playcaller_sdk-0.1.0/playcaller/nfl/types/get_nfl_player_response.py +26 -0
- playcaller_sdk-0.1.0/playcaller/nfl/types/get_nfl_player_response_data.py +33 -0
- playcaller_sdk-0.1.0/playcaller/nfl/types/get_nfl_player_stats_response.py +29 -0
- playcaller_sdk-0.1.0/playcaller/nfl/types/get_nfl_player_stats_response_data_item.py +41 -0
- playcaller_sdk-0.1.0/playcaller/nfl/types/get_nfl_player_stats_response_data_item_passing.py +22 -0
- playcaller_sdk-0.1.0/playcaller/nfl/types/get_nfl_player_stats_response_data_item_receiving.py +23 -0
- playcaller_sdk-0.1.0/playcaller/nfl/types/get_nfl_player_stats_response_data_item_rushing.py +22 -0
- playcaller_sdk-0.1.0/playcaller/nfl/types/get_nfl_player_stats_response_player.py +24 -0
- playcaller_sdk-0.1.0/playcaller/nfl/types/get_nfl_standings_request_conference.py +7 -0
- playcaller_sdk-0.1.0/playcaller/nfl/types/get_nfl_standings_response.py +28 -0
- playcaller_sdk-0.1.0/playcaller/nfl/types/get_nfl_standings_response_data_item.py +28 -0
- playcaller_sdk-0.1.0/playcaller/nfl/types/get_nfl_team_roster_request_position.py +8 -0
- playcaller_sdk-0.1.0/playcaller/nfl/types/get_nfl_team_roster_response.py +29 -0
- playcaller_sdk-0.1.0/playcaller/nfl/types/get_nfl_team_roster_response_data_item.py +24 -0
- playcaller_sdk-0.1.0/playcaller/nfl/types/get_nfl_team_roster_response_team.py +24 -0
- playcaller_sdk-0.1.0/playcaller/nfl/types/list_nfl_games_request_status.py +7 -0
- playcaller_sdk-0.1.0/playcaller/nfl/types/list_nfl_games_response.py +27 -0
- playcaller_sdk-0.1.0/playcaller/nfl/types/list_nfl_games_response_data_item.py +39 -0
- playcaller_sdk-0.1.0/playcaller/nfl/types/list_nfl_games_response_data_item_away_team.py +22 -0
- playcaller_sdk-0.1.0/playcaller/nfl/types/list_nfl_games_response_data_item_home_team.py +22 -0
- playcaller_sdk-0.1.0/playcaller/nfl/types/list_nfl_players_request_position.py +7 -0
- playcaller_sdk-0.1.0/playcaller/nfl/types/list_nfl_players_response.py +30 -0
- playcaller_sdk-0.1.0/playcaller/nfl/types/list_nfl_players_response_data_item.py +27 -0
- playcaller_sdk-0.1.0/playcaller/nfl/types/list_nfl_teams_request_conference.py +5 -0
- playcaller_sdk-0.1.0/playcaller/nfl/types/list_nfl_teams_response.py +27 -0
- playcaller_sdk-0.1.0/playcaller/nfl/types/list_nfl_teams_response_data_item.py +28 -0
- playcaller_sdk-0.1.0/playcaller/soccer/__init__.py +17 -0
- playcaller_sdk-0.1.0/playcaller/soccer/client.py +436 -0
- playcaller_sdk-0.1.0/playcaller/soccer/types/__init__.py +15 -0
- playcaller_sdk-0.1.0/playcaller/soccer/types/get_soccer_standings_request_league.py +5 -0
- playcaller_sdk-0.1.0/playcaller/soccer/types/get_soccer_standings_response.py +29 -0
- playcaller_sdk-0.1.0/playcaller/soccer/types/list_soccer_games_request_league.py +5 -0
- playcaller_sdk-0.1.0/playcaller/soccer/types/list_soccer_games_request_state.py +7 -0
- playcaller_sdk-0.1.0/playcaller/soccer/types/list_soccer_games_response.py +27 -0
- playcaller_sdk-0.1.0/playcaller/types/__init__.py +71 -0
- playcaller_sdk-0.1.0/playcaller/types/beat_reporter_signal.py +45 -0
- playcaller_sdk-0.1.0/playcaller/types/beat_reporter_signal_severity.py +7 -0
- playcaller_sdk-0.1.0/playcaller/types/beat_reporter_signal_signal_type.py +15 -0
- playcaller_sdk-0.1.0/playcaller/types/cfb_ranking.py +29 -0
- playcaller_sdk-0.1.0/playcaller/types/error_response.py +24 -0
- playcaller_sdk-0.1.0/playcaller/types/espn_game.py +50 -0
- playcaller_sdk-0.1.0/playcaller/types/espn_game_away_team.py +25 -0
- playcaller_sdk-0.1.0/playcaller/types/espn_game_home_team.py +25 -0
- playcaller_sdk-0.1.0/playcaller/types/espn_game_state.py +7 -0
- playcaller_sdk-0.1.0/playcaller/types/espn_standing.py +49 -0
- playcaller_sdk-0.1.0/playcaller/types/historical_game_record.py +70 -0
- playcaller_sdk-0.1.0/playcaller/types/historical_trend.py +29 -0
- playcaller_sdk-0.1.0/playcaller/types/mcp_tool.py +31 -0
- playcaller_sdk-0.1.0/playcaller/types/mcp_tool_input_schema.py +27 -0
- playcaller_sdk-0.1.0/playcaller/types/mlb_game.py +44 -0
- playcaller_sdk-0.1.0/playcaller/types/mlb_game_away_team.py +23 -0
- playcaller_sdk-0.1.0/playcaller/types/mlb_game_home_team.py +23 -0
- playcaller_sdk-0.1.0/playcaller/types/mlb_game_state.py +10 -0
- playcaller_sdk-0.1.0/playcaller/types/mlb_player.py +33 -0
- playcaller_sdk-0.1.0/playcaller/types/mlb_player_position.py +7 -0
- playcaller_sdk-0.1.0/playcaller/types/mlb_player_stats.py +64 -0
- playcaller_sdk-0.1.0/playcaller/types/mlb_player_stats_batting.py +59 -0
- playcaller_sdk-0.1.0/playcaller/types/mlb_player_stats_pitching.py +49 -0
- playcaller_sdk-0.1.0/playcaller/types/mlb_player_status.py +7 -0
- playcaller_sdk-0.1.0/playcaller/types/player_identity.py +36 -0
- playcaller_sdk-0.1.0/playcaller/types/player_identity_sport_key.py +5 -0
- playcaller_sdk-0.1.0/playcaller/types/player_identity_status.py +7 -0
- playcaller_sdk-0.1.0/playcaller/types/public_stats.py +44 -0
- playcaller_sdk-0.1.0/playcaller/types/response_meta.py +29 -0
- playcaller_sdk-0.1.0/playcaller/types/usage_stats.py +63 -0
- playcaller_sdk-0.1.0/playcaller/types/usage_stats_endpoint_breakdown_item.py +25 -0
- playcaller_sdk-0.1.0/playcaller/types/usage_stats_tier.py +16 -0
- playcaller_sdk-0.1.0/playcaller/types/usage_stats_tier_limits_value.py +23 -0
- playcaller_sdk-0.1.0/playcaller_sdk.egg-info/PKG-INFO +58 -0
- playcaller_sdk-0.1.0/playcaller_sdk.egg-info/SOURCES.txt +201 -0
- playcaller_sdk-0.1.0/playcaller_sdk.egg-info/dependency_links.txt +1 -0
- playcaller_sdk-0.1.0/playcaller_sdk.egg-info/requires.txt +2 -0
- playcaller_sdk-0.1.0/playcaller_sdk.egg-info/top_level.txt +1 -0
- playcaller_sdk-0.1.0/setup.cfg +4 -0
- playcaller_sdk-0.1.0/setup.py +25 -0
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: playcaller-sdk
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Official Python SDK for PlayCaller — real-time sports data and ML signals
|
|
5
|
+
Home-page: https://playcallerapp.com/developer
|
|
6
|
+
Author: PlayCaller
|
|
7
|
+
Author-email: api@playcallerapp.com
|
|
8
|
+
License: MIT
|
|
9
|
+
Keywords: playcaller,sports,fantasy,nfl,mlb,nba
|
|
10
|
+
Classifier: Programming Language :: Python :: 3
|
|
11
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
12
|
+
Classifier: Operating System :: OS Independent
|
|
13
|
+
Requires-Python: >=3.8
|
|
14
|
+
Description-Content-Type: text/markdown
|
|
15
|
+
Requires-Dist: httpx>=0.21.2
|
|
16
|
+
Requires-Dist: pydantic>=1.9.2
|
|
17
|
+
Dynamic: author
|
|
18
|
+
Dynamic: author-email
|
|
19
|
+
Dynamic: classifier
|
|
20
|
+
Dynamic: description
|
|
21
|
+
Dynamic: description-content-type
|
|
22
|
+
Dynamic: home-page
|
|
23
|
+
Dynamic: keywords
|
|
24
|
+
Dynamic: license
|
|
25
|
+
Dynamic: requires-dist
|
|
26
|
+
Dynamic: requires-python
|
|
27
|
+
Dynamic: summary
|
|
28
|
+
|
|
29
|
+
# PlayCaller Python SDK
|
|
30
|
+
|
|
31
|
+
Official Python SDK for the [PlayCaller](https://playcallerapp.com/developer) sports data API — real-time injury signals, player stats, game scores, and AI-powered ML signals for NFL, MLB, NBA, CFB, and soccer.
|
|
32
|
+
|
|
33
|
+
## Installation
|
|
34
|
+
|
|
35
|
+
```bash
|
|
36
|
+
pip install playcaller-sdk
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
## Quick Start
|
|
40
|
+
|
|
41
|
+
```python
|
|
42
|
+
from playcaller import PlaycallerApi
|
|
43
|
+
|
|
44
|
+
client = PlaycallerApi(api_key="pc_sbx_your_key_here")
|
|
45
|
+
|
|
46
|
+
# Injury signals
|
|
47
|
+
injuries = client.intelligence.get_intelligence_injuries(sport="nfl", severity="high")
|
|
48
|
+
|
|
49
|
+
# NFL players
|
|
50
|
+
players = client.nfl.list_nfl_players(team="KC", position="WR")
|
|
51
|
+
|
|
52
|
+
# MLB games today
|
|
53
|
+
games = client.mlb.list_mlb_games(date="today")
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
## Get an API Key
|
|
57
|
+
|
|
58
|
+
[14-day free sandbox at playcallerapp.com/developer](https://playcallerapp.com/developer) — no credit card required.
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# PlayCaller Python SDK
|
|
2
|
+
|
|
3
|
+
Official Python SDK for the [PlayCaller](https://playcallerapp.com/developer) sports data API — real-time injury signals, player stats, game scores, and AI-powered ML signals for NFL, MLB, NBA, CFB, and soccer.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
pip install playcaller-sdk
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Quick Start
|
|
12
|
+
|
|
13
|
+
```python
|
|
14
|
+
from playcaller import PlaycallerApi
|
|
15
|
+
|
|
16
|
+
client = PlaycallerApi(api_key="pc_sbx_your_key_here")
|
|
17
|
+
|
|
18
|
+
# Injury signals
|
|
19
|
+
injuries = client.intelligence.get_intelligence_injuries(sport="nfl", severity="high")
|
|
20
|
+
|
|
21
|
+
# NFL players
|
|
22
|
+
players = client.nfl.list_nfl_players(team="KC", position="WR")
|
|
23
|
+
|
|
24
|
+
# MLB games today
|
|
25
|
+
games = client.mlb.list_mlb_games(date="today")
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
## Get an API Key
|
|
29
|
+
|
|
30
|
+
[14-day free sandbox at playcallerapp.com/developer](https://playcallerapp.com/developer) — no credit card required.
|
|
@@ -0,0 +1,342 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
from .types import (
|
|
4
|
+
BeatReporterSignal,
|
|
5
|
+
BeatReporterSignalSeverity,
|
|
6
|
+
BeatReporterSignalSignalType,
|
|
7
|
+
CfbRanking,
|
|
8
|
+
ErrorResponse,
|
|
9
|
+
EspnGame,
|
|
10
|
+
EspnGameAwayTeam,
|
|
11
|
+
EspnGameHomeTeam,
|
|
12
|
+
EspnGameState,
|
|
13
|
+
EspnStanding,
|
|
14
|
+
HistoricalGameRecord,
|
|
15
|
+
HistoricalTrend,
|
|
16
|
+
McpTool,
|
|
17
|
+
McpToolInputSchema,
|
|
18
|
+
MlbGame,
|
|
19
|
+
MlbGameAwayTeam,
|
|
20
|
+
MlbGameHomeTeam,
|
|
21
|
+
MlbGameState,
|
|
22
|
+
MlbPlayer,
|
|
23
|
+
MlbPlayerPosition,
|
|
24
|
+
MlbPlayerStats,
|
|
25
|
+
MlbPlayerStatsBatting,
|
|
26
|
+
MlbPlayerStatsPitching,
|
|
27
|
+
MlbPlayerStatus,
|
|
28
|
+
PlayerIdentity,
|
|
29
|
+
PlayerIdentitySportKey,
|
|
30
|
+
PlayerIdentityStatus,
|
|
31
|
+
PublicStats,
|
|
32
|
+
ResponseMeta,
|
|
33
|
+
UsageStats,
|
|
34
|
+
UsageStatsEndpointBreakdownItem,
|
|
35
|
+
UsageStatsTier,
|
|
36
|
+
UsageStatsTierLimitsValue,
|
|
37
|
+
)
|
|
38
|
+
from .errors import (
|
|
39
|
+
BadRequestError,
|
|
40
|
+
ConflictError,
|
|
41
|
+
ForbiddenError,
|
|
42
|
+
InternalServerError,
|
|
43
|
+
NotFoundError,
|
|
44
|
+
TooManyRequestsError,
|
|
45
|
+
UnauthorizedError,
|
|
46
|
+
)
|
|
47
|
+
from . import account, cfb, intelligence, mcp, mlb, multi, nba, nfl, soccer
|
|
48
|
+
from .account import (
|
|
49
|
+
GetDaaSKeyInfoResponse,
|
|
50
|
+
GetDaaSKeyInfoResponseTier,
|
|
51
|
+
RegisterDaaSKeyResponse,
|
|
52
|
+
StartDaaSTrialResponse,
|
|
53
|
+
)
|
|
54
|
+
from .cfb import (
|
|
55
|
+
GetCfbRankingsResponse,
|
|
56
|
+
GetCfbStandingsResponse,
|
|
57
|
+
ListCfbGamesRequestState,
|
|
58
|
+
ListCfbGamesResponse,
|
|
59
|
+
)
|
|
60
|
+
from .client import AsyncPlaycallerApi, PlaycallerApi
|
|
61
|
+
from .environment import PlaycallerApiEnvironment
|
|
62
|
+
from .intelligence import (
|
|
63
|
+
GetAnalyticsTrendsRequestSport,
|
|
64
|
+
GetAnalyticsTrendsResponse,
|
|
65
|
+
GetIntelligenceInjuriesRequestSeverity,
|
|
66
|
+
GetIntelligenceInjuriesRequestSport,
|
|
67
|
+
GetIntelligenceInjuriesResponse,
|
|
68
|
+
GetIntelligenceNewsRequestSeverity,
|
|
69
|
+
GetIntelligenceNewsRequestSignalType,
|
|
70
|
+
GetIntelligenceNewsRequestSport,
|
|
71
|
+
GetIntelligenceNewsResponse,
|
|
72
|
+
)
|
|
73
|
+
from .mcp import (
|
|
74
|
+
GetMcpInfoResponse,
|
|
75
|
+
InvokeMcpToolRequestJsonrpc,
|
|
76
|
+
InvokeMcpToolRequestMethod,
|
|
77
|
+
InvokeMcpToolRequestParams,
|
|
78
|
+
InvokeMcpToolResponse,
|
|
79
|
+
InvokeMcpToolResponseError,
|
|
80
|
+
InvokeMcpToolResponseResult,
|
|
81
|
+
InvokeMcpToolResponseResultContentItem,
|
|
82
|
+
)
|
|
83
|
+
from .mlb import (
|
|
84
|
+
GetMlbPlayerResponse,
|
|
85
|
+
GetMlbPlayerStatsResponse,
|
|
86
|
+
GetMlbPlayerStatsResponsePlayer,
|
|
87
|
+
GetMlbScoringCategoriesResponse,
|
|
88
|
+
GetMlbScoringCategoriesResponseCategoriesValueItem,
|
|
89
|
+
GetMlbScoringLeadersRequestPosition,
|
|
90
|
+
GetMlbScoringLeadersResponse,
|
|
91
|
+
GetMlbStandingsResponse,
|
|
92
|
+
GetMlbTeamRosterRequestPosition,
|
|
93
|
+
GetMlbTeamRosterResponse,
|
|
94
|
+
ListMlbGamesRequestState,
|
|
95
|
+
ListMlbGamesResponse,
|
|
96
|
+
ListMlbPlayersRequestPosition,
|
|
97
|
+
ListMlbPlayersRequestStatus,
|
|
98
|
+
ListMlbPlayersResponse,
|
|
99
|
+
ListMlbTeamsResponse,
|
|
100
|
+
ListMlbTeamsResponseDataItem,
|
|
101
|
+
)
|
|
102
|
+
from .multi import (
|
|
103
|
+
GetGamesHistoryRequestSport,
|
|
104
|
+
GetGamesHistoryResponse,
|
|
105
|
+
GetTrendingRequestSport,
|
|
106
|
+
GetTrendingResponse,
|
|
107
|
+
GetTrendingResponseDataItem,
|
|
108
|
+
GetWaiverArticlesRequestSport,
|
|
109
|
+
GetWaiverArticlesResponse,
|
|
110
|
+
GetWaiverArticlesResponseDataItem,
|
|
111
|
+
ListSportsResponse,
|
|
112
|
+
ListSportsResponseMeta,
|
|
113
|
+
ListSportsResponseSportsItem,
|
|
114
|
+
SearchPlayersRequestSport,
|
|
115
|
+
SearchPlayersResponse,
|
|
116
|
+
)
|
|
117
|
+
from .nba import (
|
|
118
|
+
GetNbaConfidenceResponse,
|
|
119
|
+
GetNbaConfidenceResponseConfidence,
|
|
120
|
+
GetNbaConfidenceResponseConfidenceRaw,
|
|
121
|
+
GetNbaConfidenceResponseConfidenceSignalsItem,
|
|
122
|
+
GetNbaConfidenceResponseConfidenceSignalsItemDirection,
|
|
123
|
+
GetNbaConfidenceResponseModelAudit,
|
|
124
|
+
GetNbaPlayerResponse,
|
|
125
|
+
GetNbaPlayerResponseData,
|
|
126
|
+
GetNbaPlayerStatsResponse,
|
|
127
|
+
GetNbaPlayerStatsResponsePlayer,
|
|
128
|
+
GetNbaStandingsRequestConference,
|
|
129
|
+
GetNbaStandingsResponse,
|
|
130
|
+
GetNbaTeamRosterRequestPosition,
|
|
131
|
+
GetNbaTeamRosterResponse,
|
|
132
|
+
GetNbaTeamRosterResponseDataItem,
|
|
133
|
+
ListNbaGamesRequestState,
|
|
134
|
+
ListNbaGamesResponse,
|
|
135
|
+
ListNbaPlayersRequestPosition,
|
|
136
|
+
ListNbaPlayersResponse,
|
|
137
|
+
ListNbaPlayersResponseDataItem,
|
|
138
|
+
ListNbaTeamsRequestConference,
|
|
139
|
+
ListNbaTeamsResponse,
|
|
140
|
+
ListNbaTeamsResponseDataItem,
|
|
141
|
+
ListNbaTeamsResponseDataItemRecord,
|
|
142
|
+
)
|
|
143
|
+
from .nfl import (
|
|
144
|
+
GetNflPlayerResponse,
|
|
145
|
+
GetNflPlayerResponseData,
|
|
146
|
+
GetNflPlayerStatsResponse,
|
|
147
|
+
GetNflPlayerStatsResponseDataItem,
|
|
148
|
+
GetNflPlayerStatsResponseDataItemPassing,
|
|
149
|
+
GetNflPlayerStatsResponseDataItemReceiving,
|
|
150
|
+
GetNflPlayerStatsResponseDataItemRushing,
|
|
151
|
+
GetNflPlayerStatsResponsePlayer,
|
|
152
|
+
GetNflStandingsRequestConference,
|
|
153
|
+
GetNflStandingsResponse,
|
|
154
|
+
GetNflStandingsResponseDataItem,
|
|
155
|
+
GetNflTeamRosterRequestPosition,
|
|
156
|
+
GetNflTeamRosterResponse,
|
|
157
|
+
GetNflTeamRosterResponseDataItem,
|
|
158
|
+
GetNflTeamRosterResponseTeam,
|
|
159
|
+
ListNflGamesRequestStatus,
|
|
160
|
+
ListNflGamesResponse,
|
|
161
|
+
ListNflGamesResponseDataItem,
|
|
162
|
+
ListNflGamesResponseDataItemAwayTeam,
|
|
163
|
+
ListNflGamesResponseDataItemHomeTeam,
|
|
164
|
+
ListNflPlayersRequestPosition,
|
|
165
|
+
ListNflPlayersResponse,
|
|
166
|
+
ListNflPlayersResponseDataItem,
|
|
167
|
+
ListNflTeamsRequestConference,
|
|
168
|
+
ListNflTeamsResponse,
|
|
169
|
+
ListNflTeamsResponseDataItem,
|
|
170
|
+
)
|
|
171
|
+
from .soccer import (
|
|
172
|
+
GetSoccerStandingsRequestLeague,
|
|
173
|
+
GetSoccerStandingsResponse,
|
|
174
|
+
ListSoccerGamesRequestLeague,
|
|
175
|
+
ListSoccerGamesRequestState,
|
|
176
|
+
ListSoccerGamesResponse,
|
|
177
|
+
)
|
|
178
|
+
|
|
179
|
+
__all__ = [
|
|
180
|
+
"AsyncPlaycallerApi",
|
|
181
|
+
"BadRequestError",
|
|
182
|
+
"BeatReporterSignal",
|
|
183
|
+
"BeatReporterSignalSeverity",
|
|
184
|
+
"BeatReporterSignalSignalType",
|
|
185
|
+
"CfbRanking",
|
|
186
|
+
"ConflictError",
|
|
187
|
+
"ErrorResponse",
|
|
188
|
+
"EspnGame",
|
|
189
|
+
"EspnGameAwayTeam",
|
|
190
|
+
"EspnGameHomeTeam",
|
|
191
|
+
"EspnGameState",
|
|
192
|
+
"EspnStanding",
|
|
193
|
+
"ForbiddenError",
|
|
194
|
+
"GetAnalyticsTrendsRequestSport",
|
|
195
|
+
"GetAnalyticsTrendsResponse",
|
|
196
|
+
"GetCfbRankingsResponse",
|
|
197
|
+
"GetCfbStandingsResponse",
|
|
198
|
+
"GetDaaSKeyInfoResponse",
|
|
199
|
+
"GetDaaSKeyInfoResponseTier",
|
|
200
|
+
"GetGamesHistoryRequestSport",
|
|
201
|
+
"GetGamesHistoryResponse",
|
|
202
|
+
"GetIntelligenceInjuriesRequestSeverity",
|
|
203
|
+
"GetIntelligenceInjuriesRequestSport",
|
|
204
|
+
"GetIntelligenceInjuriesResponse",
|
|
205
|
+
"GetIntelligenceNewsRequestSeverity",
|
|
206
|
+
"GetIntelligenceNewsRequestSignalType",
|
|
207
|
+
"GetIntelligenceNewsRequestSport",
|
|
208
|
+
"GetIntelligenceNewsResponse",
|
|
209
|
+
"GetMcpInfoResponse",
|
|
210
|
+
"GetMlbPlayerResponse",
|
|
211
|
+
"GetMlbPlayerStatsResponse",
|
|
212
|
+
"GetMlbPlayerStatsResponsePlayer",
|
|
213
|
+
"GetMlbScoringCategoriesResponse",
|
|
214
|
+
"GetMlbScoringCategoriesResponseCategoriesValueItem",
|
|
215
|
+
"GetMlbScoringLeadersRequestPosition",
|
|
216
|
+
"GetMlbScoringLeadersResponse",
|
|
217
|
+
"GetMlbStandingsResponse",
|
|
218
|
+
"GetMlbTeamRosterRequestPosition",
|
|
219
|
+
"GetMlbTeamRosterResponse",
|
|
220
|
+
"GetNbaConfidenceResponse",
|
|
221
|
+
"GetNbaConfidenceResponseConfidence",
|
|
222
|
+
"GetNbaConfidenceResponseConfidenceRaw",
|
|
223
|
+
"GetNbaConfidenceResponseConfidenceSignalsItem",
|
|
224
|
+
"GetNbaConfidenceResponseConfidenceSignalsItemDirection",
|
|
225
|
+
"GetNbaConfidenceResponseModelAudit",
|
|
226
|
+
"GetNbaPlayerResponse",
|
|
227
|
+
"GetNbaPlayerResponseData",
|
|
228
|
+
"GetNbaPlayerStatsResponse",
|
|
229
|
+
"GetNbaPlayerStatsResponsePlayer",
|
|
230
|
+
"GetNbaStandingsRequestConference",
|
|
231
|
+
"GetNbaStandingsResponse",
|
|
232
|
+
"GetNbaTeamRosterRequestPosition",
|
|
233
|
+
"GetNbaTeamRosterResponse",
|
|
234
|
+
"GetNbaTeamRosterResponseDataItem",
|
|
235
|
+
"GetNflPlayerResponse",
|
|
236
|
+
"GetNflPlayerResponseData",
|
|
237
|
+
"GetNflPlayerStatsResponse",
|
|
238
|
+
"GetNflPlayerStatsResponseDataItem",
|
|
239
|
+
"GetNflPlayerStatsResponseDataItemPassing",
|
|
240
|
+
"GetNflPlayerStatsResponseDataItemReceiving",
|
|
241
|
+
"GetNflPlayerStatsResponseDataItemRushing",
|
|
242
|
+
"GetNflPlayerStatsResponsePlayer",
|
|
243
|
+
"GetNflStandingsRequestConference",
|
|
244
|
+
"GetNflStandingsResponse",
|
|
245
|
+
"GetNflStandingsResponseDataItem",
|
|
246
|
+
"GetNflTeamRosterRequestPosition",
|
|
247
|
+
"GetNflTeamRosterResponse",
|
|
248
|
+
"GetNflTeamRosterResponseDataItem",
|
|
249
|
+
"GetNflTeamRosterResponseTeam",
|
|
250
|
+
"GetSoccerStandingsRequestLeague",
|
|
251
|
+
"GetSoccerStandingsResponse",
|
|
252
|
+
"GetTrendingRequestSport",
|
|
253
|
+
"GetTrendingResponse",
|
|
254
|
+
"GetTrendingResponseDataItem",
|
|
255
|
+
"GetWaiverArticlesRequestSport",
|
|
256
|
+
"GetWaiverArticlesResponse",
|
|
257
|
+
"GetWaiverArticlesResponseDataItem",
|
|
258
|
+
"HistoricalGameRecord",
|
|
259
|
+
"HistoricalTrend",
|
|
260
|
+
"InternalServerError",
|
|
261
|
+
"InvokeMcpToolRequestJsonrpc",
|
|
262
|
+
"InvokeMcpToolRequestMethod",
|
|
263
|
+
"InvokeMcpToolRequestParams",
|
|
264
|
+
"InvokeMcpToolResponse",
|
|
265
|
+
"InvokeMcpToolResponseError",
|
|
266
|
+
"InvokeMcpToolResponseResult",
|
|
267
|
+
"InvokeMcpToolResponseResultContentItem",
|
|
268
|
+
"ListCfbGamesRequestState",
|
|
269
|
+
"ListCfbGamesResponse",
|
|
270
|
+
"ListMlbGamesRequestState",
|
|
271
|
+
"ListMlbGamesResponse",
|
|
272
|
+
"ListMlbPlayersRequestPosition",
|
|
273
|
+
"ListMlbPlayersRequestStatus",
|
|
274
|
+
"ListMlbPlayersResponse",
|
|
275
|
+
"ListMlbTeamsResponse",
|
|
276
|
+
"ListMlbTeamsResponseDataItem",
|
|
277
|
+
"ListNbaGamesRequestState",
|
|
278
|
+
"ListNbaGamesResponse",
|
|
279
|
+
"ListNbaPlayersRequestPosition",
|
|
280
|
+
"ListNbaPlayersResponse",
|
|
281
|
+
"ListNbaPlayersResponseDataItem",
|
|
282
|
+
"ListNbaTeamsRequestConference",
|
|
283
|
+
"ListNbaTeamsResponse",
|
|
284
|
+
"ListNbaTeamsResponseDataItem",
|
|
285
|
+
"ListNbaTeamsResponseDataItemRecord",
|
|
286
|
+
"ListNflGamesRequestStatus",
|
|
287
|
+
"ListNflGamesResponse",
|
|
288
|
+
"ListNflGamesResponseDataItem",
|
|
289
|
+
"ListNflGamesResponseDataItemAwayTeam",
|
|
290
|
+
"ListNflGamesResponseDataItemHomeTeam",
|
|
291
|
+
"ListNflPlayersRequestPosition",
|
|
292
|
+
"ListNflPlayersResponse",
|
|
293
|
+
"ListNflPlayersResponseDataItem",
|
|
294
|
+
"ListNflTeamsRequestConference",
|
|
295
|
+
"ListNflTeamsResponse",
|
|
296
|
+
"ListNflTeamsResponseDataItem",
|
|
297
|
+
"ListSoccerGamesRequestLeague",
|
|
298
|
+
"ListSoccerGamesRequestState",
|
|
299
|
+
"ListSoccerGamesResponse",
|
|
300
|
+
"ListSportsResponse",
|
|
301
|
+
"ListSportsResponseMeta",
|
|
302
|
+
"ListSportsResponseSportsItem",
|
|
303
|
+
"McpTool",
|
|
304
|
+
"McpToolInputSchema",
|
|
305
|
+
"MlbGame",
|
|
306
|
+
"MlbGameAwayTeam",
|
|
307
|
+
"MlbGameHomeTeam",
|
|
308
|
+
"MlbGameState",
|
|
309
|
+
"MlbPlayer",
|
|
310
|
+
"MlbPlayerPosition",
|
|
311
|
+
"MlbPlayerStats",
|
|
312
|
+
"MlbPlayerStatsBatting",
|
|
313
|
+
"MlbPlayerStatsPitching",
|
|
314
|
+
"MlbPlayerStatus",
|
|
315
|
+
"NotFoundError",
|
|
316
|
+
"PlaycallerApi",
|
|
317
|
+
"PlaycallerApiEnvironment",
|
|
318
|
+
"PlayerIdentity",
|
|
319
|
+
"PlayerIdentitySportKey",
|
|
320
|
+
"PlayerIdentityStatus",
|
|
321
|
+
"PublicStats",
|
|
322
|
+
"RegisterDaaSKeyResponse",
|
|
323
|
+
"ResponseMeta",
|
|
324
|
+
"SearchPlayersRequestSport",
|
|
325
|
+
"SearchPlayersResponse",
|
|
326
|
+
"StartDaaSTrialResponse",
|
|
327
|
+
"TooManyRequestsError",
|
|
328
|
+
"UnauthorizedError",
|
|
329
|
+
"UsageStats",
|
|
330
|
+
"UsageStatsEndpointBreakdownItem",
|
|
331
|
+
"UsageStatsTier",
|
|
332
|
+
"UsageStatsTierLimitsValue",
|
|
333
|
+
"account",
|
|
334
|
+
"cfb",
|
|
335
|
+
"intelligence",
|
|
336
|
+
"mcp",
|
|
337
|
+
"mlb",
|
|
338
|
+
"multi",
|
|
339
|
+
"nba",
|
|
340
|
+
"nfl",
|
|
341
|
+
"soccer",
|
|
342
|
+
]
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
from .types import (
|
|
4
|
+
GetDaaSKeyInfoResponse,
|
|
5
|
+
GetDaaSKeyInfoResponseTier,
|
|
6
|
+
RegisterDaaSKeyResponse,
|
|
7
|
+
StartDaaSTrialResponse,
|
|
8
|
+
)
|
|
9
|
+
|
|
10
|
+
__all__ = [
|
|
11
|
+
"GetDaaSKeyInfoResponse",
|
|
12
|
+
"GetDaaSKeyInfoResponseTier",
|
|
13
|
+
"RegisterDaaSKeyResponse",
|
|
14
|
+
"StartDaaSTrialResponse",
|
|
15
|
+
]
|