victorycode-sdk
Client APIs for Tactix partners: authenticate, upload game video, and retrieve games, plays, game recaps and team metadata.
This Python package is automatically generated by the OpenAPI Generator project:
- API version: 1.0
- Package version: 1.0.1
- Generator version: 7.25.0
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
Requirements.
Python 3.10+
Installation & Usage
pip install
If the python package is hosted on a repository, you can install directly using:
pip install git+https://github.com/victory-code-ai/victorycode-sdks.git
(you may need to run pip with root permission: sudo pip install git+https://github.com/victory-code-ai/victorycode-sdks.git)
Then import the package:
import victorycode_sdk
Setuptools
Install via Setuptools.
python setup.py install --user
(or sudo python setup.py install to install the package for all users)
Then import the package:
import victorycode_sdk
Tests
Execute pytest to run the tests.
Getting Started
Please follow the installation procedure and then run the following:
import victorycode_sdk
from victorycode_sdk.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://sandbox.api.tactixai.com
# See configuration.py for a list of all supported configuration parameters.
configuration = victorycode_sdk.Configuration(
host = "https://sandbox.api.tactixai.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure API key authorization: AppSecret
configuration.api_key['AppSecret'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['AppSecret'] = 'Bearer'
# Configure API key authorization: Client-App-Id
configuration.api_key['Client-App-Id'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Client-App-Id'] = 'Bearer'
# Enter a context with an instance of the API client
with victorycode_sdk.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = victorycode_sdk.AuthenticationApi(api_client)
try:
# Get Access Token
api_response = api_instance.get_access_token()
print("The response of AuthenticationApi->get_access_token:\n")
pprint(api_response)
except ApiException as e:
print("Exception when calling AuthenticationApi->get_access_token: %s\n" % e)
Documentation for API Endpoints
All URIs are relative to https://sandbox.api.tactixai.com
| Class | Method | HTTP request | Description |
|---|---|---|---|
| AuthenticationApi | get_access_token | GET /api/v1/client/auth/token | Get Access Token |
| ClassificationApi | create_classification | POST /api/v1/client/classifications | Create a new classification |
| ClassificationApi | delete_classification | DELETE /api/v1/client/classifications/{id} | Delete a classification |
| ClassificationApi | get_classifications | GET /api/v1/client/classifications | Get all classifications |
| ClassificationApi | update_classification | PATCH /api/v1/client/classifications/{id} | Update a classification |
| GameRecapApi | 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. |
| GameRecapApi | get_game_recap_score | GET /api/v1/client/game-recap/{videoId}/score | Get the Game Recap Score for a specific Game. |
| GameRecapApi | get_game_recap_scoring_summary | GET /api/v1/client/game-recap/{videoId}/scoring-summary | Get the Game Recap Scoring Summary for a specific Game. |
| GameRecapApi | 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. |
| GameRecapApi | get_game_recap_team_stats | GET /api/v1/client/game-recap/{videoId}/team-stats | Get the Game Recap Team Stats for a specific Game. |
| GamesApi | add_video_to_game | POST /api/v1/client/games/{gameId}/video | Add new video to a game |
| GamesApi | create_game_with_video_url | POST /api/v1/client/games | Create a new Game with Video URL |
| GamesApi | get_game_details | GET /api/v1/client/games/{gameId} | Get a Single Game. |
| GamesApi | get_games | GET /api/v1/client/games | List and Filter Games. |
| GamesApi | get_videos_of_game | GET /api/v1/client/games/{gameId}/videos | Get a list of videos of a game |
| MascotApi | create_mascot | POST /api/v1/client/mascots | Create a new mascot |
| MascotApi | delete_mascot | DELETE /api/v1/client/mascots/{id} | Delete a mascot |
| MascotApi | get_mascots | GET /api/v1/client/mascots | Get all mascots |
| MascotApi | update_mascot | PATCH /api/v1/client/mascots/{id} | Update a mascot |
| PlaysEventsApi | get_play_by_id | GET /api/v1/client/plays/{playId} | Get the single Play Clip |
| PlaysEventsApi | get_plays_of_game | GET /api/v1/client/game/{gameId}/plays | Get a list of all plays for a game |
| PlaysEventsApi | get_plays_of_video | GET /api/v1/client/videos/{videoId}/plays | Get a list of play clips for a video |
| TeamsApi | create_team | POST /api/v1/client/teams | Create a new team |
| TeamsApi | delete_team | DELETE /api/v1/client/teams/{id} | Delete a team |
| TeamsApi | get_teams | GET /api/v1/client/teams | Get teams |
| TeamsApi | update_team | PATCH /api/v1/client/teams/{id} | Update a team |
| UploadsApi | complete_multipart_upload | POST /api/v1/client/complete-upload | Complete a multipart upload to S3 |
| UploadsApi | get_presigned_url | GET /api/v1/client/upload-presigned-url | Get a presigned URL for a specific part of a multipart upload |
| UploadsApi | initiate_upload | POST /api/v1/client/initiate-upload | Initiate a multipart upload to S3 for a large file |
| VenueApi | create_venue | POST /api/v1/client/venue | Create a new venue |
| VenueApi | delete_venue | DELETE /api/v1/client/venue/{id} | Delete a venue |
| VenueApi | get_venues | GET /api/v1/client/venues | Get all venues |
| VenueApi | update_venue | PATCH /api/v1/client/venue/{id} | Update a venue |
Documentation For Models
- AddVideoToGameWithS3LinkDto
- Address
- AddressDto
- BadRequestErrorResponseDto
- Classification
- ClientCreateGameWithVideoUrlDto
- CompleteMultipartUploadDto
- CompleteMultipartUploadResponse
- CompleteMultipartUploadResponseDto
- CompletedPartDto
- ConflictErrorResponseDto
- Coordinates
- CoordinatesDto
- CreateClassificationDto
- CreateMascotDto
- CreateTeamDto
- CreateTeamResponseDto
- CreateVenueDto
- DefenseSectionDto
- DefenseStatsDto
- DefenseTotalsDto
- DeleteResponseDto
- DownEfficiencyDto
- FetchTeamResponseDto
- FumbleSectionDto
- FumbleStatsDto
- FumbleTotalsDto
- GameAllPlayListItemDto
- GameBoxScoreMetaDto
- GameBoxScoreResponseDto
- GameBoxScoreTeamsDto
- GameDetailsResponse
- GameRecapScoringSummaryProResponse
- GameRecapScoringSummaryResponse
- GameRecapTeamStatsResponse
- GameScoreResponse
- GameScoringSummaryDataDto
- GetPartsPresignUrlResponse
- GetPartsPresignUrlResponseDto
- InitiateMultipartUploadDto
- InitiateMultipartUploadResponse
- InitiateMultipartUploadResponseDto
- InterceptionSectionDto
- InterceptionStatsDto
- InterceptionTotalsDto
- KickingSectionDto
- KickingStatsDto
- KickingTotalsDto
- LineOfScrimmageDto
- ListClassificationPaginatedResponseDto
- ListGameAllPlaysResponseDto
- ListGamesPaginatedResponseDto
- ListMascotPaginatedResponseDto
- ListPlayClipsResponseDto
- ListTeamPaginatedResponseDto
- ListVenuePaginatedResponseDto
- ListVideoPaginatedResponseDto
- Mascot
- MascotResponseDto
- NotFoundErrorResponseDto
- OffenseDto
- PassingDto
- PassingSectionDto
- PassingStatsDto
- PassingTotalsDto
- PeriodScoreDto
- PlayAttributesListDto
- PlayClipListDetailsDto
- PlayClipListItemDto
- ProScoringPlayDto
- ReceivingSectionDto
- ReceivingStatsDto
- ReceivingTotalsDto
- RedZoneDto
- RushingDto
- RushingSectionDto
- RushingStatsDto
- RushingTotalsDto
- ScoringPlayPlayerInvolvedDto
- ScoringSummaryProTeamDto
- SingleClassificationResponseDto
- SingleMascotResponseDto
- SingleTeamResponseDto
- SingleVenueResponseDto
- SingleVideoResponseDto
- TeamBasicInfoDto
- TeamBoxScoreDto
- TeamScoreDto
- TeamStatsDto
- TokenResponse
- TurnoversDto
- UnauthorizedErrorResponseDto
- UpdateClassificationDto
- UpdateMascotDto
- UpdateTeamDto
- UpdateVenueDto
- Venue
- VideoListItemDto
Documentation For Authorization
Authentication schemes defined for the API:
Client-App-Id
- Type: API key
- API key parameter name: App-Id
- Location: HTTP header
Client-App-Token
- Type: Bearer authentication (JWT)
AppSecret
- Type: API key
- API key parameter name: App-Secret
- Location: HTTP header
Author
Metadata
Release files for victorycode-sdk 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| victorycode_sdk-1.0.1.tar.gz | 93.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| victorycode_sdk-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 295.4 kB
Release files / victorycode_sdk-1.0.1.tar.gz
| Download URL | victorycode_sdk-1.0.1.tar.gz |
|---|---|
| Size | 93.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
50bd5457d857a88a0454090d9e5a54f06564dd03c159eaa9e89857422e61d68a
|
|
BLAKE2b-256 checksum How to use checksums |
870b13d2d6fd3d4ab2ca9f6165af322b781e2788b5a080f5a6f62faa48c97a7d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 6, 2026.
Transparency logRelease files / victorycode_sdk-1.0.1-py3-none-any.whl
| Download URL | victorycode_sdk-1.0.1-py3-none-any.whl |
|---|---|
| Size | 201.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e0b172f737e0b7d6d5a4775d93259920d5545dc04ffedd84134b7d4729454040
|
|
BLAKE2b-256 checksum How to use checksums |
5f9a40dd23c051e618dbeabf96a12b988a499e66b9d51413fb870aae4368070e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 6, 2026.
Transparency log