How to get multiple directions options via python

Hey guys, I’m coding a routing tool, and in order to achieve my target I have to get more than one option for the directions. How do I get it from the API?

Hi @ShaharYe,

Could you clarify your question, please? I don’t understand what you are trying to do.
Please also make sure to consult the API documentation for all possible options.

Best regards

Thank you for your answer mate. As I send the Get request for Directions(with origin,distance and so) - I get an answer as a json.
I want to get more than one option for directions from the same origin and distance. How can I get it?

check the docs at https://openrouteservice-py.readthedocs.io/en/latest/#module-openrouteservice.directions
and use the alternative_routes with a target_count of up to 3.
I think that’s what you are looking for.