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/expense_receipts_v5_async.txt |
<?php use Mindee\Client; use Mindee\Product\Receipt\ReceiptV5; // 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 asynchronously $apiResponse = $mindeeClient->enqueueAndParse(ReceiptV5::class, $inputSource); echo $apiResponse->document; |