{"repo":"GIScience/openrouteservice-js","free":true,"listed":false,"github":"https://github.com/GIScience/openrouteservice-js","clone":"git clone https://github.com/GIScience/openrouteservice-js.git","description":":pushpin: The JavaScript API to consume openrouteservice(s) painlessly!","language":"JavaScript","stars":248,"topics":["npm-package","npm","nodejs","openrouteservice","sdk","api","routing-engine"],"license":"Apache-2.0","category":"api-integrations-sdks","readme_excerpt":"The JavaScript API to consume openrouteservice(s) painlessly! This library lets you consume the openrouteservice API in JavaScript applications. It allows you to painlessly consume the following services: - Directions (routing) - Geocoding Reverse Geocoding Structured Geocoding (powered by Pelias) - Isochrones (accessibility) - Time-distance matrix - Snap (Get the closest point on road network) - POIs (points of interest) - Elevation (linestring or point) - Optimization See the examples in the examples folder Note: In order to use this client, you have to register for a token at openrouteservice. To understand the features of openrouteservice, please don't forget to read the docs. For visualization purposes on the map please use openrouteservice maps. Documentation This library uses the ORS API for request validation. To understand the input of each API specifically, please check API Playground that provides an interactive documentation. Installation and Usage Requirements - git - nodeJS - if not included in nodeJS: npm Install the library with npm: Use es module import Use requirejs Use the distribution file directly in html Pair with local openrouteservice instance Integrate the APIs in your application Isochrones Example Directions HGV example (browser) Note: Nested parameters from the options object are easier accessible like restrictions , avoidables and avoid polygons (cf. API docs) Geocode examples Matrix example Elevation example Snap example Optimization example Or c","default_branch":null,"files":null,"tree":[],"storefront":"/r/GIScience","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/GIScience/openrouteservice-js/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}