<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_player_summaries(players, **kwargs):
 """ Get players steam profile from their steam ids """

    if (isinstance(players, list)):
        params = {'steamids': ','.join(str(p) for p in players)}
    elif (isinstance(players, int)):
        params = {'steamids': players}
    else:
        raise ValueError("The players input needs to be a list or int")
    return make_request("GetPlayerSummaries", params, version="v0002",
        base="http://api.steampowered.com/ISteamUser/", **kwargs)