victorycode-sdk 1.0.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.
- victorycode_sdk-1.0.0/LICENSE +21 -0
- victorycode_sdk-1.0.0/PKG-INFO +288 -0
- victorycode_sdk-1.0.0/README.md +269 -0
- victorycode_sdk-1.0.0/pyproject.toml +95 -0
- victorycode_sdk-1.0.0/setup.cfg +7 -0
- victorycode_sdk-1.0.0/setup.py +47 -0
- victorycode_sdk-1.0.0/test/test_add_video_to_game_with_s3_link_dto.py +54 -0
- victorycode_sdk-1.0.0/test/test_address.py +60 -0
- victorycode_sdk-1.0.0/test/test_address_dto.py +60 -0
- victorycode_sdk-1.0.0/test/test_authentication_api.py +38 -0
- victorycode_sdk-1.0.0/test/test_bad_request_error_response_dto.py +54 -0
- victorycode_sdk-1.0.0/test/test_classification.py +54 -0
- victorycode_sdk-1.0.0/test/test_classification_api.py +59 -0
- victorycode_sdk-1.0.0/test/test_client_create_game_with_video_url_dto.py +67 -0
- victorycode_sdk-1.0.0/test/test_complete_multipart_upload_dto.py +62 -0
- victorycode_sdk-1.0.0/test/test_complete_multipart_upload_response.py +54 -0
- victorycode_sdk-1.0.0/test/test_complete_multipart_upload_response_dto.py +58 -0
- victorycode_sdk-1.0.0/test/test_completed_part_dto.py +54 -0
- victorycode_sdk-1.0.0/test/test_conflict_error_response_dto.py +54 -0
- victorycode_sdk-1.0.0/test/test_coordinates.py +54 -0
- victorycode_sdk-1.0.0/test/test_coordinates_dto.py +54 -0
- victorycode_sdk-1.0.0/test/test_create_classification_dto.py +54 -0
- victorycode_sdk-1.0.0/test/test_create_mascot_dto.py +54 -0
- victorycode_sdk-1.0.0/test/test_create_team_dto.py +60 -0
- victorycode_sdk-1.0.0/test/test_create_team_response_dto.py +70 -0
- victorycode_sdk-1.0.0/test/test_create_venue_dto.py +69 -0
- victorycode_sdk-1.0.0/test/test_defense_section_dto.py +92 -0
- victorycode_sdk-1.0.0/test/test_defense_stats_dto.py +70 -0
- victorycode_sdk-1.0.0/test/test_defense_totals_dto.py +64 -0
- victorycode_sdk-1.0.0/test/test_delete_response_dto.py +54 -0
- victorycode_sdk-1.0.0/test/test_down_efficiency_dto.py +54 -0
- victorycode_sdk-1.0.0/test/test_fetch_team_response_dto.py +70 -0
- victorycode_sdk-1.0.0/test/test_fumble_section_dto.py +76 -0
- victorycode_sdk-1.0.0/test/test_fumble_stats_dto.py +62 -0
- victorycode_sdk-1.0.0/test/test_fumble_totals_dto.py +56 -0
- victorycode_sdk-1.0.0/test/test_game_all_play_list_item_dto.py +100 -0
- victorycode_sdk-1.0.0/test/test_game_box_score_meta_dto.py +68 -0
- victorycode_sdk-1.0.0/test/test_game_box_score_response_dto.py +640 -0
- victorycode_sdk-1.0.0/test/test_game_box_score_teams_dto.py +618 -0
- victorycode_sdk-1.0.0/test/test_game_details_response.py +84 -0
- victorycode_sdk-1.0.0/test/test_game_recap_api.py +66 -0
- victorycode_sdk-1.0.0/test/test_game_recap_scoring_summary_pro_response.py +114 -0
- victorycode_sdk-1.0.0/test/test_game_recap_scoring_summary_response.py +80 -0
- victorycode_sdk-1.0.0/test/test_game_recap_team_stats_response.py +190 -0
- victorycode_sdk-1.0.0/test/test_game_score_response.py +114 -0
- victorycode_sdk-1.0.0/test/test_game_scoring_summary_data_dto.py +68 -0
- victorycode_sdk-1.0.0/test/test_games_api.py +66 -0
- victorycode_sdk-1.0.0/test/test_get_parts_presign_url_response.py +52 -0
- victorycode_sdk-1.0.0/test/test_get_parts_presign_url_response_dto.py +56 -0
- victorycode_sdk-1.0.0/test/test_initiate_multipart_upload_dto.py +55 -0
- victorycode_sdk-1.0.0/test/test_initiate_multipart_upload_response.py +52 -0
- victorycode_sdk-1.0.0/test/test_initiate_multipart_upload_response_dto.py +56 -0
- victorycode_sdk-1.0.0/test/test_interception_section_dto.py +76 -0
- victorycode_sdk-1.0.0/test/test_interception_stats_dto.py +62 -0
- victorycode_sdk-1.0.0/test/test_interception_totals_dto.py +56 -0
- victorycode_sdk-1.0.0/test/test_kicking_section_dto.py +92 -0
- victorycode_sdk-1.0.0/test/test_kicking_stats_dto.py +70 -0
- victorycode_sdk-1.0.0/test/test_kicking_totals_dto.py +64 -0
- victorycode_sdk-1.0.0/test/test_line_of_scrimmage_dto.py +54 -0
- victorycode_sdk-1.0.0/test/test_list_classification_paginated_response_dto.py +66 -0
- victorycode_sdk-1.0.0/test/test_list_game_all_plays_response_dto.py +114 -0
- victorycode_sdk-1.0.0/test/test_list_games_paginated_response_dto.py +96 -0
- victorycode_sdk-1.0.0/test/test_list_mascot_paginated_response_dto.py +72 -0
- victorycode_sdk-1.0.0/test/test_list_play_clips_response_dto.py +114 -0
- victorycode_sdk-1.0.0/test/test_list_team_paginated_response_dto.py +82 -0
- victorycode_sdk-1.0.0/test/test_list_venue_paginated_response_dto.py +84 -0
- victorycode_sdk-1.0.0/test/test_list_video_paginated_response_dto.py +74 -0
- victorycode_sdk-1.0.0/test/test_mascot.py +54 -0
- victorycode_sdk-1.0.0/test/test_mascot_api.py +59 -0
- victorycode_sdk-1.0.0/test/test_mascot_response_dto.py +60 -0
- victorycode_sdk-1.0.0/test/test_not_found_error_response_dto.py +54 -0
- victorycode_sdk-1.0.0/test/test_offense_dto.py +56 -0
- victorycode_sdk-1.0.0/test/test_passing_dto.py +62 -0
- victorycode_sdk-1.0.0/test/test_passing_section_dto.py +104 -0
- victorycode_sdk-1.0.0/test/test_passing_stats_dto.py +74 -0
- victorycode_sdk-1.0.0/test/test_passing_totals_dto.py +68 -0
- victorycode_sdk-1.0.0/test/test_period_score_dto.py +58 -0
- victorycode_sdk-1.0.0/test/test_play_attributes_list_dto.py +70 -0
- victorycode_sdk-1.0.0/test/test_play_clip_list_details_dto.py +68 -0
- victorycode_sdk-1.0.0/test/test_play_clip_list_item_dto.py +98 -0
- victorycode_sdk-1.0.0/test/test_plays_events_api.py +52 -0
- victorycode_sdk-1.0.0/test/test_pro_scoring_play_dto.py +102 -0
- victorycode_sdk-1.0.0/test/test_receiving_section_dto.py +88 -0
- victorycode_sdk-1.0.0/test/test_receiving_stats_dto.py +68 -0
- victorycode_sdk-1.0.0/test/test_receiving_totals_dto.py +62 -0
- victorycode_sdk-1.0.0/test/test_red_zone_dto.py +54 -0
- victorycode_sdk-1.0.0/test/test_rushing_dto.py +56 -0
- victorycode_sdk-1.0.0/test/test_rushing_section_dto.py +84 -0
- victorycode_sdk-1.0.0/test/test_rushing_stats_dto.py +66 -0
- victorycode_sdk-1.0.0/test/test_rushing_totals_dto.py +60 -0
- victorycode_sdk-1.0.0/test/test_scoring_play_player_involved_dto.py +58 -0
- victorycode_sdk-1.0.0/test/test_scoring_summary_pro_team_dto.py +54 -0
- victorycode_sdk-1.0.0/test/test_single_classification_response_dto.py +58 -0
- victorycode_sdk-1.0.0/test/test_single_mascot_response_dto.py +64 -0
- victorycode_sdk-1.0.0/test/test_single_team_response_dto.py +74 -0
- victorycode_sdk-1.0.0/test/test_single_venue_response_dto.py +76 -0
- victorycode_sdk-1.0.0/test/test_single_video_response_dto.py +64 -0
- victorycode_sdk-1.0.0/test/test_team_basic_info_dto.py +60 -0
- victorycode_sdk-1.0.0/test/test_team_box_score_dto.py +331 -0
- victorycode_sdk-1.0.0/test/test_team_score_dto.py +78 -0
- victorycode_sdk-1.0.0/test/test_team_stats_dto.py +116 -0
- victorycode_sdk-1.0.0/test/test_teams_api.py +59 -0
- victorycode_sdk-1.0.0/test/test_token_response.py +56 -0
- victorycode_sdk-1.0.0/test/test_turnovers_dto.py +56 -0
- victorycode_sdk-1.0.0/test/test_unauthorized_error_response_dto.py +54 -0
- victorycode_sdk-1.0.0/test/test_update_classification_dto.py +52 -0
- victorycode_sdk-1.0.0/test/test_update_mascot_dto.py +52 -0
- victorycode_sdk-1.0.0/test/test_update_team_dto.py +56 -0
- victorycode_sdk-1.0.0/test/test_update_venue_dto.py +61 -0
- victorycode_sdk-1.0.0/test/test_uploads_api.py +52 -0
- victorycode_sdk-1.0.0/test/test_venue.py +72 -0
- victorycode_sdk-1.0.0/test/test_venue_api.py +59 -0
- victorycode_sdk-1.0.0/test/test_video_list_item_dto.py +60 -0
- victorycode_sdk-1.0.0/victorycode_sdk/__init__.py +260 -0
- victorycode_sdk-1.0.0/victorycode_sdk/api/__init__.py +13 -0
- victorycode_sdk-1.0.0/victorycode_sdk/api/authentication_api.py +285 -0
- victorycode_sdk-1.0.0/victorycode_sdk/api/classification_api.py +1203 -0
- victorycode_sdk-1.0.0/victorycode_sdk/api/game_recap_api.py +1395 -0
- victorycode_sdk-1.0.0/victorycode_sdk/api/games_api.py +1497 -0
- victorycode_sdk-1.0.0/victorycode_sdk/api/mascot_api.py +1203 -0
- victorycode_sdk-1.0.0/victorycode_sdk/api/plays_events_api.py +1057 -0
- victorycode_sdk-1.0.0/victorycode_sdk/api/teams_api.py +1220 -0
- victorycode_sdk-1.0.0/victorycode_sdk/api/uploads_api.py +872 -0
- victorycode_sdk-1.0.0/victorycode_sdk/api/venue_api.py +1203 -0
- victorycode_sdk-1.0.0/victorycode_sdk/api_client.py +833 -0
- victorycode_sdk-1.0.0/victorycode_sdk/api_response.py +21 -0
- victorycode_sdk-1.0.0/victorycode_sdk/configuration.py +698 -0
- victorycode_sdk-1.0.0/victorycode_sdk/exceptions.py +218 -0
- victorycode_sdk-1.0.0/victorycode_sdk/models/__init__.py +114 -0
- victorycode_sdk-1.0.0/victorycode_sdk/models/add_video_to_game_with_s3_link_dto.py +90 -0
- victorycode_sdk-1.0.0/victorycode_sdk/models/address.py +96 -0
- victorycode_sdk-1.0.0/victorycode_sdk/models/address_dto.py +96 -0
- victorycode_sdk-1.0.0/victorycode_sdk/models/bad_request_error_response_dto.py +90 -0
- victorycode_sdk-1.0.0/victorycode_sdk/models/classification.py +90 -0
- victorycode_sdk-1.0.0/victorycode_sdk/models/client_create_game_with_video_url_dto.py +130 -0
- victorycode_sdk-1.0.0/victorycode_sdk/models/complete_multipart_upload_dto.py +97 -0
- victorycode_sdk-1.0.0/victorycode_sdk/models/complete_multipart_upload_response.py +90 -0
- victorycode_sdk-1.0.0/victorycode_sdk/models/complete_multipart_upload_response_dto.py +94 -0
- victorycode_sdk-1.0.0/victorycode_sdk/models/completed_part_dto.py +90 -0
- victorycode_sdk-1.0.0/victorycode_sdk/models/conflict_error_response_dto.py +90 -0
- victorycode_sdk-1.0.0/victorycode_sdk/models/coordinates.py +90 -0
- victorycode_sdk-1.0.0/victorycode_sdk/models/coordinates_dto.py +90 -0
- victorycode_sdk-1.0.0/victorycode_sdk/models/create_classification_dto.py +90 -0
- victorycode_sdk-1.0.0/victorycode_sdk/models/create_mascot_dto.py +90 -0
- victorycode_sdk-1.0.0/victorycode_sdk/models/create_team_dto.py +108 -0
- victorycode_sdk-1.0.0/victorycode_sdk/models/create_team_response_dto.py +106 -0
- victorycode_sdk-1.0.0/victorycode_sdk/models/create_venue_dto.py +102 -0
- victorycode_sdk-1.0.0/victorycode_sdk/models/defense_section_dto.py +101 -0
- victorycode_sdk-1.0.0/victorycode_sdk/models/defense_stats_dto.py +106 -0
- victorycode_sdk-1.0.0/victorycode_sdk/models/defense_totals_dto.py +100 -0
- victorycode_sdk-1.0.0/victorycode_sdk/models/delete_response_dto.py +90 -0
- victorycode_sdk-1.0.0/victorycode_sdk/models/down_efficiency_dto.py +90 -0
- victorycode_sdk-1.0.0/victorycode_sdk/models/fetch_team_response_dto.py +117 -0
- victorycode_sdk-1.0.0/victorycode_sdk/models/fumble_section_dto.py +101 -0
- victorycode_sdk-1.0.0/victorycode_sdk/models/fumble_stats_dto.py +98 -0
- victorycode_sdk-1.0.0/victorycode_sdk/models/fumble_totals_dto.py +92 -0
- victorycode_sdk-1.0.0/victorycode_sdk/models/game_all_play_list_item_dto.py +106 -0
- victorycode_sdk-1.0.0/victorycode_sdk/models/game_box_score_meta_dto.py +104 -0
- victorycode_sdk-1.0.0/victorycode_sdk/models/game_box_score_response_dto.py +98 -0
- victorycode_sdk-1.0.0/victorycode_sdk/models/game_box_score_teams_dto.py +97 -0
- victorycode_sdk-1.0.0/victorycode_sdk/models/game_details_response.py +108 -0
- victorycode_sdk-1.0.0/victorycode_sdk/models/game_recap_scoring_summary_pro_response.py +101 -0
- victorycode_sdk-1.0.0/victorycode_sdk/models/game_recap_scoring_summary_response.py +101 -0
- victorycode_sdk-1.0.0/victorycode_sdk/models/game_recap_team_stats_response.py +101 -0
- victorycode_sdk-1.0.0/victorycode_sdk/models/game_score_response.py +101 -0
- victorycode_sdk-1.0.0/victorycode_sdk/models/game_scoring_summary_data_dto.py +104 -0
- victorycode_sdk-1.0.0/victorycode_sdk/models/get_parts_presign_url_response.py +88 -0
- victorycode_sdk-1.0.0/victorycode_sdk/models/get_parts_presign_url_response_dto.py +94 -0
- victorycode_sdk-1.0.0/victorycode_sdk/models/initiate_multipart_upload_dto.py +92 -0
- victorycode_sdk-1.0.0/victorycode_sdk/models/initiate_multipart_upload_response.py +88 -0
- victorycode_sdk-1.0.0/victorycode_sdk/models/initiate_multipart_upload_response_dto.py +94 -0
- victorycode_sdk-1.0.0/victorycode_sdk/models/interception_section_dto.py +101 -0
- victorycode_sdk-1.0.0/victorycode_sdk/models/interception_stats_dto.py +98 -0
- victorycode_sdk-1.0.0/victorycode_sdk/models/interception_totals_dto.py +92 -0
- victorycode_sdk-1.0.0/victorycode_sdk/models/kicking_section_dto.py +101 -0
- victorycode_sdk-1.0.0/victorycode_sdk/models/kicking_stats_dto.py +106 -0
- victorycode_sdk-1.0.0/victorycode_sdk/models/kicking_totals_dto.py +100 -0
- victorycode_sdk-1.0.0/victorycode_sdk/models/line_of_scrimmage_dto.py +90 -0
- victorycode_sdk-1.0.0/victorycode_sdk/models/list_classification_paginated_response_dto.py +101 -0
- victorycode_sdk-1.0.0/victorycode_sdk/models/list_game_all_plays_response_dto.py +103 -0
- victorycode_sdk-1.0.0/victorycode_sdk/models/list_games_paginated_response_dto.py +101 -0
- victorycode_sdk-1.0.0/victorycode_sdk/models/list_mascot_paginated_response_dto.py +101 -0
- victorycode_sdk-1.0.0/victorycode_sdk/models/list_play_clips_response_dto.py +105 -0
- victorycode_sdk-1.0.0/victorycode_sdk/models/list_team_paginated_response_dto.py +101 -0
- victorycode_sdk-1.0.0/victorycode_sdk/models/list_venue_paginated_response_dto.py +101 -0
- victorycode_sdk-1.0.0/victorycode_sdk/models/list_video_paginated_response_dto.py +103 -0
- victorycode_sdk-1.0.0/victorycode_sdk/models/mascot.py +90 -0
- victorycode_sdk-1.0.0/victorycode_sdk/models/mascot_response_dto.py +96 -0
- victorycode_sdk-1.0.0/victorycode_sdk/models/not_found_error_response_dto.py +90 -0
- victorycode_sdk-1.0.0/victorycode_sdk/models/offense_dto.py +92 -0
- victorycode_sdk-1.0.0/victorycode_sdk/models/passing_dto.py +98 -0
- victorycode_sdk-1.0.0/victorycode_sdk/models/passing_section_dto.py +101 -0
- victorycode_sdk-1.0.0/victorycode_sdk/models/passing_stats_dto.py +117 -0
- victorycode_sdk-1.0.0/victorycode_sdk/models/passing_totals_dto.py +111 -0
- victorycode_sdk-1.0.0/victorycode_sdk/models/period_score_dto.py +94 -0
- victorycode_sdk-1.0.0/victorycode_sdk/models/play_attributes_list_dto.py +106 -0
- victorycode_sdk-1.0.0/victorycode_sdk/models/play_clip_list_details_dto.py +104 -0
- victorycode_sdk-1.0.0/victorycode_sdk/models/play_clip_list_item_dto.py +104 -0
- victorycode_sdk-1.0.0/victorycode_sdk/models/pro_scoring_play_dto.py +202 -0
- victorycode_sdk-1.0.0/victorycode_sdk/models/receiving_section_dto.py +101 -0
- victorycode_sdk-1.0.0/victorycode_sdk/models/receiving_stats_dto.py +104 -0
- victorycode_sdk-1.0.0/victorycode_sdk/models/receiving_totals_dto.py +98 -0
- victorycode_sdk-1.0.0/victorycode_sdk/models/red_zone_dto.py +90 -0
- victorycode_sdk-1.0.0/victorycode_sdk/models/rushing_dto.py +92 -0
- victorycode_sdk-1.0.0/victorycode_sdk/models/rushing_section_dto.py +101 -0
- victorycode_sdk-1.0.0/victorycode_sdk/models/rushing_stats_dto.py +102 -0
- victorycode_sdk-1.0.0/victorycode_sdk/models/rushing_totals_dto.py +96 -0
- victorycode_sdk-1.0.0/victorycode_sdk/models/scoring_play_player_involved_dto.py +106 -0
- victorycode_sdk-1.0.0/victorycode_sdk/models/scoring_summary_pro_team_dto.py +90 -0
- victorycode_sdk-1.0.0/victorycode_sdk/models/single_classification_response_dto.py +94 -0
- victorycode_sdk-1.0.0/victorycode_sdk/models/single_mascot_response_dto.py +94 -0
- victorycode_sdk-1.0.0/victorycode_sdk/models/single_team_response_dto.py +94 -0
- victorycode_sdk-1.0.0/victorycode_sdk/models/single_venue_response_dto.py +99 -0
- victorycode_sdk-1.0.0/victorycode_sdk/models/single_video_response_dto.py +94 -0
- victorycode_sdk-1.0.0/victorycode_sdk/models/team_basic_info_dto.py +96 -0
- victorycode_sdk-1.0.0/victorycode_sdk/models/team_box_score_dto.py +139 -0
- victorycode_sdk-1.0.0/victorycode_sdk/models/team_score_dto.py +109 -0
- victorycode_sdk-1.0.0/victorycode_sdk/models/team_stats_dto.py +137 -0
- victorycode_sdk-1.0.0/victorycode_sdk/models/token_response.py +92 -0
- victorycode_sdk-1.0.0/victorycode_sdk/models/turnovers_dto.py +92 -0
- victorycode_sdk-1.0.0/victorycode_sdk/models/unauthorized_error_response_dto.py +90 -0
- victorycode_sdk-1.0.0/victorycode_sdk/models/update_classification_dto.py +90 -0
- victorycode_sdk-1.0.0/victorycode_sdk/models/update_mascot_dto.py +90 -0
- victorycode_sdk-1.0.0/victorycode_sdk/models/update_team_dto.py +108 -0
- victorycode_sdk-1.0.0/victorycode_sdk/models/update_venue_dto.py +102 -0
- victorycode_sdk-1.0.0/victorycode_sdk/models/venue.py +102 -0
- victorycode_sdk-1.0.0/victorycode_sdk/models/video_list_item_dto.py +96 -0
- victorycode_sdk-1.0.0/victorycode_sdk/py.typed +0 -0
- victorycode_sdk-1.0.0/victorycode_sdk/rest.py +334 -0
- victorycode_sdk-1.0.0/victorycode_sdk.egg-info/PKG-INFO +288 -0
- victorycode_sdk-1.0.0/victorycode_sdk.egg-info/SOURCES.txt +233 -0
- victorycode_sdk-1.0.0/victorycode_sdk.egg-info/dependency_links.txt +1 -0
- victorycode_sdk-1.0.0/victorycode_sdk.egg-info/requires.txt +4 -0
- victorycode_sdk-1.0.0/victorycode_sdk.egg-info/top_level.txt +1 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Victory Code
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,288 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: victorycode_sdk
|
|
3
|
+
Version: 1.0.0
|
|
4
|
+
Summary: Victory Code Client API
|
|
5
|
+
Home-page: https://github.com/victory-code-ai/victorycode-sdks
|
|
6
|
+
Author: Victory Code
|
|
7
|
+
License-Expression: MIT
|
|
8
|
+
Project-URL: Repository, https://github.com/victory-code-ai/victorycode-sdks
|
|
9
|
+
Keywords: OpenAPI,OpenAPI-Generator,Victory Code Client API
|
|
10
|
+
Requires-Python: >=3.10
|
|
11
|
+
Description-Content-Type: text/markdown
|
|
12
|
+
License-File: LICENSE
|
|
13
|
+
Requires-Dist: urllib3<3.0.0,>=2.7.0
|
|
14
|
+
Requires-Dist: python-dateutil>=2.8.2
|
|
15
|
+
Requires-Dist: pydantic>=2.11
|
|
16
|
+
Requires-Dist: typing-extensions>=4.7.1
|
|
17
|
+
Dynamic: home-page
|
|
18
|
+
Dynamic: license-file
|
|
19
|
+
|
|
20
|
+
# victorycode-sdk
|
|
21
|
+
Client APIs for Tactix partners: authenticate, upload game video, and retrieve games, plays, game recaps and team metadata.
|
|
22
|
+
|
|
23
|
+
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
24
|
+
|
|
25
|
+
- API version: 1.0
|
|
26
|
+
- Package version: 1.0.0
|
|
27
|
+
- Generator version: 7.25.0
|
|
28
|
+
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
|
|
29
|
+
|
|
30
|
+
## Requirements.
|
|
31
|
+
|
|
32
|
+
Python 3.10+
|
|
33
|
+
|
|
34
|
+
## Installation & Usage
|
|
35
|
+
### pip install
|
|
36
|
+
|
|
37
|
+
If the python package is hosted on a repository, you can install directly using:
|
|
38
|
+
|
|
39
|
+
```sh
|
|
40
|
+
pip install git+https://github.com/victory-code-ai/victorycode-sdks.git
|
|
41
|
+
```
|
|
42
|
+
(you may need to run `pip` with root permission: `sudo pip install git+https://github.com/victory-code-ai/victorycode-sdks.git`)
|
|
43
|
+
|
|
44
|
+
Then import the package:
|
|
45
|
+
```python
|
|
46
|
+
import victorycode_sdk
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
### Setuptools
|
|
50
|
+
|
|
51
|
+
Install via [Setuptools](http://pypi.python.org/pypi/setuptools).
|
|
52
|
+
|
|
53
|
+
```sh
|
|
54
|
+
python setup.py install --user
|
|
55
|
+
```
|
|
56
|
+
(or `sudo python setup.py install` to install the package for all users)
|
|
57
|
+
|
|
58
|
+
Then import the package:
|
|
59
|
+
```python
|
|
60
|
+
import victorycode_sdk
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
### Tests
|
|
64
|
+
|
|
65
|
+
Execute `pytest` to run the tests.
|
|
66
|
+
|
|
67
|
+
## Getting Started
|
|
68
|
+
|
|
69
|
+
Please follow the [installation procedure](#installation--usage) and then run the following:
|
|
70
|
+
|
|
71
|
+
```python
|
|
72
|
+
|
|
73
|
+
import victorycode_sdk
|
|
74
|
+
from victorycode_sdk.rest import ApiException
|
|
75
|
+
from pprint import pprint
|
|
76
|
+
|
|
77
|
+
# Defining the host is optional and defaults to https://sandbox.api.tactixai.com
|
|
78
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
79
|
+
configuration = victorycode_sdk.Configuration(
|
|
80
|
+
host = "https://sandbox.api.tactixai.com"
|
|
81
|
+
)
|
|
82
|
+
|
|
83
|
+
# The client must configure the authentication and authorization parameters
|
|
84
|
+
# in accordance with the API server security policy.
|
|
85
|
+
# Examples for each auth method are provided below, use the example that
|
|
86
|
+
# satisfies your auth use case.
|
|
87
|
+
|
|
88
|
+
# Configure API key authorization: AppSecret
|
|
89
|
+
configuration.api_key['AppSecret'] = os.environ["API_KEY"]
|
|
90
|
+
|
|
91
|
+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
92
|
+
# configuration.api_key_prefix['AppSecret'] = 'Bearer'
|
|
93
|
+
|
|
94
|
+
# Configure API key authorization: Client-App-Id
|
|
95
|
+
configuration.api_key['Client-App-Id'] = os.environ["API_KEY"]
|
|
96
|
+
|
|
97
|
+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
98
|
+
# configuration.api_key_prefix['Client-App-Id'] = 'Bearer'
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
# Enter a context with an instance of the API client
|
|
102
|
+
with victorycode_sdk.ApiClient(configuration) as api_client:
|
|
103
|
+
# Create an instance of the API class
|
|
104
|
+
api_instance = victorycode_sdk.AuthenticationApi(api_client)
|
|
105
|
+
|
|
106
|
+
try:
|
|
107
|
+
# Get Access Token
|
|
108
|
+
api_response = api_instance.get_access_token()
|
|
109
|
+
print("The response of AuthenticationApi->get_access_token:\n")
|
|
110
|
+
pprint(api_response)
|
|
111
|
+
except ApiException as e:
|
|
112
|
+
print("Exception when calling AuthenticationApi->get_access_token: %s\n" % e)
|
|
113
|
+
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
## Documentation for API Endpoints
|
|
117
|
+
|
|
118
|
+
All URIs are relative to *https://sandbox.api.tactixai.com*
|
|
119
|
+
|
|
120
|
+
Class | Method | HTTP request | Description
|
|
121
|
+
------------ | ------------- | ------------- | -------------
|
|
122
|
+
*AuthenticationApi* | [**get_access_token**](docs/AuthenticationApi.md#get_access_token) | **GET** /api/v1/client/auth/token | Get Access Token
|
|
123
|
+
*ClassificationApi* | [**create_classification**](docs/ClassificationApi.md#create_classification) | **POST** /api/v1/client/classifications | Create a new classification
|
|
124
|
+
*ClassificationApi* | [**delete_classification**](docs/ClassificationApi.md#delete_classification) | **DELETE** /api/v1/client/classifications/{id} | Delete a classification
|
|
125
|
+
*ClassificationApi* | [**get_classifications**](docs/ClassificationApi.md#get_classifications) | **GET** /api/v1/client/classifications | Get all classifications
|
|
126
|
+
*ClassificationApi* | [**update_classification**](docs/ClassificationApi.md#update_classification) | **PATCH** /api/v1/client/classifications/{id} | Update a classification
|
|
127
|
+
*GameRecapApi* | [**get_game_recap_game_box_score**](docs/GameRecapApi.md#get_game_recap_game_box_score) | **GET** /api/v1/client/game-recap/{videoId}/game-box-score | Get the Game Recap Game Box Score for a specific Game.
|
|
128
|
+
*GameRecapApi* | [**get_game_recap_score**](docs/GameRecapApi.md#get_game_recap_score) | **GET** /api/v1/client/game-recap/{videoId}/score | Get the Game Recap Score for a specific Game.
|
|
129
|
+
*GameRecapApi* | [**get_game_recap_scoring_summary**](docs/GameRecapApi.md#get_game_recap_scoring_summary) | **GET** /api/v1/client/game-recap/{videoId}/scoring-summary | Get the Game Recap Scoring Summary for a specific Game.
|
|
130
|
+
*GameRecapApi* | [**get_game_recap_scoring_summary_pro**](docs/GameRecapApi.md#get_game_recap_scoring_summary_pro) | **GET** /api/v1/client/game-recap/{videoId}/scoring-summary-pro | Get the Game Recap Scoring Summary Pro for a specific Game.
|
|
131
|
+
*GameRecapApi* | [**get_game_recap_team_stats**](docs/GameRecapApi.md#get_game_recap_team_stats) | **GET** /api/v1/client/game-recap/{videoId}/team-stats | Get the Game Recap Team Stats for a specific Game.
|
|
132
|
+
*GamesApi* | [**add_video_to_game**](docs/GamesApi.md#add_video_to_game) | **POST** /api/v1/client/games/{gameId}/video | Add new video to a game
|
|
133
|
+
*GamesApi* | [**create_game_with_video_url**](docs/GamesApi.md#create_game_with_video_url) | **POST** /api/v1/client/games | Create a new Game with Video URL
|
|
134
|
+
*GamesApi* | [**get_game_details**](docs/GamesApi.md#get_game_details) | **GET** /api/v1/client/games/{gameId} | Get a Single Game.
|
|
135
|
+
*GamesApi* | [**get_games**](docs/GamesApi.md#get_games) | **GET** /api/v1/client/games | List and Filter Games.
|
|
136
|
+
*GamesApi* | [**get_videos_of_game**](docs/GamesApi.md#get_videos_of_game) | **GET** /api/v1/client/games/{gameId}/videos | Get a list of videos of a game
|
|
137
|
+
*MascotApi* | [**create_mascot**](docs/MascotApi.md#create_mascot) | **POST** /api/v1/client/mascots | Create a new mascot
|
|
138
|
+
*MascotApi* | [**delete_mascot**](docs/MascotApi.md#delete_mascot) | **DELETE** /api/v1/client/mascots/{id} | Delete a mascot
|
|
139
|
+
*MascotApi* | [**get_mascots**](docs/MascotApi.md#get_mascots) | **GET** /api/v1/client/mascots | Get all mascots
|
|
140
|
+
*MascotApi* | [**update_mascot**](docs/MascotApi.md#update_mascot) | **PATCH** /api/v1/client/mascots/{id} | Update a mascot
|
|
141
|
+
*PlaysEventsApi* | [**get_play_by_id**](docs/PlaysEventsApi.md#get_play_by_id) | **GET** /api/v1/client/plays/{playId} | Get the single Play Clip
|
|
142
|
+
*PlaysEventsApi* | [**get_plays_of_game**](docs/PlaysEventsApi.md#get_plays_of_game) | **GET** /api/v1/client/game/{gameId}/plays | Get a list of all plays for a game
|
|
143
|
+
*PlaysEventsApi* | [**get_plays_of_video**](docs/PlaysEventsApi.md#get_plays_of_video) | **GET** /api/v1/client/videos/{videoId}/plays | Get a list of play clips for a video
|
|
144
|
+
*TeamsApi* | [**create_team**](docs/TeamsApi.md#create_team) | **POST** /api/v1/client/teams | Create a new team
|
|
145
|
+
*TeamsApi* | [**delete_team**](docs/TeamsApi.md#delete_team) | **DELETE** /api/v1/client/teams/{id} | Delete a team
|
|
146
|
+
*TeamsApi* | [**get_teams**](docs/TeamsApi.md#get_teams) | **GET** /api/v1/client/teams | Get teams
|
|
147
|
+
*TeamsApi* | [**update_team**](docs/TeamsApi.md#update_team) | **PATCH** /api/v1/client/teams/{id} | Update a team
|
|
148
|
+
*UploadsApi* | [**complete_multipart_upload**](docs/UploadsApi.md#complete_multipart_upload) | **POST** /api/v1/client/complete-upload | Complete a multipart upload to S3
|
|
149
|
+
*UploadsApi* | [**get_presigned_url**](docs/UploadsApi.md#get_presigned_url) | **GET** /api/v1/client/upload-presigned-url | Get a presigned URL for a specific part of a multipart upload
|
|
150
|
+
*UploadsApi* | [**initiate_upload**](docs/UploadsApi.md#initiate_upload) | **POST** /api/v1/client/initiate-upload | Initiate a multipart upload to S3 for a large file
|
|
151
|
+
*VenueApi* | [**create_venue**](docs/VenueApi.md#create_venue) | **POST** /api/v1/client/venue | Create a new venue
|
|
152
|
+
*VenueApi* | [**delete_venue**](docs/VenueApi.md#delete_venue) | **DELETE** /api/v1/client/venue/{id} | Delete a venue
|
|
153
|
+
*VenueApi* | [**get_venues**](docs/VenueApi.md#get_venues) | **GET** /api/v1/client/venues | Get all venues
|
|
154
|
+
*VenueApi* | [**update_venue**](docs/VenueApi.md#update_venue) | **PATCH** /api/v1/client/venue/{id} | Update a venue
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
## Documentation For Models
|
|
158
|
+
|
|
159
|
+
- [AddVideoToGameWithS3LinkDto](docs/AddVideoToGameWithS3LinkDto.md)
|
|
160
|
+
- [Address](docs/Address.md)
|
|
161
|
+
- [AddressDto](docs/AddressDto.md)
|
|
162
|
+
- [BadRequestErrorResponseDto](docs/BadRequestErrorResponseDto.md)
|
|
163
|
+
- [Classification](docs/Classification.md)
|
|
164
|
+
- [ClientCreateGameWithVideoUrlDto](docs/ClientCreateGameWithVideoUrlDto.md)
|
|
165
|
+
- [CompleteMultipartUploadDto](docs/CompleteMultipartUploadDto.md)
|
|
166
|
+
- [CompleteMultipartUploadResponse](docs/CompleteMultipartUploadResponse.md)
|
|
167
|
+
- [CompleteMultipartUploadResponseDto](docs/CompleteMultipartUploadResponseDto.md)
|
|
168
|
+
- [CompletedPartDto](docs/CompletedPartDto.md)
|
|
169
|
+
- [ConflictErrorResponseDto](docs/ConflictErrorResponseDto.md)
|
|
170
|
+
- [Coordinates](docs/Coordinates.md)
|
|
171
|
+
- [CoordinatesDto](docs/CoordinatesDto.md)
|
|
172
|
+
- [CreateClassificationDto](docs/CreateClassificationDto.md)
|
|
173
|
+
- [CreateMascotDto](docs/CreateMascotDto.md)
|
|
174
|
+
- [CreateTeamDto](docs/CreateTeamDto.md)
|
|
175
|
+
- [CreateTeamResponseDto](docs/CreateTeamResponseDto.md)
|
|
176
|
+
- [CreateVenueDto](docs/CreateVenueDto.md)
|
|
177
|
+
- [DefenseSectionDto](docs/DefenseSectionDto.md)
|
|
178
|
+
- [DefenseStatsDto](docs/DefenseStatsDto.md)
|
|
179
|
+
- [DefenseTotalsDto](docs/DefenseTotalsDto.md)
|
|
180
|
+
- [DeleteResponseDto](docs/DeleteResponseDto.md)
|
|
181
|
+
- [DownEfficiencyDto](docs/DownEfficiencyDto.md)
|
|
182
|
+
- [FetchTeamResponseDto](docs/FetchTeamResponseDto.md)
|
|
183
|
+
- [FumbleSectionDto](docs/FumbleSectionDto.md)
|
|
184
|
+
- [FumbleStatsDto](docs/FumbleStatsDto.md)
|
|
185
|
+
- [FumbleTotalsDto](docs/FumbleTotalsDto.md)
|
|
186
|
+
- [GameAllPlayListItemDto](docs/GameAllPlayListItemDto.md)
|
|
187
|
+
- [GameBoxScoreMetaDto](docs/GameBoxScoreMetaDto.md)
|
|
188
|
+
- [GameBoxScoreResponseDto](docs/GameBoxScoreResponseDto.md)
|
|
189
|
+
- [GameBoxScoreTeamsDto](docs/GameBoxScoreTeamsDto.md)
|
|
190
|
+
- [GameDetailsResponse](docs/GameDetailsResponse.md)
|
|
191
|
+
- [GameRecapScoringSummaryProResponse](docs/GameRecapScoringSummaryProResponse.md)
|
|
192
|
+
- [GameRecapScoringSummaryResponse](docs/GameRecapScoringSummaryResponse.md)
|
|
193
|
+
- [GameRecapTeamStatsResponse](docs/GameRecapTeamStatsResponse.md)
|
|
194
|
+
- [GameScoreResponse](docs/GameScoreResponse.md)
|
|
195
|
+
- [GameScoringSummaryDataDto](docs/GameScoringSummaryDataDto.md)
|
|
196
|
+
- [GetPartsPresignUrlResponse](docs/GetPartsPresignUrlResponse.md)
|
|
197
|
+
- [GetPartsPresignUrlResponseDto](docs/GetPartsPresignUrlResponseDto.md)
|
|
198
|
+
- [InitiateMultipartUploadDto](docs/InitiateMultipartUploadDto.md)
|
|
199
|
+
- [InitiateMultipartUploadResponse](docs/InitiateMultipartUploadResponse.md)
|
|
200
|
+
- [InitiateMultipartUploadResponseDto](docs/InitiateMultipartUploadResponseDto.md)
|
|
201
|
+
- [InterceptionSectionDto](docs/InterceptionSectionDto.md)
|
|
202
|
+
- [InterceptionStatsDto](docs/InterceptionStatsDto.md)
|
|
203
|
+
- [InterceptionTotalsDto](docs/InterceptionTotalsDto.md)
|
|
204
|
+
- [KickingSectionDto](docs/KickingSectionDto.md)
|
|
205
|
+
- [KickingStatsDto](docs/KickingStatsDto.md)
|
|
206
|
+
- [KickingTotalsDto](docs/KickingTotalsDto.md)
|
|
207
|
+
- [LineOfScrimmageDto](docs/LineOfScrimmageDto.md)
|
|
208
|
+
- [ListClassificationPaginatedResponseDto](docs/ListClassificationPaginatedResponseDto.md)
|
|
209
|
+
- [ListGameAllPlaysResponseDto](docs/ListGameAllPlaysResponseDto.md)
|
|
210
|
+
- [ListGamesPaginatedResponseDto](docs/ListGamesPaginatedResponseDto.md)
|
|
211
|
+
- [ListMascotPaginatedResponseDto](docs/ListMascotPaginatedResponseDto.md)
|
|
212
|
+
- [ListPlayClipsResponseDto](docs/ListPlayClipsResponseDto.md)
|
|
213
|
+
- [ListTeamPaginatedResponseDto](docs/ListTeamPaginatedResponseDto.md)
|
|
214
|
+
- [ListVenuePaginatedResponseDto](docs/ListVenuePaginatedResponseDto.md)
|
|
215
|
+
- [ListVideoPaginatedResponseDto](docs/ListVideoPaginatedResponseDto.md)
|
|
216
|
+
- [Mascot](docs/Mascot.md)
|
|
217
|
+
- [MascotResponseDto](docs/MascotResponseDto.md)
|
|
218
|
+
- [NotFoundErrorResponseDto](docs/NotFoundErrorResponseDto.md)
|
|
219
|
+
- [OffenseDto](docs/OffenseDto.md)
|
|
220
|
+
- [PassingDto](docs/PassingDto.md)
|
|
221
|
+
- [PassingSectionDto](docs/PassingSectionDto.md)
|
|
222
|
+
- [PassingStatsDto](docs/PassingStatsDto.md)
|
|
223
|
+
- [PassingTotalsDto](docs/PassingTotalsDto.md)
|
|
224
|
+
- [PeriodScoreDto](docs/PeriodScoreDto.md)
|
|
225
|
+
- [PlayAttributesListDto](docs/PlayAttributesListDto.md)
|
|
226
|
+
- [PlayClipListDetailsDto](docs/PlayClipListDetailsDto.md)
|
|
227
|
+
- [PlayClipListItemDto](docs/PlayClipListItemDto.md)
|
|
228
|
+
- [ProScoringPlayDto](docs/ProScoringPlayDto.md)
|
|
229
|
+
- [ReceivingSectionDto](docs/ReceivingSectionDto.md)
|
|
230
|
+
- [ReceivingStatsDto](docs/ReceivingStatsDto.md)
|
|
231
|
+
- [ReceivingTotalsDto](docs/ReceivingTotalsDto.md)
|
|
232
|
+
- [RedZoneDto](docs/RedZoneDto.md)
|
|
233
|
+
- [RushingDto](docs/RushingDto.md)
|
|
234
|
+
- [RushingSectionDto](docs/RushingSectionDto.md)
|
|
235
|
+
- [RushingStatsDto](docs/RushingStatsDto.md)
|
|
236
|
+
- [RushingTotalsDto](docs/RushingTotalsDto.md)
|
|
237
|
+
- [ScoringPlayPlayerInvolvedDto](docs/ScoringPlayPlayerInvolvedDto.md)
|
|
238
|
+
- [ScoringSummaryProTeamDto](docs/ScoringSummaryProTeamDto.md)
|
|
239
|
+
- [SingleClassificationResponseDto](docs/SingleClassificationResponseDto.md)
|
|
240
|
+
- [SingleMascotResponseDto](docs/SingleMascotResponseDto.md)
|
|
241
|
+
- [SingleTeamResponseDto](docs/SingleTeamResponseDto.md)
|
|
242
|
+
- [SingleVenueResponseDto](docs/SingleVenueResponseDto.md)
|
|
243
|
+
- [SingleVideoResponseDto](docs/SingleVideoResponseDto.md)
|
|
244
|
+
- [TeamBasicInfoDto](docs/TeamBasicInfoDto.md)
|
|
245
|
+
- [TeamBoxScoreDto](docs/TeamBoxScoreDto.md)
|
|
246
|
+
- [TeamScoreDto](docs/TeamScoreDto.md)
|
|
247
|
+
- [TeamStatsDto](docs/TeamStatsDto.md)
|
|
248
|
+
- [TokenResponse](docs/TokenResponse.md)
|
|
249
|
+
- [TurnoversDto](docs/TurnoversDto.md)
|
|
250
|
+
- [UnauthorizedErrorResponseDto](docs/UnauthorizedErrorResponseDto.md)
|
|
251
|
+
- [UpdateClassificationDto](docs/UpdateClassificationDto.md)
|
|
252
|
+
- [UpdateMascotDto](docs/UpdateMascotDto.md)
|
|
253
|
+
- [UpdateTeamDto](docs/UpdateTeamDto.md)
|
|
254
|
+
- [UpdateVenueDto](docs/UpdateVenueDto.md)
|
|
255
|
+
- [Venue](docs/Venue.md)
|
|
256
|
+
- [VideoListItemDto](docs/VideoListItemDto.md)
|
|
257
|
+
|
|
258
|
+
|
|
259
|
+
<a id="documentation-for-authorization"></a>
|
|
260
|
+
## Documentation For Authorization
|
|
261
|
+
|
|
262
|
+
|
|
263
|
+
Authentication schemes defined for the API:
|
|
264
|
+
<a id="Client-App-Id"></a>
|
|
265
|
+
### Client-App-Id
|
|
266
|
+
|
|
267
|
+
- **Type**: API key
|
|
268
|
+
- **API key parameter name**: App-Id
|
|
269
|
+
- **Location**: HTTP header
|
|
270
|
+
|
|
271
|
+
<a id="Client-App-Token"></a>
|
|
272
|
+
### Client-App-Token
|
|
273
|
+
|
|
274
|
+
- **Type**: Bearer authentication (JWT)
|
|
275
|
+
|
|
276
|
+
<a id="AppSecret"></a>
|
|
277
|
+
### AppSecret
|
|
278
|
+
|
|
279
|
+
- **Type**: API key
|
|
280
|
+
- **API key parameter name**: App-Secret
|
|
281
|
+
- **Location**: HTTP header
|
|
282
|
+
|
|
283
|
+
|
|
284
|
+
## Author
|
|
285
|
+
|
|
286
|
+
|
|
287
|
+
|
|
288
|
+
|
|
@@ -0,0 +1,269 @@
|
|
|
1
|
+
# victorycode-sdk
|
|
2
|
+
Client APIs for Tactix partners: authenticate, upload game video, and retrieve games, plays, game recaps and team metadata.
|
|
3
|
+
|
|
4
|
+
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
5
|
+
|
|
6
|
+
- API version: 1.0
|
|
7
|
+
- Package version: 1.0.0
|
|
8
|
+
- Generator version: 7.25.0
|
|
9
|
+
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
|
|
10
|
+
|
|
11
|
+
## Requirements.
|
|
12
|
+
|
|
13
|
+
Python 3.10+
|
|
14
|
+
|
|
15
|
+
## Installation & Usage
|
|
16
|
+
### pip install
|
|
17
|
+
|
|
18
|
+
If the python package is hosted on a repository, you can install directly using:
|
|
19
|
+
|
|
20
|
+
```sh
|
|
21
|
+
pip install git+https://github.com/victory-code-ai/victorycode-sdks.git
|
|
22
|
+
```
|
|
23
|
+
(you may need to run `pip` with root permission: `sudo pip install git+https://github.com/victory-code-ai/victorycode-sdks.git`)
|
|
24
|
+
|
|
25
|
+
Then import the package:
|
|
26
|
+
```python
|
|
27
|
+
import victorycode_sdk
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
### Setuptools
|
|
31
|
+
|
|
32
|
+
Install via [Setuptools](http://pypi.python.org/pypi/setuptools).
|
|
33
|
+
|
|
34
|
+
```sh
|
|
35
|
+
python setup.py install --user
|
|
36
|
+
```
|
|
37
|
+
(or `sudo python setup.py install` to install the package for all users)
|
|
38
|
+
|
|
39
|
+
Then import the package:
|
|
40
|
+
```python
|
|
41
|
+
import victorycode_sdk
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
### Tests
|
|
45
|
+
|
|
46
|
+
Execute `pytest` to run the tests.
|
|
47
|
+
|
|
48
|
+
## Getting Started
|
|
49
|
+
|
|
50
|
+
Please follow the [installation procedure](#installation--usage) and then run the following:
|
|
51
|
+
|
|
52
|
+
```python
|
|
53
|
+
|
|
54
|
+
import victorycode_sdk
|
|
55
|
+
from victorycode_sdk.rest import ApiException
|
|
56
|
+
from pprint import pprint
|
|
57
|
+
|
|
58
|
+
# Defining the host is optional and defaults to https://sandbox.api.tactixai.com
|
|
59
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
60
|
+
configuration = victorycode_sdk.Configuration(
|
|
61
|
+
host = "https://sandbox.api.tactixai.com"
|
|
62
|
+
)
|
|
63
|
+
|
|
64
|
+
# The client must configure the authentication and authorization parameters
|
|
65
|
+
# in accordance with the API server security policy.
|
|
66
|
+
# Examples for each auth method are provided below, use the example that
|
|
67
|
+
# satisfies your auth use case.
|
|
68
|
+
|
|
69
|
+
# Configure API key authorization: AppSecret
|
|
70
|
+
configuration.api_key['AppSecret'] = os.environ["API_KEY"]
|
|
71
|
+
|
|
72
|
+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
73
|
+
# configuration.api_key_prefix['AppSecret'] = 'Bearer'
|
|
74
|
+
|
|
75
|
+
# Configure API key authorization: Client-App-Id
|
|
76
|
+
configuration.api_key['Client-App-Id'] = os.environ["API_KEY"]
|
|
77
|
+
|
|
78
|
+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
79
|
+
# configuration.api_key_prefix['Client-App-Id'] = 'Bearer'
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
# Enter a context with an instance of the API client
|
|
83
|
+
with victorycode_sdk.ApiClient(configuration) as api_client:
|
|
84
|
+
# Create an instance of the API class
|
|
85
|
+
api_instance = victorycode_sdk.AuthenticationApi(api_client)
|
|
86
|
+
|
|
87
|
+
try:
|
|
88
|
+
# Get Access Token
|
|
89
|
+
api_response = api_instance.get_access_token()
|
|
90
|
+
print("The response of AuthenticationApi->get_access_token:\n")
|
|
91
|
+
pprint(api_response)
|
|
92
|
+
except ApiException as e:
|
|
93
|
+
print("Exception when calling AuthenticationApi->get_access_token: %s\n" % e)
|
|
94
|
+
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
## Documentation for API Endpoints
|
|
98
|
+
|
|
99
|
+
All URIs are relative to *https://sandbox.api.tactixai.com*
|
|
100
|
+
|
|
101
|
+
Class | Method | HTTP request | Description
|
|
102
|
+
------------ | ------------- | ------------- | -------------
|
|
103
|
+
*AuthenticationApi* | [**get_access_token**](docs/AuthenticationApi.md#get_access_token) | **GET** /api/v1/client/auth/token | Get Access Token
|
|
104
|
+
*ClassificationApi* | [**create_classification**](docs/ClassificationApi.md#create_classification) | **POST** /api/v1/client/classifications | Create a new classification
|
|
105
|
+
*ClassificationApi* | [**delete_classification**](docs/ClassificationApi.md#delete_classification) | **DELETE** /api/v1/client/classifications/{id} | Delete a classification
|
|
106
|
+
*ClassificationApi* | [**get_classifications**](docs/ClassificationApi.md#get_classifications) | **GET** /api/v1/client/classifications | Get all classifications
|
|
107
|
+
*ClassificationApi* | [**update_classification**](docs/ClassificationApi.md#update_classification) | **PATCH** /api/v1/client/classifications/{id} | Update a classification
|
|
108
|
+
*GameRecapApi* | [**get_game_recap_game_box_score**](docs/GameRecapApi.md#get_game_recap_game_box_score) | **GET** /api/v1/client/game-recap/{videoId}/game-box-score | Get the Game Recap Game Box Score for a specific Game.
|
|
109
|
+
*GameRecapApi* | [**get_game_recap_score**](docs/GameRecapApi.md#get_game_recap_score) | **GET** /api/v1/client/game-recap/{videoId}/score | Get the Game Recap Score for a specific Game.
|
|
110
|
+
*GameRecapApi* | [**get_game_recap_scoring_summary**](docs/GameRecapApi.md#get_game_recap_scoring_summary) | **GET** /api/v1/client/game-recap/{videoId}/scoring-summary | Get the Game Recap Scoring Summary for a specific Game.
|
|
111
|
+
*GameRecapApi* | [**get_game_recap_scoring_summary_pro**](docs/GameRecapApi.md#get_game_recap_scoring_summary_pro) | **GET** /api/v1/client/game-recap/{videoId}/scoring-summary-pro | Get the Game Recap Scoring Summary Pro for a specific Game.
|
|
112
|
+
*GameRecapApi* | [**get_game_recap_team_stats**](docs/GameRecapApi.md#get_game_recap_team_stats) | **GET** /api/v1/client/game-recap/{videoId}/team-stats | Get the Game Recap Team Stats for a specific Game.
|
|
113
|
+
*GamesApi* | [**add_video_to_game**](docs/GamesApi.md#add_video_to_game) | **POST** /api/v1/client/games/{gameId}/video | Add new video to a game
|
|
114
|
+
*GamesApi* | [**create_game_with_video_url**](docs/GamesApi.md#create_game_with_video_url) | **POST** /api/v1/client/games | Create a new Game with Video URL
|
|
115
|
+
*GamesApi* | [**get_game_details**](docs/GamesApi.md#get_game_details) | **GET** /api/v1/client/games/{gameId} | Get a Single Game.
|
|
116
|
+
*GamesApi* | [**get_games**](docs/GamesApi.md#get_games) | **GET** /api/v1/client/games | List and Filter Games.
|
|
117
|
+
*GamesApi* | [**get_videos_of_game**](docs/GamesApi.md#get_videos_of_game) | **GET** /api/v1/client/games/{gameId}/videos | Get a list of videos of a game
|
|
118
|
+
*MascotApi* | [**create_mascot**](docs/MascotApi.md#create_mascot) | **POST** /api/v1/client/mascots | Create a new mascot
|
|
119
|
+
*MascotApi* | [**delete_mascot**](docs/MascotApi.md#delete_mascot) | **DELETE** /api/v1/client/mascots/{id} | Delete a mascot
|
|
120
|
+
*MascotApi* | [**get_mascots**](docs/MascotApi.md#get_mascots) | **GET** /api/v1/client/mascots | Get all mascots
|
|
121
|
+
*MascotApi* | [**update_mascot**](docs/MascotApi.md#update_mascot) | **PATCH** /api/v1/client/mascots/{id} | Update a mascot
|
|
122
|
+
*PlaysEventsApi* | [**get_play_by_id**](docs/PlaysEventsApi.md#get_play_by_id) | **GET** /api/v1/client/plays/{playId} | Get the single Play Clip
|
|
123
|
+
*PlaysEventsApi* | [**get_plays_of_game**](docs/PlaysEventsApi.md#get_plays_of_game) | **GET** /api/v1/client/game/{gameId}/plays | Get a list of all plays for a game
|
|
124
|
+
*PlaysEventsApi* | [**get_plays_of_video**](docs/PlaysEventsApi.md#get_plays_of_video) | **GET** /api/v1/client/videos/{videoId}/plays | Get a list of play clips for a video
|
|
125
|
+
*TeamsApi* | [**create_team**](docs/TeamsApi.md#create_team) | **POST** /api/v1/client/teams | Create a new team
|
|
126
|
+
*TeamsApi* | [**delete_team**](docs/TeamsApi.md#delete_team) | **DELETE** /api/v1/client/teams/{id} | Delete a team
|
|
127
|
+
*TeamsApi* | [**get_teams**](docs/TeamsApi.md#get_teams) | **GET** /api/v1/client/teams | Get teams
|
|
128
|
+
*TeamsApi* | [**update_team**](docs/TeamsApi.md#update_team) | **PATCH** /api/v1/client/teams/{id} | Update a team
|
|
129
|
+
*UploadsApi* | [**complete_multipart_upload**](docs/UploadsApi.md#complete_multipart_upload) | **POST** /api/v1/client/complete-upload | Complete a multipart upload to S3
|
|
130
|
+
*UploadsApi* | [**get_presigned_url**](docs/UploadsApi.md#get_presigned_url) | **GET** /api/v1/client/upload-presigned-url | Get a presigned URL for a specific part of a multipart upload
|
|
131
|
+
*UploadsApi* | [**initiate_upload**](docs/UploadsApi.md#initiate_upload) | **POST** /api/v1/client/initiate-upload | Initiate a multipart upload to S3 for a large file
|
|
132
|
+
*VenueApi* | [**create_venue**](docs/VenueApi.md#create_venue) | **POST** /api/v1/client/venue | Create a new venue
|
|
133
|
+
*VenueApi* | [**delete_venue**](docs/VenueApi.md#delete_venue) | **DELETE** /api/v1/client/venue/{id} | Delete a venue
|
|
134
|
+
*VenueApi* | [**get_venues**](docs/VenueApi.md#get_venues) | **GET** /api/v1/client/venues | Get all venues
|
|
135
|
+
*VenueApi* | [**update_venue**](docs/VenueApi.md#update_venue) | **PATCH** /api/v1/client/venue/{id} | Update a venue
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
## Documentation For Models
|
|
139
|
+
|
|
140
|
+
- [AddVideoToGameWithS3LinkDto](docs/AddVideoToGameWithS3LinkDto.md)
|
|
141
|
+
- [Address](docs/Address.md)
|
|
142
|
+
- [AddressDto](docs/AddressDto.md)
|
|
143
|
+
- [BadRequestErrorResponseDto](docs/BadRequestErrorResponseDto.md)
|
|
144
|
+
- [Classification](docs/Classification.md)
|
|
145
|
+
- [ClientCreateGameWithVideoUrlDto](docs/ClientCreateGameWithVideoUrlDto.md)
|
|
146
|
+
- [CompleteMultipartUploadDto](docs/CompleteMultipartUploadDto.md)
|
|
147
|
+
- [CompleteMultipartUploadResponse](docs/CompleteMultipartUploadResponse.md)
|
|
148
|
+
- [CompleteMultipartUploadResponseDto](docs/CompleteMultipartUploadResponseDto.md)
|
|
149
|
+
- [CompletedPartDto](docs/CompletedPartDto.md)
|
|
150
|
+
- [ConflictErrorResponseDto](docs/ConflictErrorResponseDto.md)
|
|
151
|
+
- [Coordinates](docs/Coordinates.md)
|
|
152
|
+
- [CoordinatesDto](docs/CoordinatesDto.md)
|
|
153
|
+
- [CreateClassificationDto](docs/CreateClassificationDto.md)
|
|
154
|
+
- [CreateMascotDto](docs/CreateMascotDto.md)
|
|
155
|
+
- [CreateTeamDto](docs/CreateTeamDto.md)
|
|
156
|
+
- [CreateTeamResponseDto](docs/CreateTeamResponseDto.md)
|
|
157
|
+
- [CreateVenueDto](docs/CreateVenueDto.md)
|
|
158
|
+
- [DefenseSectionDto](docs/DefenseSectionDto.md)
|
|
159
|
+
- [DefenseStatsDto](docs/DefenseStatsDto.md)
|
|
160
|
+
- [DefenseTotalsDto](docs/DefenseTotalsDto.md)
|
|
161
|
+
- [DeleteResponseDto](docs/DeleteResponseDto.md)
|
|
162
|
+
- [DownEfficiencyDto](docs/DownEfficiencyDto.md)
|
|
163
|
+
- [FetchTeamResponseDto](docs/FetchTeamResponseDto.md)
|
|
164
|
+
- [FumbleSectionDto](docs/FumbleSectionDto.md)
|
|
165
|
+
- [FumbleStatsDto](docs/FumbleStatsDto.md)
|
|
166
|
+
- [FumbleTotalsDto](docs/FumbleTotalsDto.md)
|
|
167
|
+
- [GameAllPlayListItemDto](docs/GameAllPlayListItemDto.md)
|
|
168
|
+
- [GameBoxScoreMetaDto](docs/GameBoxScoreMetaDto.md)
|
|
169
|
+
- [GameBoxScoreResponseDto](docs/GameBoxScoreResponseDto.md)
|
|
170
|
+
- [GameBoxScoreTeamsDto](docs/GameBoxScoreTeamsDto.md)
|
|
171
|
+
- [GameDetailsResponse](docs/GameDetailsResponse.md)
|
|
172
|
+
- [GameRecapScoringSummaryProResponse](docs/GameRecapScoringSummaryProResponse.md)
|
|
173
|
+
- [GameRecapScoringSummaryResponse](docs/GameRecapScoringSummaryResponse.md)
|
|
174
|
+
- [GameRecapTeamStatsResponse](docs/GameRecapTeamStatsResponse.md)
|
|
175
|
+
- [GameScoreResponse](docs/GameScoreResponse.md)
|
|
176
|
+
- [GameScoringSummaryDataDto](docs/GameScoringSummaryDataDto.md)
|
|
177
|
+
- [GetPartsPresignUrlResponse](docs/GetPartsPresignUrlResponse.md)
|
|
178
|
+
- [GetPartsPresignUrlResponseDto](docs/GetPartsPresignUrlResponseDto.md)
|
|
179
|
+
- [InitiateMultipartUploadDto](docs/InitiateMultipartUploadDto.md)
|
|
180
|
+
- [InitiateMultipartUploadResponse](docs/InitiateMultipartUploadResponse.md)
|
|
181
|
+
- [InitiateMultipartUploadResponseDto](docs/InitiateMultipartUploadResponseDto.md)
|
|
182
|
+
- [InterceptionSectionDto](docs/InterceptionSectionDto.md)
|
|
183
|
+
- [InterceptionStatsDto](docs/InterceptionStatsDto.md)
|
|
184
|
+
- [InterceptionTotalsDto](docs/InterceptionTotalsDto.md)
|
|
185
|
+
- [KickingSectionDto](docs/KickingSectionDto.md)
|
|
186
|
+
- [KickingStatsDto](docs/KickingStatsDto.md)
|
|
187
|
+
- [KickingTotalsDto](docs/KickingTotalsDto.md)
|
|
188
|
+
- [LineOfScrimmageDto](docs/LineOfScrimmageDto.md)
|
|
189
|
+
- [ListClassificationPaginatedResponseDto](docs/ListClassificationPaginatedResponseDto.md)
|
|
190
|
+
- [ListGameAllPlaysResponseDto](docs/ListGameAllPlaysResponseDto.md)
|
|
191
|
+
- [ListGamesPaginatedResponseDto](docs/ListGamesPaginatedResponseDto.md)
|
|
192
|
+
- [ListMascotPaginatedResponseDto](docs/ListMascotPaginatedResponseDto.md)
|
|
193
|
+
- [ListPlayClipsResponseDto](docs/ListPlayClipsResponseDto.md)
|
|
194
|
+
- [ListTeamPaginatedResponseDto](docs/ListTeamPaginatedResponseDto.md)
|
|
195
|
+
- [ListVenuePaginatedResponseDto](docs/ListVenuePaginatedResponseDto.md)
|
|
196
|
+
- [ListVideoPaginatedResponseDto](docs/ListVideoPaginatedResponseDto.md)
|
|
197
|
+
- [Mascot](docs/Mascot.md)
|
|
198
|
+
- [MascotResponseDto](docs/MascotResponseDto.md)
|
|
199
|
+
- [NotFoundErrorResponseDto](docs/NotFoundErrorResponseDto.md)
|
|
200
|
+
- [OffenseDto](docs/OffenseDto.md)
|
|
201
|
+
- [PassingDto](docs/PassingDto.md)
|
|
202
|
+
- [PassingSectionDto](docs/PassingSectionDto.md)
|
|
203
|
+
- [PassingStatsDto](docs/PassingStatsDto.md)
|
|
204
|
+
- [PassingTotalsDto](docs/PassingTotalsDto.md)
|
|
205
|
+
- [PeriodScoreDto](docs/PeriodScoreDto.md)
|
|
206
|
+
- [PlayAttributesListDto](docs/PlayAttributesListDto.md)
|
|
207
|
+
- [PlayClipListDetailsDto](docs/PlayClipListDetailsDto.md)
|
|
208
|
+
- [PlayClipListItemDto](docs/PlayClipListItemDto.md)
|
|
209
|
+
- [ProScoringPlayDto](docs/ProScoringPlayDto.md)
|
|
210
|
+
- [ReceivingSectionDto](docs/ReceivingSectionDto.md)
|
|
211
|
+
- [ReceivingStatsDto](docs/ReceivingStatsDto.md)
|
|
212
|
+
- [ReceivingTotalsDto](docs/ReceivingTotalsDto.md)
|
|
213
|
+
- [RedZoneDto](docs/RedZoneDto.md)
|
|
214
|
+
- [RushingDto](docs/RushingDto.md)
|
|
215
|
+
- [RushingSectionDto](docs/RushingSectionDto.md)
|
|
216
|
+
- [RushingStatsDto](docs/RushingStatsDto.md)
|
|
217
|
+
- [RushingTotalsDto](docs/RushingTotalsDto.md)
|
|
218
|
+
- [ScoringPlayPlayerInvolvedDto](docs/ScoringPlayPlayerInvolvedDto.md)
|
|
219
|
+
- [ScoringSummaryProTeamDto](docs/ScoringSummaryProTeamDto.md)
|
|
220
|
+
- [SingleClassificationResponseDto](docs/SingleClassificationResponseDto.md)
|
|
221
|
+
- [SingleMascotResponseDto](docs/SingleMascotResponseDto.md)
|
|
222
|
+
- [SingleTeamResponseDto](docs/SingleTeamResponseDto.md)
|
|
223
|
+
- [SingleVenueResponseDto](docs/SingleVenueResponseDto.md)
|
|
224
|
+
- [SingleVideoResponseDto](docs/SingleVideoResponseDto.md)
|
|
225
|
+
- [TeamBasicInfoDto](docs/TeamBasicInfoDto.md)
|
|
226
|
+
- [TeamBoxScoreDto](docs/TeamBoxScoreDto.md)
|
|
227
|
+
- [TeamScoreDto](docs/TeamScoreDto.md)
|
|
228
|
+
- [TeamStatsDto](docs/TeamStatsDto.md)
|
|
229
|
+
- [TokenResponse](docs/TokenResponse.md)
|
|
230
|
+
- [TurnoversDto](docs/TurnoversDto.md)
|
|
231
|
+
- [UnauthorizedErrorResponseDto](docs/UnauthorizedErrorResponseDto.md)
|
|
232
|
+
- [UpdateClassificationDto](docs/UpdateClassificationDto.md)
|
|
233
|
+
- [UpdateMascotDto](docs/UpdateMascotDto.md)
|
|
234
|
+
- [UpdateTeamDto](docs/UpdateTeamDto.md)
|
|
235
|
+
- [UpdateVenueDto](docs/UpdateVenueDto.md)
|
|
236
|
+
- [Venue](docs/Venue.md)
|
|
237
|
+
- [VideoListItemDto](docs/VideoListItemDto.md)
|
|
238
|
+
|
|
239
|
+
|
|
240
|
+
<a id="documentation-for-authorization"></a>
|
|
241
|
+
## Documentation For Authorization
|
|
242
|
+
|
|
243
|
+
|
|
244
|
+
Authentication schemes defined for the API:
|
|
245
|
+
<a id="Client-App-Id"></a>
|
|
246
|
+
### Client-App-Id
|
|
247
|
+
|
|
248
|
+
- **Type**: API key
|
|
249
|
+
- **API key parameter name**: App-Id
|
|
250
|
+
- **Location**: HTTP header
|
|
251
|
+
|
|
252
|
+
<a id="Client-App-Token"></a>
|
|
253
|
+
### Client-App-Token
|
|
254
|
+
|
|
255
|
+
- **Type**: Bearer authentication (JWT)
|
|
256
|
+
|
|
257
|
+
<a id="AppSecret"></a>
|
|
258
|
+
### AppSecret
|
|
259
|
+
|
|
260
|
+
- **Type**: API key
|
|
261
|
+
- **API key parameter name**: App-Secret
|
|
262
|
+
- **Location**: HTTP header
|
|
263
|
+
|
|
264
|
+
|
|
265
|
+
## Author
|
|
266
|
+
|
|
267
|
+
|
|
268
|
+
|
|
269
|
+
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "victorycode_sdk"
|
|
3
|
+
version = "1.0.0"
|
|
4
|
+
description = "Victory Code Client API"
|
|
5
|
+
authors = [
|
|
6
|
+
{name = "Victory Code"},
|
|
7
|
+
]
|
|
8
|
+
license = "MIT"
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
keywords = ["OpenAPI", "OpenAPI-Generator", "Victory Code Client API"]
|
|
11
|
+
requires-python = ">=3.10"
|
|
12
|
+
|
|
13
|
+
dependencies = [
|
|
14
|
+
"urllib3 (>=2.7.0,<3.0.0)",
|
|
15
|
+
"python-dateutil (>=2.8.2)",
|
|
16
|
+
"pydantic (>=2.11)",
|
|
17
|
+
"typing-extensions (>=4.7.1)",
|
|
18
|
+
]
|
|
19
|
+
|
|
20
|
+
[project.urls]
|
|
21
|
+
Repository = "https://github.com/victory-code-ai/victorycode-sdks"
|
|
22
|
+
|
|
23
|
+
[tool.poetry]
|
|
24
|
+
requires-poetry = ">=2.0"
|
|
25
|
+
|
|
26
|
+
[tool.poetry.group.dev.dependencies]
|
|
27
|
+
pytest = ">= 9.0.3"
|
|
28
|
+
pytest-cov = ">= 2.8.1"
|
|
29
|
+
tox = ">= 3.9.0"
|
|
30
|
+
flake8 = ">= 4.0.0"
|
|
31
|
+
types-python-dateutil = ">= 2.8.19.14"
|
|
32
|
+
mypy = ">= 1.5"
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
[build-system]
|
|
36
|
+
requires = ["setuptools"]
|
|
37
|
+
build-backend = "setuptools.build_meta"
|
|
38
|
+
|
|
39
|
+
[tool.pylint.'MESSAGES CONTROL']
|
|
40
|
+
extension-pkg-whitelist = "pydantic"
|
|
41
|
+
|
|
42
|
+
[tool.mypy]
|
|
43
|
+
files = [
|
|
44
|
+
"victorycode_sdk",
|
|
45
|
+
#"test", # auto-generated tests
|
|
46
|
+
"tests", # hand-written tests
|
|
47
|
+
]
|
|
48
|
+
# TODO: enable "strict" once all these individual checks are passing
|
|
49
|
+
# strict = true
|
|
50
|
+
|
|
51
|
+
# List from: https://mypy.readthedocs.io/en/stable/existing_code.html#introduce-stricter-options
|
|
52
|
+
warn_unused_configs = true
|
|
53
|
+
warn_redundant_casts = true
|
|
54
|
+
warn_unused_ignores = true
|
|
55
|
+
|
|
56
|
+
## Getting these passing should be easy
|
|
57
|
+
strict_equality = true
|
|
58
|
+
extra_checks = true
|
|
59
|
+
|
|
60
|
+
## Strongly recommend enabling this one as soon as you can
|
|
61
|
+
check_untyped_defs = true
|
|
62
|
+
|
|
63
|
+
## These shouldn't be too much additional work, but may be tricky to
|
|
64
|
+
## get passing if you use a lot of untyped libraries
|
|
65
|
+
disallow_subclassing_any = true
|
|
66
|
+
disallow_untyped_decorators = true
|
|
67
|
+
disallow_any_generics = true
|
|
68
|
+
|
|
69
|
+
### These next few are various gradations of forcing use of type annotations
|
|
70
|
+
#disallow_untyped_calls = true
|
|
71
|
+
#disallow_incomplete_defs = true
|
|
72
|
+
#disallow_untyped_defs = true
|
|
73
|
+
#
|
|
74
|
+
### This one isn't too hard to get passing, but return on investment is lower
|
|
75
|
+
#no_implicit_reexport = true
|
|
76
|
+
#
|
|
77
|
+
### This one can be tricky to get passing if you use a lot of untyped libraries
|
|
78
|
+
#warn_return_any = true
|
|
79
|
+
|
|
80
|
+
[[tool.mypy.overrides]]
|
|
81
|
+
module = [
|
|
82
|
+
"victorycode_sdk.configuration",
|
|
83
|
+
]
|
|
84
|
+
warn_unused_ignores = true
|
|
85
|
+
strict_equality = true
|
|
86
|
+
extra_checks = true
|
|
87
|
+
check_untyped_defs = true
|
|
88
|
+
disallow_subclassing_any = true
|
|
89
|
+
disallow_untyped_decorators = true
|
|
90
|
+
disallow_any_generics = true
|
|
91
|
+
disallow_untyped_calls = true
|
|
92
|
+
disallow_incomplete_defs = true
|
|
93
|
+
disallow_untyped_defs = true
|
|
94
|
+
no_implicit_reexport = true
|
|
95
|
+
warn_return_any = true
|