Skip to content
Simple API to extract prices from some e-commerce sites
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
hmft
.gitignore
Gemfile
README.md

README.md

How much for this

Simple API to extract prices for some e-commerce sites.

Endpoints

GET /:shop_name/:id

Retrieves the price for the shop name item specified ID.

Available shops

  • All amazon shops

Contributing

Install all the requirements using bundler:

bundler install

And then just run the main script:

ruby hmfw/main.rb

You can call the API at: http://localhost:4567.

Example call

GET http://localhost:4567/amazonuk/B01N9RTMWS

{
    "currency": "EUR",
    "image": "https://images-na.ssl-images-amazon.com/images/I/61Ly9jIq-cL._SL1000_.jpg",
    "name": "HORI Compact Playstand for Nintendo Switch Officially Licensed by Nintendo",
    "price": null
}
You can’t perform that action at this time.