{"id":19824775,"url":"https://github.com/stephangeorg/routing-arcgis","last_synced_at":"2025-09-14T14:35:08.306Z","repository":{"id":75414532,"uuid":"67804113","full_name":"StephanGeorg/routing-arcgis","owner":"StephanGeorg","description":"Lightweight node.js wrapper for the ESRI ArcGIS Online Routing Services","archived":false,"fork":false,"pushed_at":"2016-09-14T15:17:14.000Z","size":9,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-06T06:20:05.488Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/StephanGeorg.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-09-09T14:07:17.000Z","updated_at":"2023-01-01T14:27:56.000Z","dependencies_parsed_at":"2023-04-08T06:46:21.640Z","dependency_job_id":null,"html_url":"https://github.com/StephanGeorg/routing-arcgis","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/StephanGeorg/routing-arcgis","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StephanGeorg%2Frouting-arcgis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StephanGeorg%2Frouting-arcgis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StephanGeorg%2Frouting-arcgis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StephanGeorg%2Frouting-arcgis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/StephanGeorg","download_url":"https://codeload.github.com/StephanGeorg/routing-arcgis/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StephanGeorg%2Frouting-arcgis/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259688347,"owners_count":22896388,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-12T11:05:53.482Z","updated_at":"2025-06-13T17:32:28.965Z","avatar_url":"https://github.com/StephanGeorg.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RountingArcGIS\n\nA leightweight promises based node.js wrapper for the [ArcGIS Online Routing Services](https://developers.arcgis.com/features/directions/).\n\n\n## Installation\n\nInstalling using npm:\n\n    npm i routing-arcgis --save\n\n\n## Usage ##\n\n### Initialization ###\n```javascript\nvar RoutingArcGIS = require('routing-arcgis'),\n    routing = new RoutingArcGIS({\n      client_id: 'YOUR CLIENT ID',         \n      client_secret: 'YOUR CLIENT SECRET' \n    });\n```\n\nThe constructor function also takes an optional configuration object:\n\n* client_id: id for OAuth \n* client_secret: secret for OAuth \n* endpoint: custom ArcGIS endpoint\n\n### Route ###\n```javascript\n  routing.route('13.428426,52.504102','13.437481,52.493651'],{})\n  .then(function(response){\n    console.log(response);\n  })\n  .catch(function(error){\n    console.log(error);\n  });\n```\n\nOptional parameters:\n* you can pass all [request parameters](http://resources.arcgis.com/en/help/arcgis-rest-api/#/Route_service_with_synchronous_execution/02r300000036000000/)\n\n\n\n### Response ###\n\nAll methods return a promise.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstephangeorg%2Frouting-arcgis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstephangeorg%2Frouting-arcgis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstephangeorg%2Frouting-arcgis/lists"}