We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e97aab commit 9b5d3dcCopy full SHA for 9b5d3dc
.pre-commit-config.yaml
@@ -38,7 +38,7 @@ repos:
38
hooks:
39
- id: mypy
40
args: []
41
- exclude: "tests/|examples/"
+ exclude: "tests/|examples/|docs/"
42
additional_dependencies:
43
- toml
44
- pikepdf
docs/code_samples/fr/carte_vitale_v1.py
@@ -0,0 +1,13 @@
1
+from mindee import Client, documents
2
+
3
+# Init a new client
4
+mindee_client = Client(api_key="my-api-key")
5
6
+# Load a file from disk
7
+input_doc = mindee_client.doc_from_path("/path/to/the/file.ext")
8
9
+# Parse the Carte Vitale by passing the appropriate type
10
+result = input_doc.parse(documents.fr.TypeCarteVitaleV1)
11
12
+# Print a brief summary of the parsed data
13
+print(result.document)
0 commit comments