Ejemplo n.º 1
0
    def __init__(self, oauth_token, environment="qa"):

        if environment not in API_URLS.keys():
            raise ValueError("environment must be in: {}".format(
                API_URLS.keys()))

        Eb.__init__(self,
                    oauth_token,
                    eventbrite_api_url=API_URLS[environment])