🚛
简介
基于ALK PCMiler API的专业卡车路线规划工具,提供地理坐标序列计算与路线报告生成功能,适用于商用车辆导航与物流管理场景。
原始描述
PCMier REST API provides methods to retrieves a series of geographic coordinates that make up a route.
技能正文
name: pcmiler description: | PCMier REST API provides methods to retrieves a series of geographic coordinates that make up a route. compatibility: Requires network access and valid PCMiler API key metadata: author: nirjhar version: "1.0"
PCMiler
Access the PCMiler REST API with API authentication. Manage truck routing needs.
Quick Start
# Show route report
curl -s -X GET "https://pcmiler.alk.com/apis/rest/v1.0/Service.svc/route/routeReports?stops=-75.173297%2C39.942892%3B-74.83153%2C39.61703%3B-74.438942%2C39.362469&reports=RoutePath" -H "Authorization: $PCMILER_API_KEY"
Example JSON Response
[ { "__type": "RoutePathReport:http://pcmiler.alk.com/APIs/v1.0", "RouteID": null, "type": "Feature", "geometry": { "type": "MultiLineString", "coordinates": [ [ [ -75.173297, 39.942892 ], [ -74.439742, 39.362342 ] ] ] }, "TMinutes": 102, "TDistance": 74.411, "properties": null } ]
Setup
Requires environment variable
PCMILER_API_KEY- PCMiler API Key
正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。
其他来源收录
同一技能在不同目录的原始页面: