Skip to content

Commit d9f0194

Browse files
deploy: 2dcf781
1 parent 726677e commit d9f0194

21 files changed

+72
-349
lines changed

_sources/product/fr/carte_vitale_v1.rst.txt

Lines changed: 0 additions & 15 deletions
This file was deleted.

code_samples/carte_vitale_v1.txt

Lines changed: 0 additions & 17 deletions
This file was deleted.

code_samples/workflow_execution.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ from mindee import Client, WorkflowResponse
22
from mindee.parsing.common import ExecutionPriority
33

44
# Init a new client
5-
mindee_client = Client(api_key: "my-api-key")
5+
mindee_client = Client(api_key="my-api-key")
66

77
workflow_id = "workflow-id"
88

genindex.html

Lines changed: 10 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,8 @@ <h2 id="A">A</h2>
257257
</li>
258258
</ul></li>
259259
<li><a href="misc/input.html#mindee.input.LocalResponse.as_dict">as_dict (LocalResponse property)</a>
260+
</li>
261+
<li><a href="misc/input.html#mindee.input.UrlInputSource.as_local_input_source">as_local_input_source() (UrlInputSource method)</a>
260262
</li>
261263
<li><a href="parsing/common.html#mindee.parsing.common.async_predict_response.AsyncPredictResponse">AsyncPredictResponse (class in mindee.parsing.common.async_predict_response)</a>
262264
</li>
@@ -575,10 +577,6 @@ <h2 id="C">C</h2>
575577
<li><a href="product/fr/carte_grise_v1.html#mindee.product.fr.carte_grise.carte_grise_v1.CarteGriseV1">CarteGriseV1 (class in mindee.product.fr.carte_grise.carte_grise_v1)</a>
576578
</li>
577579
<li><a href="product/fr/carte_grise_v1.html#mindee.product.fr.carte_grise.carte_grise_v1_document.CarteGriseV1Document">CarteGriseV1Document (class in mindee.product.fr.carte_grise.carte_grise_v1_document)</a>
578-
</li>
579-
<li><a href="product/fr/carte_vitale_v1.html#mindee.product.fr.carte_vitale.carte_vitale_v1.CarteVitaleV1">CarteVitaleV1 (class in mindee.product.fr.carte_vitale.carte_vitale_v1)</a>
580-
</li>
581-
<li><a href="product/fr/carte_vitale_v1.html#mindee.product.fr.carte_vitale.carte_vitale_v1_document.CarteVitaleV1Document">CarteVitaleV1Document (class in mindee.product.fr.carte_vitale.carte_vitale_v1_document)</a>
582580
</li>
583581
<li><a href="product/driver_license_v1.html#mindee.product.driver_license.driver_license_v1_document.DriverLicenseV1Document.category">category (DriverLicenseV1Document attribute)</a>, <a href="product/eu/driver_license_v1.html#mindee.product.eu.driver_license.driver_license_v1_document.DriverLicenseV1Document.category">[1]</a>
584582

