Create Woocommerce product without creating api credentials

Here is my solution.

You can directly interact with WooCommerce if you include the main woocommerce file from woocommerce/woocommerce.php

The classes I specifically used were WC_Product and WC_Product_Query

With these classes, you can get existing products and create new ones. I included links to the docs for these two classes