Elixir Library for interacting with Amazon Product Advertising API
Add ampex to your list of dependencies in mix.exs:
def deps do
[{:ampex, "~> 0.1.0"}]
endAdd these 3 environment variables to you system:
AWS_ASSOCIATE AWS_KEY AWS_SECRET
Find position of a product:
Ampex.find_position(asin, keywords, max_pages \\ 10, wait_call \\ 1100, page \\ 1, position \\ 0)Only returns title and image:
Ampex.item_lookup(asin)