lavvsharma/py_olamaps ? reverse-engineered prompt

Reverse engineered prompt

Build me a clean Python library for the Ola Maps API that feels easy to use in real projects.

I want a simple client where someone can pass either an API key or a client ID and client secret, then call methods for routing, roads, places, geocoding, and map tiles without having to deal with raw HTTP themselves. Please include support for directions, distance matrix, snap to road, nearest roads, autocomplete, place details, nearby search, text search, forward and reverse geocoding, and both vector and static map tile requests. For the static map methods, make sure image responses are handled properly.

Keep the code straightforward, with helpful type hints and good error handling so people can understand what went wrong. Add tests for the main flows and make the examples in the README usable. If you need to check the current Ola Maps docs online to confirm request details or response shapes, go ahead and do that.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab