essentiasoftserv/bharatocrclient ? reverse-engineered prompt
Reverse engineered prompt
Build me a clean Python client for BharatOcrAPI that feels easy to use from one import. I want people to be able to register, log in, get back an API key, and then send document images to extract details from things like PAN card, Aadhaar card, driving licence, passport, voter ID, vehicle registration, water bill, degree, and birth certificate.
Please make the functions simple and consistent, taking the key plus the needed image path or paths, and returning useful Python objects or dictionaries. Add a few clear usage examples in the README so someone can copy and paste them right away. If there are any current API details you need, look them up online and make sure the client matches them. Also include basic setup, packaging, and enough error handling so it is friendly for someone who just wants to install it and start using the OCR service without digging through code.
Are you gonna build this?
make sure you review the code using coderabbit