Code Monkey home page Code Monkey logo

amazon-wishlist-api's Introduction

Amazon Wishlist API

This is the API that will scrapes Amazon.com's servers for items and sends the data back as JSON.

This tutorial can be found on Medium:

Build An Amazon Product Wishlist App Part 1/2 - Backend

Requirements

  • NodeJS 12.13.1
  • Internet Connection

Local Setup Instructions

1. Installing Node Version With NVM

nvm install;

2. Installing Depdendencies

yarn install; # npm install

3. Start Server

yarn start; # npm start

Testing Endpoint

Testing if the server works, you can perform curl request or open it up in your browser:

Request:

GET http://localhost:5000

curl http://localhost:5000;

Expected Result:

{ "version": "1.0.0" }

Request:

GET http://localhost:5000/?q=burrito

curl http://localhost:5000/search\?q=burrito

Expected Result:

{
  "data": [
    {
      "name": "Throw Throw Burrito by Exploding Kittens - A Dodgeball Card Game - Family-Friendly Party Games - Card Games for Adults, Teens & Kids",
      "url": "/Throw-Burrito-Dodgeball-Exploding-Kittens/dp/B07TS96J7Q/ref=sr_1_1?dchild=1&keywords=burrito&qid=1586638633&sr=8-1",
      "image": "https://m.media-amazon.com/images/I/61qT2Psk-AL._AC_UL320_ML3_.jpg",
      "price": "24.99"
    }
  ]
}

Explanation Of Additional Files

Used for Node Version Manager

.nvmrc

Used By Visual Studio Code to auto format code for spacing and more

.vscode/settings.json

Please Follow

Twitter: @codingwithmanny

Instagram: @codingwithmanny

Medium @codingwithmanny

GitHub @codingwithmanny

amazon-wishlist-api's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.