11# CheckedID Python API client
22
3- [ ![ PyPI] ( https://img.shields.io/pypi/v/checkedid-python-client .svg )] [ pypi_ ]
4- [ ![ Status] ( https://img.shields.io/pypi/status/checkedid-python-client .svg )] [ status ]
5- [ ![ Python Version] ( https://img.shields.io/pypi/pyversions/checkedid-python-client )] [ python version ]
6- [ ![ License] ( https://img.shields.io/pypi/l/checkedid-python-client )] [ license ]
3+ [ ![ PyPI] ( https://img.shields.io/pypi/v/checkedid.svg )] [ pypi_ ]
4+ [ ![ Status] ( https://img.shields.io/pypi/status/checkedid.svg )] [ status ]
5+ [ ![ Python Version] ( https://img.shields.io/pypi/pyversions/checkedid )] [ python version ]
6+ [ ![ License] ( https://img.shields.io/pypi/l/checkedid )] [ license ]
77
8- [ ![ Read the documentation at https://checkedid-python-client .readthedocs.io/ ] ( https://img.shields.io/readthedocs/checkedid-python-client/latest.svg?label=Read%20the%20Docs )] [ read the docs ]
9- [ ![ Tests] ( https://github.com/foarsitter/checkedid-python-client/workflows/Tests/badge.svg )] [ tests ]
10- [ ![ Codecov] ( https://codecov.io/gh/foarsitter/checkedid-python-client/branch/main/graph/badge.svg )] [ codecov ]
8+ [ ![ Read the documentation at https://checkedid.readthedocs.io/ ] ( https://img.shields.io/readthedocs/checkedid-api -python-client/latest.svg?label=Read%20the%20Docs )] [ read the docs ]
9+ [ ![ Tests] ( https://github.com/foarsitter/checkedid-api- python-client/workflows/Tests/badge.svg )] [ tests ]
10+ [ ![ Codecov] ( https://codecov.io/gh/foarsitter/checkedid-api- python-client/branch/main/graph/badge.svg )] [ codecov ]
1111
1212[ ![ pre-commit] ( https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white )] [ pre-commit ]
1313[ ![ Black] ( https://img.shields.io/badge/code%20style-black-000000.svg )] [ black ]
1414
15- [ pypi_ ] : https://pypi.org/project/checkedid-python-client /
16- [ status ] : https://pypi.org/project/checkedid-python-client /
17- [ python version ] : https://pypi.org/project/checkedid-python-client
18- [ read the docs ] : https://checkedid-python-client .readthedocs.io/
19- [ tests ] : https://github.com/foarsitter/checkedid-python-client/actions?workflow=Tests
20- [ codecov ] : https://app.codecov.io/gh/foarsitter/checkedid-python-client
15+ [ pypi_ ] : https://pypi.org/project/checkedid/
16+ [ status ] : https://pypi.org/project/checkedid/
17+ [ python version ] : https://pypi.org/project/checkedid
18+ [ read the docs ] : https://checkedid.readthedocs.io/
19+ [ tests ] : https://github.com/foarsitter/checkedid-api- python-client/actions?workflow=Tests
20+ [ codecov ] : https://app.codecov.io/gh/foarsitter/checkedid-api- python-client
2121[ pre-commit ] : https://github.com/pre-commit/pre-commit
2222[ black ] : https://github.com/psf/black
2323
2424## Features
2525
26- - TODO
26+ - Typed API client for api.checkedid.eu
2727
2828## Requirements
2929
30- - TODO
30+ - Build with Pydantic and httpx, does currently not support async.
3131
3232## Installation
3333
3434You can install _ CheckedID Python API client_ via [ pip] from [ PyPI] :
3535
3636``` console
37- $ pip install checkedid-python-client
37+ $ pip install checkedid
3838```
3939
4040## Usage
4141
42- Please see the [ Command-line Reference] for details.
42+ ``` py
43+ from checkedid import errors, models, Client
44+
45+ try :
46+ client = Client(' 1001' )
47+ dossier: models.ReportResponse = client.dossier(' 123456789' )
48+ except errors.CheckedIDNotFoundError as e:
49+ print (" Dossier does not exists" )
50+ ```
4351
4452## Contributing
4553
@@ -63,11 +71,10 @@ This project was generated from [@cjolowicz]'s [Hypermodern Python Cookiecutter]
6371[ @cjolowicz ] : https://github.com/cjolowicz
6472[ pypi ] : https://pypi.org/
6573[ hypermodern python cookiecutter ] : https://github.com/cjolowicz/cookiecutter-hypermodern-python
66- [ file an issue ] : https://github.com/foarsitter/checkedid-python-client/issues
74+ [ file an issue ] : https://github.com/foarsitter/checkedid-api- python-client/issues
6775[ pip ] : https://pip.pypa.io/
6876
6977<!-- github-only -->
7078
71- [ license ] : https://github.com/foarsitter/checkedid-python-client/blob/main/LICENSE
72- [ contributor guide ] : https://github.com/foarsitter/checkedid-python-client/blob/main/CONTRIBUTING.md
73- [ command-line reference ] : https://checkedid-python-client.readthedocs.io/en/latest/usage.html
79+ [ license ] : https://github.com/foarsitter/checkedid-api-python-client/blob/main/LICENSE
80+ [ contributor guide ] : https://github.com/foarsitter/checkedid-api-python-client/blob/main/CONTRIBUTING.md
0 commit comments