DIR: /var/www/devs.lapieza.net/vendor/mindee/mindee/docs/code_samples/ |
Current File : /var/www/devs.lapieza.net/vendor/mindee/mindee/docs/code_samples/invoice_splitter_v1_async.txt |
<?php use Mindee\Client; use Mindee\Product\InvoiceSplitter\InvoiceSplitterV1; // Init a new client $mindeeClient = new Client("my-api-key"); // Load a file from disk $inputSource = $mindeeClient->sourceFromPath("/path/to/the/file.ext"); // Parse the file $apiResponse = $mindeeClient->enqueueAndParse(InvoiceSplitterV1::class, $inputSource); echo strval($apiResponse->document); |