diff --git a/Api/bill_example.py b/Api/bill_example.py new file mode 100644 index 0000000..3ff1846 --- /dev/null +++ b/Api/bill_example.py @@ -0,0 +1,6 @@ +from formats import print_bill +from tools import load_json + +if __name__ == "__main__": + data = load_json('./test/fixtures/bill.json') + print_bill(data, "", "") diff --git a/Api/customer_order_example.py b/Api/customer_order_example.py new file mode 100644 index 0000000..f3d7d52 --- /dev/null +++ b/Api/customer_order_example.py @@ -0,0 +1,6 @@ +from formats import print_customer_order +from tools import load_json + +if __name__ == "__main__": + data = load_json('./test/fixtures/customer_order.json') + print_customer_order(data, "", "")