File tree Expand file tree Collapse file tree 15 files changed +47
-32
lines changed Expand file tree Collapse file tree 15 files changed +47
-32
lines changed Original file line number Diff line number Diff line change 1- from mindee import Client, documents
1+ from mindee import Client
2+ from mindee.documents.fr import TypeBankAccountDetailsV1
23
34# Init a new client
45mindee_client = Client(api_key="my-api-key")
@@ -7,7 +8,7 @@ mindee_client = Client(api_key="my-api-key")
78input_doc = mindee_client.doc_from_path("/path/to/the/file.ext")
89
910# Parse the Bank Account Details by passing the appropriate type
10- result = input_doc.parse(documents.fr. TypeBankAccountDetailsV1)
11+ result = input_doc.parse(TypeBankAccountDetailsV1)
1112
1213# Print a brief summary of the parsed data
1314print(result.document)
Original file line number Diff line number Diff line change 1- from mindee import Client, documents
1+ from mindee import Client
2+ from mindee.documents.fr import TypeBankAccountDetailsV2
23
34# Init a new client
45mindee_client = Client(api_key="my-api-key")
@@ -7,7 +8,7 @@ mindee_client = Client(api_key="my-api-key")
78input_doc = mindee_client.doc_from_path("/path/to/the/file.ext")
89
910# Parse the Bank Account Details by passing the appropriate type
10- result = input_doc.parse(documents.fr. TypeBankAccountDetailsV2)
11+ result = input_doc.parse(TypeBankAccountDetailsV2)
1112
1213# Print a brief summary of the parsed data
1314print(result.document)
Original file line number Diff line number Diff line change 1- from mindee import Client, documents
1+ from mindee import Client
2+ from mindee.documents.us import TypeBankCheckV1
23
34# Init a new client
45mindee_client = Client(api_key="my-api-key")
@@ -7,7 +8,7 @@ mindee_client = Client(api_key="my-api-key")
78input_doc = mindee_client.doc_from_path("/path/to/the/file.ext")
89
910# Parse the Bank Check by passing the appropriate type
10- result = input_doc.parse(documents.us. TypeBankCheckV1)
11+ result = input_doc.parse(TypeBankCheckV1)
1112
1213# Print a brief summary of the parsed data
1314print(result.document)
Original file line number Diff line number Diff line change 1- from mindee import Client, documents
1+ from mindee import Client
2+ from mindee.documents import TypeBarcodeReaderV1
23
34# Init a new client
45mindee_client = Client(api_key="my-api-key")
@@ -7,7 +8,7 @@ mindee_client = Client(api_key="my-api-key")
78input_doc = mindee_client.doc_from_path("/path/to/the/file.ext")
89
910# Parse the Barcode Reader by passing the appropriate type
10- result = input_doc.parse(documents. TypeBarcodeReaderV1)
11+ result = input_doc.parse(TypeBarcodeReaderV1)
1112
1213# Print a brief summary of the parsed data
1314print(result.document)
Original file line number Diff line number Diff line change 1- from mindee import Client, documents
1+ from mindee import Client
2+ from mindee.documents.fr import TypeCarteVitaleV1
23
34# Init a new client
45mindee_client = Client(api_key="my-api-key")
@@ -7,7 +8,7 @@ mindee_client = Client(api_key="my-api-key")
78input_doc = mindee_client.doc_from_path("/path/to/the/file.ext")
89
910# Parse the Carte Vitale by passing the appropriate type
10- result = input_doc.parse(documents.fr. TypeCarteVitaleV1)
11+ result = input_doc.parse(TypeCarteVitaleV1)
1112
1213# Print a brief summary of the parsed data
1314print(result.document)
Original file line number Diff line number Diff line change 1- from mindee import Client, documents
1+ from mindee import Client
2+ from mindee.documents import TypeCropperV1
23
34# Init a new client
45mindee_client = Client(api_key="my-api-key")
@@ -7,7 +8,7 @@ mindee_client = Client(api_key="my-api-key")
78input_doc = mindee_client.doc_from_path("/path/to/the/file.ext")
89
910# Parse the Cropper by passing the appropriate type
10- result = input_doc.parse(documents. TypeCropperV1)
11+ result = input_doc.parse(TypeCropperV1)
1112
1213# Print a brief summary of the parsed data
1314print(result.document)
Original file line number Diff line number Diff line change 1- from mindee import Client, documents
1+ from mindee import Client
2+ from mindee.documents import TypeReceiptV5
23
34# Init a new client
45mindee_client = Client(api_key="my-api-key")
@@ -7,7 +8,7 @@ mindee_client = Client(api_key="my-api-key")
78input_doc = mindee_client.doc_from_path("/path/to/the/file.ext")
89
910# Parse the Receipt by passing the appropriate type
10- result = input_doc.parse(documents. TypeReceiptV5)
11+ result = input_doc.parse(TypeReceiptV5)
1112
1213# Print a brief summary of the parsed data
1314print(result.document)
Original file line number Diff line number Diff line change 1- from mindee import Client, documents
1+ from mindee import Client
2+ from mindee.documents import TypeFinancialDocumentV1
23
34# Init a new client
45mindee_client = Client(api_key="my-api-key")
@@ -7,7 +8,7 @@ mindee_client = Client(api_key="my-api-key")
78input_doc = mindee_client.doc_from_path("/path/to/the/file.ext")
89
910# Parse the Financial Document by passing the appropriate type
10- result = input_doc.parse(documents. TypeFinancialDocumentV1)
11+ result = input_doc.parse(TypeFinancialDocumentV1)
1112
1213# Print a brief summary of the parsed data
1314print(result.document)
Original file line number Diff line number Diff line change 1- from mindee import Client, documents
1+ from mindee import Client
2+ from mindee.documents.fr import TypeIdCardV1
23
34# Init a new client
45mindee_client = Client(api_key="my-api-key")
@@ -7,7 +8,7 @@ mindee_client = Client(api_key="my-api-key")
78input_doc = mindee_client.doc_from_path("/path/to/the/file.ext")
89
910# Parse the Carte Nationale d'Identité by passing the appropriate type
10- result = input_doc.parse(documents.fr. TypeIdCardV1)
11+ result = input_doc.parse(TypeIdCardV1)
1112
1213# Print a brief summary of the parsed data
1314print(result.document)
Original file line number Diff line number Diff line change 1- from mindee import Client, documents
1+ from mindee import Client
2+ from mindee.documents.fr import TypeIdCardV2
23
34# Init a new client
45mindee_client = Client(api_key="my-api-key")
@@ -7,7 +8,7 @@ mindee_client = Client(api_key="my-api-key")
78input_doc = mindee_client.doc_from_path("/path/to/the/file.ext")
89
910# Parse the Carte Nationale d'Identité by passing the appropriate type
10- result = input_doc.parse(documents.fr. TypeIdCardV2)
11+ result = input_doc.parse(TypeIdCardV2)
1112
1213# Print a brief summary of the parsed data
1314print(result.document)
You can’t perform that action at this time.
0 commit comments