Clojure Client Library for Amazon Product Advertising API
Clojure
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
src/am/ik
.gitignore
README
project.clj

README

# clj-aws-ecs

Clojure Client Library for Amazon Product Advertising API

## Usage

user=> (use 'am.ik.clj-aws-ecs)
user=> (def requester (make-requester "ecs.amazonaws.jp" "YOUR-ACCESS-KEY-ID" "YOUR-ACCESS-SECRET-KEY"))
user=> (def requester (make-requester "ecs.amazonaws.jp" "YOUR-ACCESS-KEY-ID" "YOUR-ACCESS-SECRET-KEY"))
;; lookup
user=> (item-lookup-map requester "1430272317") ;; result of clojure.xml/parse
user=> (item-lookup-doc requester "1430272317") ;; result of javax.xml.parsers.DocumentBuilder/parse

if you want to add other parameters, set paramter map to 3rd argument like below.

user=> (item-lookup-doc requester "1430272317" {"AssociateTag" "ikam-22"})

;; search
user=> (item-search-map requester "Books" "Clojure")
user=> (item-search-doc requester "Books" "Clojure")


## Installation
add
[am.ik/clj-aws-ecs "0.1.0"]
to your project.clj

## License

Licensed under the Apache License, Version 2.0.