@@ -1230,8 +1228,6 @@ <h2 id="E">E</h2>
12301228
<li><a href="product/business_card_v1.html#mindee.product.business_card.business_card_v1.BusinessCardV1.endpoint_name">(BusinessCardV1 attribute)</a>
12311229
</li>
12321230
<li><a href="product/fr/carte_grise_v1.html#mindee.product.fr.carte_grise.carte_grise_v1.CarteGriseV1.endpoint_name">(CarteGriseV1 attribute)</a>
1233-
</li>
1234-
<li><a href="product/fr/carte_vitale_v1.html#mindee.product.fr.carte_vitale.carte_vitale_v1.CarteVitaleV1.endpoint_name">(CarteVitaleV1 attribute)</a>
12351231
</li>
12361232
<li><a href="product/cropper_v1.html#mindee.product.cropper.cropper_v1.CropperV1.endpoint_name">(CropperV1 attribute)</a>
12371233
</li>
@@ -1306,8 +1302,6 @@ <h2 id="E">E</h2>
13061302
<li><a href="product/business_card_v1.html#mindee.product.business_card.business_card_v1.BusinessCardV1.endpoint_version">(BusinessCardV1 attribute)</a>
13071303
</li>
13081304
<li><a href="product/fr/carte_grise_v1.html#mindee.product.fr.carte_grise.carte_grise_v1.CarteGriseV1.endpoint_version">(CarteGriseV1 attribute)</a>
1309-
</li>
1310-
<li><a href="product/fr/carte_vitale_v1.html#mindee.product.fr.carte_vitale.carte_vitale_v1.CarteVitaleV1.endpoint_version">(CarteVitaleV1 attribute)</a>
13111305
</li>
13121306
<li><a href="product/cropper_v1.html#mindee.product.cropper.cropper_v1.CropperV1.endpoint_version">(CropperV1 attribute)</a>
13131307
</li>
@@ -1600,8 +1594,6 @@ <h2 id="G">G</h2>
16001594
<li><a href="product/business_card_v1.html#mindee.product.business_card.business_card_v1.BusinessCardV1.get_endpoint_info">(BusinessCardV1 static method)</a>
16011595
</li>
16021596
<li><a href="product/fr/carte_grise_v1.html#mindee.product.fr.carte_grise.carte_grise_v1.CarteGriseV1.get_endpoint_info">(CarteGriseV1 static method)</a>
1603-
</li>
1604-
<li><a href="product/fr/carte_vitale_v1.html#mindee.product.fr.carte_vitale.carte_vitale_v1.CarteVitaleV1.get_endpoint_info">(CarteVitaleV1 static method)</a>
16051597
</li>
16061598
<li><a href="product/cropper_v1.html#mindee.product.cropper.cropper_v1.CropperV1.get_endpoint_info">(CropperV1 static method)</a>
16071599
</li>
@@ -1688,11 +1680,9 @@ <h2 id="G">G</h2>
16881680
<li><a href="product/generated_v1.html#mindee.product.generated.generated_v1.GeneratedV1Page.get_single_fields">(GeneratedV1Page method)</a>
16891681
</li>
16901682
</ul></li>
1691-
<li><a href="product/fr/carte_vitale_v1.html#mindee.product.fr.carte_vitale.carte_vitale_v1_document.CarteVitaleV1Document.given_names">given_names (CarteVitaleV1Document attribute)</a>
1683+
<li><a href="product/fr/health_card_v1.html#mindee.product.fr.health_card.health_card_v1_document.HealthCardV1Document.given_names">given_names (HealthCardV1Document attribute)</a>
16921684

16931685
<ul>
1694-
<li><a href="product/fr/health_card_v1.html#mindee.product.fr.health_card.health_card_v1_document.HealthCardV1Document.given_names">(HealthCardV1Document attribute)</a>
1695-
</li>
16961686
<li><a href="product/fr/id_card_v1.html#mindee.product.fr.id_card.id_card_v1_document.IdCardV1Document.given_names">(IdCardV1Document attribute)</a>
16971687
</li>
16981688
<li><a href="product/fr/id_card_v1.html#mindee.product.fr.id_card.id_card_v1_page.IdCardV1Page.given_names">(IdCardV1Page attribute)</a>
@@ -1905,11 +1895,11 @@ <h2 id="I">I</h2>
19051895
<li><a href="misc/geometry.html#mindee.geometry.is_point_in_polygon_y">is_point_in_polygon_y() (in module mindee.geometry)</a>
19061896
</li>
19071897
<li><a href="misc/geometry.html#mindee.geometry.is_point_in_x">is_point_in_x() (in module mindee.geometry)</a>
1908-
</li>
1909-
<li><a href="misc/geometry.html#mindee.geometry.is_point_in_y">is_point_in_y() (in module mindee.geometry)</a>
19101898
</li>
19111899
</ul></td>
19121900
<td style="width: 33%; vertical-align: top;"><ul>
1901+
<li><a href="misc/geometry.html#mindee.geometry.is_point_in_y">is_point_in_y() (in module mindee.geometry)</a>
1902+
</li>
19131903
<li><a href="product/fr/bank_account_details_v1.html#mindee.product.fr.bank_account_details.bank_account_details_v1.BankAccountDetailsV1.is_rotation_applied">is_rotation_applied (BankAccountDetailsV1 attribute)</a>
19141904

