Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.epic_games_store.helper Namespace Reference

Functions

dict[str, Any] format_game_data (dict[str, Any] raw_game_data, str language)
 
str get_game_url (dict[str, Any] raw_game_data, str language)
 
bool is_free_game (dict[str, Any] game)
 

Detailed Description

Helper for Epic Games Store.

Function Documentation

◆ format_game_data()

dict[str, Any] homeassistant.components.epic_games_store.helper.format_game_data ( dict[str, Any]  raw_game_data,
str  language 
)
Format raw API game data for Home Assistant users.

Definition at line 9 of file helper.py.

◆ get_game_url()

str homeassistant.components.epic_games_store.helper.get_game_url ( dict[str, Any]  raw_game_data,
str  language 
)
Format raw API game data for Home Assistant users.

Definition at line 57 of file helper.py.

◆ is_free_game()

bool homeassistant.components.epic_games_store.helper.is_free_game ( dict[str, Any]  game)
Return if the game is free or will be free.

Definition at line 73 of file helper.py.