zpracovani

zpracovani: parse.com API client in Clojure


License
EPL-1.0

Documentation

zpracování

A Clojure client for the Parse REST API.

Usage

Familiarize yourself with the Parse REST API docs and create an account/application.

In your project.clj:

[zpracovani "0.0.1"]
(ns my.app
  (:use zpracovani.core
  (:require [zpracovani.api.users :as zu]
            [zpracovani.api.objects :as zo]))

(def my-app-id "<your application id>")
(def my-master-key "<your master key>")
(with-credentials my-app-id my-master-key
    ;; signup a user
    (zu/signup :user {:username "jan" :password "secret"})
    ;; store an object
    (zo/create "ToDo" :object {:date "tomorrow" :task "feed alpacas"})
    ;; etc.
)

Testing

Specify an application ID and a Master Key in the resources/test.properties file to run the unit tests.

Examples

See the unit tests.

There is a sample DSL that wraps up the API and shows how easy it is to put together a nice, composable front end for querying.

Status

All user and object calls should be supported.

Name

zpracování

Czech

processing (action)

License

Copyright (C) 2011 Josh Rotenberg

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