Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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)
- Host: GitHub
- URL: https://github.com/tyrw/amazon-ecs-sample
- Owner: tyrw
- Created: 2012-06-11T21:45:49.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2015-07-27T00:51:42.000Z (over 9 years ago)
- Last Synced: 2023-03-24T08:46:10.939Z (over 1 year ago)
- Language: Ruby
- Homepage:
- Size: 187 KB
- Stars: 3
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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 readabilityIn 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**