Is it possible to leverage WooCommerece API in a seperate, independant PHP file? For example, I want to run a php script that will tally all the sales for the day. The file will reside in the WooCommerence folder but have no connection to the WordPress or WooCommerence install:
e.g. salesTally.php
<?php
//How to include?
global $woocommerce, $post;
$order = new WC_Order($post->ID);
//Do Stuff To Order
?>