Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tyrw/amazon-ecs-sample

Shows how to use amazon-ecs gem (including images)
https://github.com/tyrw/amazon-ecs-sample

Last synced: 7 days ago
JSON representation

Shows how to use amazon-ecs gem (including images)

Awesome Lists containing this project

README

        

A rails project for testing the amazon-ecs gem.
Shows examples of how to use the gem, with everything located in amazon_controller.rb and index.html.erb for readability

In particular, shows how to use the Images ResponseGroup to get images, e.g.:
@imgs = Amazon::Ecs.item\_search(search\_term, { :response\_group => 'Images', :sort => 'relevancerank' })

To play around with it:
**edit config/initializers/amazon-ecs.rb**
**rails s**
**http://localhost:3000/amazon?search=ruby%20on%20rails**