mexpanel alternatives and similar packages
Based on the "Third Party APIs" category.
Alternatively, view mexpanel alternatives based on common mentions on social networks and blogs.
-
MongoosePush
MongoosePush is a simple Elixir RESTful service allowing to send push notification via FCM and/or APNS. -
sparkpost
SparkPost client library for Elixir https://developers.sparkpost.com -
elixtagram
:camera: Instagram API client for the Elixir language (elixir-lang) -
google_sheets
Elixir library for fetching Google Spreadsheet data in CSV format -
pay_pal
:money_with_wings: PayPal REST API client for the Elixir language (elixir-lang) -
amazon_product_advertising_client
An Amazon Product Advertising API client for Elixir -
cashier
Cashier is an Elixir library that aims to be an easy to use payment gateway, whilst offering the fault tolerance and scalability benefits of being built on top of Erlang/OTP -
elixir_ipfs_api
The Elixir library that is used to communicate with the IPFS REST endpoint.
Static code analysis for 29 languages.
Do you think we are missing an alternative of mexpanel or a related project?
README
Mexpanel
API wrapper for Mixpanel
Installation
If available in Hex, the package can be installed
by adding mexpanel
to your list of dependencies in mix.exs
:
def deps do
[
{:mexpanel, "~> 0.1.0"}
]
end
Usage
Mixpanel provides 2 endpoints: track and engage.
For both these endpoints, this library provides a struct with builder functions. The new
function expects all mandatory parameters, additional properties can be set with functions
Track
alias Mexpanel.TrackRequest
track = TrackRequest.new("123", "user signed up", %{name: "Leif Gensert"})
|> TrackRequest.time(DateTime.utc_now())
|> TrackRequest.ip("144.10.58.141")
|> TrackRequest.distinct_id("user:1")
Mexpanel.request(track)
Engage
For the engage endpoint you will need to specify an operation. See the official documentation for all available operations.
alias Mexpanel.EngageRequest
engage = EngageRequest.new("123", "user:1")
|> EngageRequest.time(DateTime.utc_now())
|> EngageRequest.ip("144.10.58.141")
|> EngageRequest.set(%{name: "Leif Gensert"})
Mexpanel.request(engage)