Clojure wrapper for PostageApp API
Switch branches/tags
Nothing to show
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.
src/clj_postageapp
test/clj_postageapp/test
.gitignore
.travis.yml
README.md
project.clj

README.md

clj-postageapp

A Clojure Wrapper for the postageapp API

CI Status

Build Status

Usage

With leiningen, include it by adding this to your project.clj file:

  :dependencies [[clj-postageapp "0.2.0-alpha"]]

The main functionality is available through the clojure clj-postageapp.mailman namespace

  (require '[clj-postageapp.mailman :as mail]

Before using the library, be sure to init it with your postageapp API key

  (mail/init! "YOUR API KEY")

Currently the library supports two postageapp API requests, get-account-info, and send-message

  (mail/send-message {:recipients ["test@test.com"] :subject
  "Whazzzup" :from "no-reply@test.com" :template "the_postageapp_template_to_use"})

Version History

0.2.0-alpha -- April 29, 2012

  • Support for custom template variables in send_message API call

0.1.0-alpha -- April 27, 2012

  • First release, support for get_account_info and send_message API calls

License

Copyright (C) 2012 Thomas Steffes

Distributed under the Eclipse Public License, the same as Clojure.