README.md 1.2 KB

install

npm install request

API

amazon price api(Rapidapi)

get price

request: amazon commodity asin
response: price new

search

request: keywords
response: commodity information 0~10

문제점

  1. search된 상품이 전자상품인지 잘 모른다
  2. search하면 상품이 10개만 나온다
  3. 전자상품의 옵션을 변경한 가격을 얻을 수 없다

{"asin": "B085D2LBNM", "createdAt": "2020-05-10T10:08:26-07:00", "currencySymbol": "$", "title": "Samsung Galaxy Book Ion 13.3\u201d Laptop| QLED Display and Intel Core i7 Processor | 8GB Memory | 512GB SSD | Long Battery Life and Windows 10 Operating System | (NP930XCJ-K01US)", "prices": {"priceAmazon": 119999, "priceNew": 99200, "priceUsed": null}, "lastPrice": {"priceAmazon": 119999, "priceNew": 99200, "priceUsed": 80000}, "highestPricing": {"priceAmazon": {"createdAt": "07/12/2020", "price": 119999}, "priceNew": {"createdAt": "06/08/2020", "price": 119999}, "priceUsed": {"createdAt": "27/06/2020", "price": 101406}}, "lowestPricing": {"priceAmazon": {"createdAt": "27/11/2020", "price": 79900}, "priceNew": {"createdAt": "07/12/2020", "price": 98900}, "priceUsed": {"createdAt": "01/09/2020", "price": 80000}}}