Mxpanel.Client (Mxpanel v0.1.0) View Source
Struct representing a Mxpanel Client.
Default Usage
%Mxpanel.Client{token: "project_token"}
EU API
%Mxpanel.Client{token: "project_token", base_url: "api-eu.mixpanel.com"}
Custom HTTP client
You can switch the default HTTP client which uses finch underneath
by defining a different implementation by setting the :http_client
option:
%Mxpanel.Client{http_client: {MyCustomHTTPClient, []}, token: "token"}