API clients for various languages for the GraphHopper Directions API
Clone or download
Latest commit 4438916 Sep 19, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
clojure updated swagger config Jun 28, 2018
csharp updated clients to latest swagger version Sep 10, 2018
dart updated clients to latest swagger version Sep 10, 2018
go updated clients to latest swagger version Sep 10, 2018
haskell updated clients to latest swagger version Sep 10, 2018
java-examples fixed isochrone java example Jun 28, 2018
java updated clients to latest swagger version Sep 10, 2018
kotlin updated clients to latest swagger version Sep 10, 2018
objc updated clients to latest swagger version Sep 10, 2018
perl updated clients to latest swagger version Sep 10, 2018
php updated clients to latest swagger version Sep 10, 2018
python updated clients to latest swagger version Sep 10, 2018
qt5cpp updated clients to latest swagger version Sep 10, 2018
r updated clients to latest swagger version Sep 10, 2018
ruby updated clients to latest swagger version Sep 10, 2018
rust updated clients to latest swagger version Sep 10, 2018
scala updated clients to latest swagger version Sep 10, 2018
sinatra updated clients to latest swagger version Sep 10, 2018
swift updated clients to latest swagger version Sep 10, 2018
tizen updated clients to latest swagger version Sep 10, 2018
.gitignore move to 0.11-SNAPSHOT Mar 2, 2018
LICENSE.txt added license Jan 22, 2018
README.md Update README.md Sep 19, 2018
create.sh avoid pom.xml beeing overwritten everytime Sep 10, 2018
swagger.json adapt to latest swagger in repo Sep 10, 2018

README.md

API clients for the GraphHopper Directions API

This project contains API clients that were created from our swagger specification for the different languages.

Please see the successfully created one in the subfolders.

language tested? alternative
clojure no
cpprest no
csharp partly
dart no
go no
haskell no
java yes You can use the optimized handcoded client
javascript yes Use the official client
kotlin no
objc no
perl no
php yes
python no
qt5cpp no
r no Community contribution for the Routing API (stplanr).
ruby yes
rust no
scala no
sinatra no
swift no Community contribution for the Routing and Geocoding API
symphony - Community contribution for the Geocoding API
tizen no

tested=yes means we or one of our customers have successfully used the client for this programming language.

The JavaScript client is handcrafted and can be found in the separate, linked repository.

The Java client is also available on maven.

Supported APIs

Currently the following APIs are supported

  • Routing API (with unencoded polylines only)
  • Geocoding API
  • Matrix API
  • Isochrone API
  • Route Optimization API

Build it yourself

Currently we use swagger codegen from master (we'll soon switch to stable 2.4.0) to create the clients. You can easily edit the create.sh script to specify your own packaged version.

Update all clients

./create.sh

Update one client of your choice

./create.sh [yourlanguage]