19151905
<ul>
@@ -1924,8 +1914,6 @@ <h2 id="I">I</h2>
19241914
<li><a href="product/business_card_v1.html#mindee.product.business_card.business_card_v1.BusinessCardV1.is_rotation_applied">(BusinessCardV1 attribute)</a>
19251915
</li>
19261916
<li><a href="product/fr/carte_grise_v1.html#mindee.product.fr.carte_grise.carte_grise_v1.CarteGriseV1.is_rotation_applied">(CarteGriseV1 attribute)</a>
1927-
</li>
1928-
<li><a href="product/fr/carte_vitale_v1.html#mindee.product.fr.carte_vitale.carte_vitale_v1.CarteVitaleV1.is_rotation_applied">(CarteVitaleV1 attribute)</a>
19291917
</li>
19301918
<li><a href="product/cropper_v1.html#mindee.product.cropper.cropper_v1.CropperV1.is_rotation_applied">(CropperV1 attribute)</a>
19311919
</li>
@@ -1992,11 +1980,9 @@ <h2 id="I">I</h2>
19921980
</li>
19931981
<li><a href="misc/mindee_http.html#mindee.mindee_http.is_valid_sync_response">is_valid_sync_response() (in module mindee.mindee_http)</a>
19941982
</li>
1995-
<li><a href="product/fr/carte_vitale_v1.html#mindee.product.fr.carte_vitale.carte_vitale_v1_document.CarteVitaleV1Document.issuance_date">issuance_date (CarteVitaleV1Document attribute)</a>
1983+
<li><a href="product/fr/health_card_v1.html#mindee.product.fr.health_card.health_card_v1_document.HealthCardV1Document.issuance_date">issuance_date (HealthCardV1Document attribute)</a>
19961984

