Skip to content
A CampMinder API wrapper written in Elixir.
Elixir
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
config
fixture/vcr_cassettes
lib
test
.gitignore
.travis.yml
README.md
mix.exs
mix.lock

README.md

campminder-elixir Build Status

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]]
end

Set the CampMinder ID and token in one of two places:

  1. As system environment variables named CAMPMINDER_CAMP_ID and CAMPMINDER_TOKEN.
  2. In your config/config.exs file:
use Mix.Config

config :campminder, camp_id: :value
config :campminder, token: :value
You can’t perform that action at this time.