Here is my code.
(use '[leiningen.exec :only (deps)])
(deps '[[org.clojure/clojure "1.4.0"]
[org.clojure/data.zip "0.1.1"]])
(deps '[[clj-http "0.5.8"]
[org.clojars.rorygibson/clj-amazon "0.3.0-SNAPSHOT"]]
)
(def ACCESS-KEY "my access key" )
(def SECRET-KEY "my secret key" )
(def ASSOCIATE-ID "my id")
(def ENDPOINT "webservices.amazon.co.uk")
(def signer (signed-request-helper ACCESS-KEY SECRETE-KEY ASSOCIATE-ID))
(def gibson-opus-search (item-search :signer signer :search-index "Books", :keywords "Neuromancer", :associate-tag ASSOCIATE-ID, :condition "New"))
(def lookup-specific-item (item-lookup :signer signer :associate-tag ASSOCIATE-ID :item-id "B0069KPSPC" :response-group "ItemAttributes,OfferSummary"))
I'm trying to use Amazon's product api on Clojure. When I try lein exec on the command prompt, I get unable to resolve symbol: signed-request helper in this context. How can I fix this problem?