19971985
<ul>
1998-
<li><a href="product/fr/health_card_v1.html#mindee.product.fr.health_card.health_card_v1_document.HealthCardV1Document.issuance_date">(HealthCardV1Document attribute)</a>
1999-
</li>
20001986
<li><a href="product/ind/indian_passport_v1.html#mindee.product.ind.indian_passport.indian_passport_v1_document.IndianPassportV1Document.issuance_date">(IndianPassportV1Document attribute)</a>
20011987
</li>
20021988
<li><a href="product/passport_v1.html#mindee.product.passport.passport_v1_document.PassportV1Document.issuance_date">(PassportV1Document attribute)</a>
@@ -2497,8 +2483,6 @@ <h2 id="P">P</h2>
24972483
<li><a href="product/business_card_v1.html#mindee.product.business_card.business_card_v1.BusinessCardV1.page_id">(BusinessCardV1 attribute)</a>
24982484
</li>
24992485
<li><a href="product/fr/carte_grise_v1.html#mindee.product.fr.carte_grise.carte_grise_v1.CarteGriseV1.page_id">(CarteGriseV1 attribute)</a>
2500-
</li>
2501-
<li><a href="product/fr/carte_vitale_v1.html#mindee.product.fr.carte_vitale.carte_vitale_v1.CarteVitaleV1.page_id">(CarteVitaleV1 attribute)</a>
25022486
</li>
25032487
<li><a href="parsing/standard.html#mindee.parsing.standard.classification.ClassificationField.page_id">(ClassificationField attribute)</a>
25042488
</li>
@@ -2707,8 +2691,6 @@ <h2 id="P">P</h2>
27072691
<li><a href="product/business_card_v1.html#mindee.product.business_card.business_card_v1.BusinessCardV1.pages">(BusinessCardV1 attribute)</a>
27082692
</li>
27092693
<li><a href="product/fr/carte_grise_v1.html#mindee.product.fr.carte_grise.carte_grise_v1.CarteGriseV1.pages">(CarteGriseV1 attribute)</a>
2710-
</li>
2711-
<li><a href="product/fr/carte_vitale_v1.html#mindee.product.fr.carte_vitale.carte_vitale_v1.CarteVitaleV1.pages">(CarteVitaleV1 attribute)</a>
27122694
</li>
27132695
<li><a href="product/cropper_v1.html#mindee.product.cropper.cropper_v1.CropperV1.pages">(CropperV1 attribute)</a>
27142696
</li>
@@ -3133,8 +3115,6 @@ <h2 id="P">P</h2>
31333115
<li><a href="product/business_card_v1.html#mindee.product.business_card.business_card_v1.BusinessCardV1.prediction">(BusinessCardV1 attribute)</a>
31343116
</li>
31353117
<li><a href="product/fr/carte_grise_v1.html#mindee.product.fr.carte_grise.carte_grise_v1.CarteGriseV1.prediction">(CarteGriseV1 attribute)</a>
3136-
</li>
3137-
<li><a href="product/fr/carte_vitale_v1.html#mindee.product.fr.carte_vitale.carte_vitale_v1.CarteVitaleV1.prediction">(CarteVitaleV1 attribute)</a>
31383118
</li>
31393119
</ul></li>
31403120
<li><a href="parsing/common.html#mindee.parsing.common.prediction.Prediction">Prediction (class in mindee.parsing.common.prediction)</a>
@@ -3227,8 +3207,6 @@ <h2 id="P">P</h2>
32273207
<li><a href="product/business_card_v1.html#mindee.product.business_card.business_card_v1.BusinessCardV1.product">(BusinessCardV1 attribute)</a>
32283208
</li>
32293209
<li><a href="product/fr/carte_grise_v1.html#mindee.product.fr.carte_grise.carte_grise_v1.CarteGriseV1.product">(CarteGriseV1 attribute)</a>
3230-
</li>
3231-
<li><a href="product/fr/carte_vitale_v1.html#mindee.product.fr.carte_vitale.carte_vitale_v1.CarteVitaleV1.product">(CarteVitaleV1 attribute)</a>
32323210
</li>
32333211
<li><a href="product/cropper_v1.html#mindee.product.cropper.cropper_v1.CropperV1.product">(CropperV1 attribute)</a>
32343212
</li>
@@ -3498,6 +3476,8 @@ <h2 id="S">S</h2>
34983476
</li>
34993477
</ul></li>
35003478
<li><a href="product/nutrition_facts_label_v1.html#mindee.product.nutrition_facts_label.nutrition_facts_label_v1_document.NutritionFactsLabelV1Document.saturated_fat">saturated_fat (NutritionFactsLabelV1Document attribute)</a>
3479+
</li>
3480+
<li><a href="misc/input.html#mindee.input.UrlInputSource.save_to_file">save_to_file() (UrlInputSource method)</a>
35013481
</li>
35023482
<li><a href="product/bill_of_lading_v1.html#mindee.product.bill_of_lading.bill_of_lading_v1_carrier.BillOfLadingV1Carrier.scac">scac (BillOfLadingV1Carrier attribute)</a>
35033483
</li>
@@ -3555,12 +3535,8 @@ <h2 id="S">S</h2>
35553535
</li>
35563536
<li><a href="product/resume_v1.html#mindee.product.resume.resume_v1_document.ResumeV1Document.social_networks_urls">social_networks_urls (ResumeV1Document attribute)</a>
35573537
</li>
3558-
<li><a href="product/fr/carte_vitale_v1.html#mindee.product.fr.carte_vitale.carte_vitale_v1_document.CarteVitaleV1Document.social_security">social_security (CarteVitaleV1Document attribute)</a>
3559-
3560-
<ul>
3561-
<li><a href="product/fr/health_card_v1.html#mindee.product.fr.health_card.health_card_v1_document.HealthCardV1Document.social_security">(HealthCardV1Document attribute)</a>
3538+
<li><a href="product/fr/health_card_v1.html#mindee.product.fr.health_card.health_card_v1_document.HealthCardV1Document.social_security">social_security (HealthCardV1Document attribute)</a>
35623539
</li>
3563-
</ul></li>
35643540
<li><a href="product/fr/payslip_v2.html#mindee.product.fr.payslip.payslip_v2_employee.PayslipV2Employee.social_security_number">social_security_number (PayslipV2Employee attribute)</a>
35653541

