Mxpanel.Client (Mxpanel v1.0.1) 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 (Mxpanel.HTTPClient.HackneyAdapter)
which uses hackney underneath
by defining a different implementation by setting the :http_client option:
%Mxpanel.Client{http_client: {MyCustomHTTPClient, []}, token: "token"}