gis-ops / routingpy

🌎 Python library to access all public routing, isochrones and matrix APIs in a consistent manner.
https://routingpy.readthedocs.io/en/latest/?badge=latest
Apache License 2.0
253 stars 26 forks source link

client class should be replaceable #22

Closed nilsnolde closed 3 years ago

nilsnolde commented 3 years ago

The main advantage of this package IMO is the parsing of the response. We could re-use this in our valhalla QGIS plugin, but for that to work we need to be able to replace the client with a custom one (not using the requests package, but QgsNetworkAccessManager). That's a little bit of a bigger job of refactoring to make it possible:

should be doable in a backwards-compatible way.

nilsnolde commented 3 years ago

landed with #25