You can now load JSON data from Github Gist directly into our API explorer!
Step-by-Step Guide
-
Create or Identify the Gist: Ensure that the Gist you want to access contains the JSON data.
-
Go to our API Explorer: https://explorer.graphhopper.com/
-
Refer to your Gist using the API (endpoint) you want to use, your username and your Gist ID:
https://explorer.graphhopper.com/?endpoint=[endpoint]&username=[your username]&gist_id=[your gist id]
Here is an example of a routing problem:
https://explorer.graphhopper.com/?endpoint=route&username=oblonski&gist_id=d2319625553abb10da52fa5b42246db5
If you want to share a VRP problem, you would use endpoint=vrp like this: https://explorer.graphhopper.com/?endpoint=vrp&username=oblonski&gist_id=6b34dc76af884bc295ac1fd88bee9b9b
This makes developing, analyzing, and debugging even easier, and it allows you to effortlessly share examples (with us), improving communication and support.