ExMarketo
ExMarketo is an library to authenticate and communicate with Marketo API.
Features
- Unsubscribe/subscribe lead
Installation
Add ex_marketo to your list of dependencies in mix.exs:
def deps do
[
{:ex_marketo, "~> 0.1.0"}
]
end
Update application config
# config.exs
config :ex_marketo,
endpoint: "https://123-ABC-456.mktorest.com/rest",
identity: "https://123-ABC-456.mktorest.com/identity",
client_id: "client_id",
client_secret: "client_secret"
# optional
:api, ExMarketo.MockApi