def get_status():
    """Get pokerstars status: players online, number of tables, etc."""

    res = requests.get(STATUS_URL)
    status = res.json()['tournaments']['summary']

    # move all sites under sites attribute, including play money
    sites = status.pop('site')
    play_money = status.pop('play_money')
    play_money['id'] = 'Play Money'
    sites.append(play_money)
    sites = tuple(_SiteStatus(**site) for site in sites)

    return _Status(sites=sites, updated=status.pop('updated'), **status)
Get pokerstars status: players online, number of tables, etc.