Skip to content

zhiyuanyaogis/directions-api-clients

 
 

Repository files navigation

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]

About

API clients for various languages for the GraphHopper Directions API

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 15.2%
  • C# 13.7%
  • PHP 13.0%
  • Ruby 9.8%
  • Java 9.0%
  • Python 8.5%
  • Other 30.8%