Skip to content

itecedor/wc-product-picker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

WooCommerce Product Picker

This little script reaches out to your site's WC API, pulls down a random page of products, then returns the URL for one specific product. I'm using this to help me pick products to promote a product each day on social media.

Setup & running

Install dependancies:

pip install -r requirements.txt

Set 3 environment configs for your WC site:

export URL='SITE_URL'
export CONSUMER_KEY='YOUR_KEY'
export CONSUMER_SECRET='YOUR_SECRET'

Run program:

python product-picker.py

About

A little script that chooses a WooCommerce product randomly

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages