A simple wrapper to cast Riot API data to the community-defined LoL DTO format.
I recommend using riotwatcher or pantheon to acquire objects from the Riot API.
pip install riot_transmute
import riot_transmute
game_from_match = riot_transmute.match_to_game(match)
game_from_timeline = riot_transmute.match_timeline_to_game(match_timeline, game_id, platform_id)
pip install riot_transmute[names]
game_witch_names = riot_transmute.match_to_game(match, add_names=True)