def METHOD_NAME(group_name):
    url = 'https://slack.com/api/groups.create'
    r = requests.get(url, params={'token': _get_slack_token(), 'name': group_name})
    json = r.json()
    if not json['ok']:
        if json['error'] == 'name_taken':
            raise NameTaken
        raise SlackError(json['error'])
    g = json['group']
    return SlackGroup(g['id'], g['name'])