Content¶
griddy / nfl / endpoints / pro / content**
content
¶
Classes¶
Content
¶
Bases: ProSDK, GameContentMixin
flowchart TD
griddy.nfl.endpoints.pro.content.Content[Content]
griddy.nfl.endpoints.pro.ProSDK[ProSDK]
griddy.nfl.basesdk.BaseSDK[BaseSDK]
griddy.nfl.endpoints.pro.mixins.game_content.GameContentMixin[GameContentMixin]
griddy.nfl.endpoints.pro.ProSDK --> griddy.nfl.endpoints.pro.content.Content
griddy.nfl.basesdk.BaseSDK --> griddy.nfl.endpoints.pro.ProSDK
griddy.nfl.endpoints.pro.mixins.game_content.GameContentMixin --> griddy.nfl.endpoints.pro.content.Content
click griddy.nfl.endpoints.pro.content.Content href "" "griddy.nfl.endpoints.pro.content.Content"
click griddy.nfl.endpoints.pro.ProSDK href "" "griddy.nfl.endpoints.pro.ProSDK"
click griddy.nfl.basesdk.BaseSDK href "" "griddy.nfl.basesdk.BaseSDK"
click griddy.nfl.endpoints.pro.mixins.game_content.GameContentMixin href "" "griddy.nfl.endpoints.pro.mixins.game_content.GameContentMixin"
Source code in griddy/nfl/endpoints/pro/__init__.py
Functions¶
get_home_film_cards
¶
get_home_film_cards(
*,
retries: OptionalNullable[RetryConfig] = UNSET,
server_url: Optional[str] = None,
timeout_ms: Optional[int] = None,
http_headers: Optional[Mapping[str, str]] = None
) -> HomeFilmCardsResponse
Get Home Film Cards
Retrieves featured film room content cards for the home page. Returns weekly playlists and featured player film breakdowns.
:param retries: Override the default retry configuration for this method :param server_url: Override the default server URL for this method :param timeout_ms: Override the default request timeout configuration for this method in milliseconds :param http_headers: Additional headers to set or replace on requests.
Source code in griddy/nfl/endpoints/pro/content.py
get_home_film_cards_async
async
¶
get_home_film_cards_async(
*,
retries: OptionalNullable[RetryConfig] = UNSET,
server_url: Optional[str] = None,
timeout_ms: Optional[int] = None,
http_headers: Optional[Mapping[str, str]] = None
) -> HomeFilmCardsResponse
Get Home Film Cards
Retrieves featured film room content cards for the home page. Returns weekly playlists and featured player film breakdowns.
:param retries: Override the default retry configuration for this method :param server_url: Override the default server URL for this method :param timeout_ms: Override the default request timeout configuration for this method in milliseconds :param http_headers: Additional headers to set or replace on requests.
Source code in griddy/nfl/endpoints/pro/content.py
get_season_insights
¶
get_season_insights(
*,
season: int,
limit: Optional[int] = 20,
tags: Optional[List[Tag]] = None,
team_id: Optional[str] = None,
nfl_id: Optional[str] = None,
retries: OptionalNullable[RetryConfig] = UNSET,
server_url: Optional[str] = None,
timeout_ms: Optional[int] = None,
http_headers: Optional[Mapping[str, str]] = None
) -> List[Insight]
Get Season Content Insights
Retrieves curated editorial insights and analytics content for NFL players during a specified season. Returns expert commentary combining Next Gen Stats data with editorial analysis, including pregame previews, postgame breakdowns, fantasy insights, and evergreen content. Supports filtering by player, team, content tags, and publication limits for targeted content discovery.
:param season: Season year :param limit: Maximum number of insights to return :param tags: Content tags to filter by (supports multiple comma-separated tags) :param team_id: Filter by specific team identifier :param nfl_id: Filter by specific player NFL identifier :param retries: Override the default retry configuration for this method :param server_url: Override the default server URL for this method :param timeout_ms: Override the default request timeout configuration for this method in milliseconds :param http_headers: Additional headers to set or replace on requests.
Source code in griddy/nfl/endpoints/pro/content.py
get_season_insights_async
async
¶
get_season_insights_async(
*,
season: int,
limit: Optional[int] = 20,
tags: Optional[List[Tag]] = None,
team_id: Optional[str] = None,
nfl_id: Optional[str] = None,
retries: OptionalNullable[RetryConfig] = UNSET,
server_url: Optional[str] = None,
timeout_ms: Optional[int] = None,
http_headers: Optional[Mapping[str, str]] = None
) -> List[Insight]
Get Season Content Insights
Retrieves curated editorial insights and analytics content for NFL players during a specified season. Returns expert commentary combining Next Gen Stats data with editorial analysis, including pregame previews, postgame breakdowns, fantasy insights, and evergreen content. Supports filtering by player, team, content tags, and publication limits for targeted content discovery.
:param season: Season year :param limit: Maximum number of insights to return :param tags: Content tags to filter by (supports multiple comma-separated tags) :param team_id: Filter by specific team identifier :param nfl_id: Filter by specific player NFL identifier :param retries: Override the default retry configuration for this method :param server_url: Override the default server URL for this method :param timeout_ms: Override the default request timeout configuration for this method in milliseconds :param http_headers: Additional headers to set or replace on requests.
Source code in griddy/nfl/endpoints/pro/content.py
get_filmroom_plays
¶
get_filmroom_plays(
*,
game_id: Optional[List[str]] = None,
week_slug: Optional[List[WeekSlugEnum]] = None,
season: Optional[List[int]] = None,
season_type: Optional[List[SeasonTypeEnum]] = None,
nfl_id: Optional[List[str]] = None,
quarter: Optional[List[int]] = None,
down: Optional[List[int]] = None,
yards_to_go_type: Optional[List[YardsToGoType]] = None,
touchdown: Optional[List[BinaryFlagEnum]] = None,
rush10_plus_yards: Optional[
List[BinaryFlagEnum]
] = None,
fumble_lost: Optional[List[BinaryFlagEnum]] = None,
fumble: Optional[List[BinaryFlagEnum]] = None,
qb_alignment: Optional[List[QbAlignment]] = None,
redzone: Optional[List[BinaryFlagEnum]] = None,
goal_to_go: Optional[List[BinaryFlagEnum]] = None,
pass_play: Optional[List[BinaryFlagEnum]] = None,
run_play: Optional[List[BinaryFlagEnum]] = None,
play_type: Optional[List[PlayTypeEnum]] = None,
attempt: Optional[List[BinaryFlagEnum]] = None,
completion: Optional[List[BinaryFlagEnum]] = None,
interception: Optional[List[BinaryFlagEnum]] = None,
reception: Optional[List[BinaryFlagEnum]] = None,
sack: Optional[List[BinaryFlagEnum]] = None,
rec_motion: Optional[List[BinaryFlagEnum]] = None,
target_location: Optional[List[TargetLocation]] = None,
air_yard_type: Optional[List[AirYardType]] = None,
dropback_time_type: Optional[
List[DropbackTimeType]
] = None,
pressure: Optional[List[BinaryFlagEnum]] = None,
blitz: Optional[List[BinaryFlagEnum]] = None,
play_action: Optional[List[BinaryFlagEnum]] = None,
rush_direction: Optional[List[RushDirection]] = None,
run_stuff: Optional[List[BinaryFlagEnum]] = None,
receiver_alignment: Optional[
List[ReceiverAlignment]
] = None,
separation_type: Optional[List[SeparationType]] = None,
personnel: Optional[List[Personnel]] = None,
defenders_in_the_box_type: Optional[
List[DefendersInTheBoxType]
] = None,
def_coverage_type: Optional[
List[DefCoverageType]
] = None,
retries: OptionalNullable[RetryConfig] = UNSET,
server_url: Optional[str] = None,
timeout_ms: Optional[int] = None,
http_headers: Optional[Mapping[str, str]] = None
) -> FilmroomPlaysResponse
Get Filmroom Plays with Advanced Filtering
Retrieves detailed play-by-play data with extensive filtering capabilities for film study. Returns comprehensive play information including formations, personnel packages, game situations, and detailed play descriptions. This endpoint supports advanced filtering by game situation, player involvement, formation types, and tactical elements.
:param game_id: Filter by specific game IDs (supports multiple values) :param week_slug: Filter by week identifier (supports multiple values) :param season: Filter by season year (supports multiple values) :param season_type: Filter by season type :param nfl_id: Filter by player NFL ID :param quarter: Filter by quarter :param down: Filter by down :param yards_to_go_type: Filter by yards to go category :param touchdown: Filter for touchdown plays (1 = yes, 0 = no) :param rush10_plus_yards: Filter for rushing plays of 10+ yards :param fumble_lost: Filter for plays with fumbles lost :param fumble: Filter for plays with fumbles :param qb_alignment: Filter by quarterback alignment :param redzone: Filter for red zone plays :param goal_to_go: Filter for goal-to-go situations :param pass_play: Filter for passing plays :param run_play: Filter for running plays :param play_type: Filter by specific play types :param attempt: Filter for passing attempts :param completion: Filter for completed passes :param interception: Filter for interceptions :param reception: Filter for receptions :param sack: Filter for sacks :param rec_motion: Filter by receiver motion :param target_location: Filter by target location on field :param air_yard_type: Filter by air yards category :param dropback_time_type: Filter by dropback time :param pressure: Filter by quarterback pressure :param blitz: Filter by defensive blitz :param play_action: Filter by play action usage :param rush_direction: Filter by rush direction :param run_stuff: Filter for stuffed runs :param receiver_alignment: Filter by receiver alignment :param separation_type: Filter by receiver separation :param personnel: Filter by defensive personnel package :param defenders_in_the_box_type: Filter by defenders in the box :param def_coverage_type: Filter by defensive coverage type :param retries: Override the default retry configuration for this method :param server_url: Override the default server URL for this method :param timeout_ms: Override the default request timeout configuration for this method in milliseconds :param http_headers: Additional headers to set or replace on requests.
Source code in griddy/nfl/endpoints/pro/content.py
311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 | |
get_filmroom_plays_async
async
¶
get_filmroom_plays_async(
*,
game_id: Optional[List[str]] = None,
week_slug: Optional[List[WeekSlugEnum]] = None,
season: Optional[List[int]] = None,
season_type: Optional[List[SeasonTypeEnum]] = None,
nfl_id: Optional[List[str]] = None,
quarter: Optional[List[int]] = None,
down: Optional[List[int]] = None,
yards_to_go_type: Optional[List[YardsToGoType]] = None,
touchdown: Optional[List[BinaryFlagEnum]] = None,
rush10_plus_yards: Optional[
List[BinaryFlagEnum]
] = None,
fumble_lost: Optional[List[BinaryFlagEnum]] = None,
fumble: Optional[List[BinaryFlagEnum]] = None,
qb_alignment: Optional[List[QbAlignment]] = None,
redzone: Optional[List[BinaryFlagEnum]] = None,
goal_to_go: Optional[List[BinaryFlagEnum]] = None,
pass_play: Optional[List[BinaryFlagEnum]] = None,
run_play: Optional[List[BinaryFlagEnum]] = None,
play_type: Optional[List[PlayTypeEnum]] = None,
attempt: Optional[List[BinaryFlagEnum]] = None,
completion: Optional[List[BinaryFlagEnum]] = None,
interception: Optional[List[BinaryFlagEnum]] = None,
reception: Optional[List[BinaryFlagEnum]] = None,
sack: Optional[List[BinaryFlagEnum]] = None,
rec_motion: Optional[List[BinaryFlagEnum]] = None,
target_location: Optional[List[TargetLocation]] = None,
air_yard_type: Optional[List[AirYardType]] = None,
dropback_time_type: Optional[
List[DropbackTimeType]
] = None,
pressure: Optional[List[BinaryFlagEnum]] = None,
blitz: Optional[List[BinaryFlagEnum]] = None,
play_action: Optional[List[BinaryFlagEnum]] = None,
rush_direction: Optional[List[RushDirection]] = None,
run_stuff: Optional[List[BinaryFlagEnum]] = None,
receiver_alignment: Optional[
List[ReceiverAlignment]
] = None,
separation_type: Optional[List[SeparationType]] = None,
personnel: Optional[List[Personnel]] = None,
defenders_in_the_box_type: Optional[
List[DefendersInTheBoxType]
] = None,
def_coverage_type: Optional[
List[DefCoverageType]
] = None,
retries: OptionalNullable[RetryConfig] = UNSET,
server_url: Optional[str] = None,
timeout_ms: Optional[int] = None,
http_headers: Optional[Mapping[str, str]] = None
) -> FilmroomPlaysResponse
Get Filmroom Plays with Advanced Filtering
Retrieves detailed play-by-play data with extensive filtering capabilities for film study. Returns comprehensive play information including formations, personnel packages, game situations, and detailed play descriptions. This endpoint supports advanced filtering by game situation, player involvement, formation types, and tactical elements.
:param game_id: Filter by specific game IDs (supports multiple values) :param week_slug: Filter by week identifier (supports multiple values) :param season: Filter by season year (supports multiple values) :param season_type: Filter by season type :param nfl_id: Filter by player NFL ID :param quarter: Filter by quarter :param down: Filter by down :param yards_to_go_type: Filter by yards to go category :param touchdown: Filter for touchdown plays (1 = yes, 0 = no) :param rush10_plus_yards: Filter for rushing plays of 10+ yards :param fumble_lost: Filter for plays with fumbles lost :param fumble: Filter for plays with fumbles :param qb_alignment: Filter by quarterback alignment :param redzone: Filter for red zone plays :param goal_to_go: Filter for goal-to-go situations :param pass_play: Filter for passing plays :param run_play: Filter for running plays :param play_type: Filter by specific play types :param attempt: Filter for passing attempts :param completion: Filter for completed passes :param interception: Filter for interceptions :param reception: Filter for receptions :param sack: Filter for sacks :param rec_motion: Filter by receiver motion :param target_location: Filter by target location on field :param air_yard_type: Filter by air yards category :param dropback_time_type: Filter by dropback time :param pressure: Filter by quarterback pressure :param blitz: Filter by defensive blitz :param play_action: Filter by play action usage :param rush_direction: Filter by rush direction :param run_stuff: Filter for stuffed runs :param receiver_alignment: Filter by receiver alignment :param separation_type: Filter by receiver separation :param personnel: Filter by defensive personnel package :param defenders_in_the_box_type: Filter by defenders in the box :param def_coverage_type: Filter by defensive coverage type :param retries: Override the default retry configuration for this method :param server_url: Override the default server URL for this method :param timeout_ms: Override the default request timeout configuration for this method in milliseconds :param http_headers: Additional headers to set or replace on requests.
Source code in griddy/nfl/endpoints/pro/content.py
457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 | |
get_coaches_film_videos
¶
get_coaches_film_videos(
*,
game_id: List[str],
play_id: List[str],
retries: OptionalNullable[RetryConfig] = UNSET,
server_url: Optional[str] = None,
timeout_ms: Optional[int] = None,
http_headers: Optional[Mapping[str, str]] = None
) -> CoachesFilmResponse
Get Coaches Film Videos
Retrieves premium coaches film video content for specified games and plays. Returns multiple camera angles (endzone, sideline, broadcast) for each play, providing comprehensive film study material. Requires NFL Plus Premium subscription and appropriate geographic restrictions apply (US only).
:param game_id: Game identifiers (UUID format, supports multiple games) :param play_id: Play identifiers for specific plays within the games :param retries: Override the default retry configuration for this method :param server_url: Override the default server URL for this method :param timeout_ms: Override the default request timeout configuration for this method in milliseconds :param http_headers: Additional headers to set or replace on requests.
Source code in griddy/nfl/endpoints/pro/content.py
get_coaches_film_videos_async
async
¶
get_coaches_film_videos_async(
*,
game_id: List[str],
play_id: List[str],
retries: OptionalNullable[RetryConfig] = UNSET,
server_url: Optional[str] = None,
timeout_ms: Optional[int] = None,
http_headers: Optional[Mapping[str, str]] = None
) -> CoachesFilmResponse
Get Coaches Film Videos
Retrieves premium coaches film video content for specified games and plays. Returns multiple camera angles (endzone, sideline, broadcast) for each play, providing comprehensive film study material. Requires NFL Plus Premium subscription and appropriate geographic restrictions apply (US only).
:param game_id: Game identifiers (UUID format, supports multiple games) :param play_id: Play identifiers for specific plays within the games :param retries: Override the default retry configuration for this method :param server_url: Override the default server URL for this method :param timeout_ms: Override the default request timeout configuration for this method in milliseconds :param http_headers: Additional headers to set or replace on requests.