A program to fetch items from WooCommerce Plugin
Things needed:
- WooCommerce API Consumer Key
- WooCommerce API Consumer Secret
Note: Currently, the WooCommerce API Key only needs READ access.
- WordPress URL
Prerequisite:
- Node.js Runtime
- In the root directory, create a file called
.env
- Modify the following and paste these 3 lines in
.env
CONSUMER_KEY= Put your consumer key here
CONSUMER_SECRET= Put your consumer secret here
URL= Put your WordPress URL here (ex. https://example.com/)
- Run
npm install
in the root directory
- Run
npm run start
in the root directory