Closed jtmcmc closed 6 years ago
@jtmcmc @joeymalysz - It just dawned on me this can be done by simply re-assigning the values for any of the base API URL properties, for example...
mp = Mixpanel(api_secret, token=project_token)
mp.IMPORT_API = 'https://myproxyserver.com'
You can do same for...
FORMATTED_API
RAW_API
BETA_IMPORT_API
https://github.com/mixpanel/mixpanel_api/blob/master/__init__.py#L41-L44
Allow the option to provide a proxy server