test.integration.test_api_player_data

Pytest integration tests for Yahoo Fantasy Sports API player data.

Note

Tests saving and loading all Yahoo Fantasy Sports API player data.

logger

Game data integration tests logger.

Type

Logger

env_path

Path to the local .env file used to set environment variables at runtime.

Type

Path

Functions

test_get_player_draft_analysis

Retrieve draft analysis of specific player by player_key for chosen league.

test_get_player_ownership

Retrieve ownership of specific player by player_key for chosen league.

test_get_player_percent_owned_by_week

Retrieve percent-owned of specific player by player_key and by week for chosen league.

test_get_player_stats_by_date

Retrieve stats of specific player by player_key and by date for chosen league.

test_get_player_stats_by_week

Retrieve stats of specific player by player_key and by week for chosen league.

test_get_player_stats_for_season

Retrieve stats of specific player by player_key for season for chosen league.