campminder-elixir 
A CampMinder API integration for use in Elixir.
Current capabilities
- User login!
- User ID retrieval by email.
- API key generation
- Add New Lead
TODO:
- Add Custom Data
- Get Telegraph reports
- Run Telegraph report
- Implement more of the CM API
Installation
Add campminder to your list of dependencies in mix.exs:
def deps do
[{:campminder, "~> 0.1"}]
end
Ensure campminder is started before your application:
def application do
[applications: [:campminder]]
endSet the CampMinder ID and token in one of two places:
-
As system environment variables named
CAMPMINDER_CAMP_IDandCAMPMINDER_TOKEN. -
In your
config/config.exsfile:
use Mix.Config
config :campminder, camp_id: :value
config :campminder, token: :value