Irina
Irina

Reputation: 1598

Setting up Graphhopper (open source version)

I am looking for an alternative to the Google Directions API and run into Graphhopper, as I need to get matrices that provide the distances and travel times between a group of points given by coordinates.

I have installed the Graphhopper server in Java following these instructions, and it seems to be running fine.

As I need to send the requests using Python, I also installed the Python client as shown here. However, it asks for an API key and refers me to the Graphhopper website to get one.

How can I get the client to make a call to the machine where I have installed the server, instead of trying to reach the Graphhopper API? Is this possible? I have been going through the client files but haven't found any place to enter this information.

Thanks in advance!

Upvotes: 0

Views: 644

Answers (1)

Irina
Irina

Reputation: 1598

For anybody in my same situation, I have found an answer. The Matrix API is not open source, so you need to get an API key regardless. Then, you can use the client code (like the one I linked to above) to send queries. The chart of features that are available via the open source code can be found here.

I hope that helps!

Upvotes: 1

Related Questions