https://github.com/making/clj-aws-ecs
Clojure Client Library for Amazon Product Advertising API
https://github.com/making/clj-aws-ecs
Last synced: 12 months ago
JSON representation
Clojure Client Library for Amazon Product Advertising API
- Host: GitHub
- URL: https://github.com/making/clj-aws-ecs
- Owner: making
- Created: 2010-03-07T16:31:19.000Z (about 16 years ago)
- Default Branch: master
- Last Pushed: 2011-07-27T18:30:28.000Z (over 14 years ago)
- Last Synced: 2024-07-30T01:02:37.855Z (over 1 year ago)
- Language: Clojure
- Homepage:
- Size: 96.7 KB
- Stars: 14
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
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.