35663542
<ul>
@@ -3717,11 +3693,9 @@ <h2 id="S">S</h2>
37173693
<li><a href="product/invoice_v4.html#mindee.product.invoice.invoice_v4_document.InvoiceV4Document.supplier_website">(InvoiceV4Document attribute)</a>
37183694
</li>
37193695
</ul></li>
3720-
<li><a href="product/fr/carte_vitale_v1.html#mindee.product.fr.carte_vitale.carte_vitale_v1_document.CarteVitaleV1Document.surname">surname (CarteVitaleV1Document attribute)</a>
3696+
<li><a href="product/fr/health_card_v1.html#mindee.product.fr.health_card.health_card_v1_document.HealthCardV1Document.surname">surname (HealthCardV1Document attribute)</a>
37213697

37223698
<ul>
3723-
<li><a href="product/fr/health_card_v1.html#mindee.product.fr.health_card.health_card_v1_document.HealthCardV1Document.surname">(HealthCardV1Document attribute)</a>
3724-
</li>
37253699
<li><a href="product/fr/id_card_v1.html#mindee.product.fr.id_card.id_card_v1_document.IdCardV1Document.surname">(IdCardV1Document attribute)</a>
37263700
</li>
37273701
<li><a href="product/fr/id_card_v1.html#mindee.product.fr.id_card.id_card_v1_page.IdCardV1Page.surname">(IdCardV1Page attribute)</a>

guide/custom_v1.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ category: 622b805aaec68102ea7fcbc2
44
slug: python-api-builder
55
parentDoc: 609808f773b0b90051d839de
66
---
7-
> 🚧 This product is still supported, but is considered to be deprecated. If you are looking for the DocTI API documentation, you can find it [here](https://developers.mindee.com/docs/generated-api-python).
7+
> 🚧 This product is still supported, but is considered to be deprecated. If you are looking for the docTI API documentation, you can find it [here](https://developers.mindee.com/docs/generated-api-python).
88
99
# Quick-Start
1010

guide/getting_started.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -209,20 +209,20 @@ Simply setting the correct class and passing the input document is enough:
209209
result = mindee_client.parse(product.InvoiceV4, input_doc)
210210
```
211211

212-
### Custom Documents
212+
### Custom Documents (docTI & Custom APIs)
213213

214-
The endpoint to use must be created beforehands and subsequently passed to the `endpoint` argument of the `parse` method:
214+
The endpoint to use must be created beforehand and subsequently passed to the `endpoint` argument of the `enqueue_and_parse` method:
215215

216216
```python
217217
custom_endpoint = mindee_client.create_endpoint(
218218
"my-endpoin-url",
219219
"my-account-name",
220220
# "my-version" # optional
221221
)
222-
result = mindee_client.parse(product.CustomV1, input_doc, endpoint=custom_endpoint)
222+
result = mindee_client.enqueue_and_parse(product.GeneratedV1, input_doc, endpoint=custom_endpoint)
223223
```
224224

225-
This is because the `CustomV1` class is enough to handle the return processing, but the actual endpoint needs to be specified.
225+
This is because the `GeneratedV1` class is enough to handle the return processing, but the actual endpoint needs to be specified.
226226

227227

228228
## Processing the Response

0 commit comments

Comments
 (0)