Skip to content

making/clj-aws-ecs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

# 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.

About

Clojure Client Library for Amazon Product Advertising API

Resources

Stars

Watchers

Forks

Releases

No releases published