def get_all_trello_boards(trello_token):
    """ Get JSON data for all Trello boards the given
        token has access to.
    """
    client = trello_token.client
    user_data = client.members.get('me')
    data = client.members.get_board('me')
    for oid in user_data['idOrganizations']:
        data += client.organizations.get_board(oid)
    return data
