A Node.js application to download product images from Neto webstores.
Download and install the latest stable version of Node.js.
You can check the installation by running the following in your command line:
node -v
npm install
You can check the installation by running the following in your command line:
npm -v
git clone https://github.com/danielsims/image-download.git
cd image-download
npm i
npm start
You will be prompted to enter the Endpoint URL and API Key for your webstore, which will be used to fetch product URL's from the Neto API.
The endpoint URL for your Neto webstore eg. https://storedomain.neto.com.au/do/WS/NetoAPI
The global API key for your Neto webstore. To obtain your global API Key in the cPanel, navigate to Settings & Tools > All Settings & Tools > API Settings.
For further details on authentication, refer to the GetItem API Documentation and Authentication Documentation.
When complete, product images will be saved to the images
directory, and will be assigned to their relevant subdirectories eg. full, alt_1, alt_2 etc.