A StockX, FlightClub, Goat, and Stadium Goods API all in one. This sneaker API allows users to search sneakers and track and compare prices while providing additional info such as product links and images
I have tried to integerate the api in React app and adding the simple line const SneaksAPI = require("sneaks-api"); gives the error Cannot read property 'prototype' of undefined
How to get rid of this or there are some other steps I need to follow?
const SneaksAPI = require("sneaks-api"); is the import for nodejs, not React. You need to install nodejs and make an api call from React to your node server.
I have tried to integerate the api in React app and adding the simple line
const SneaksAPI = require("sneaks-api");
gives the errorCannot read property 'prototype' of undefined
How to get rid of this or there are some other steps I need to follow?