返回 Skill 列表
extension
分类: 开发与工程无需 API Key

search-driving-distance

使用捆绑的距离矩阵CSV来估算两个城市之间的驾车/出租车时间、距离和大致费用。在比较地面交通选项或验证行程段时使用此技能。

person作者: jakexiaohubgithub

Search Driving Distance

Look up distance/duration between an origin and destination.

Installation

pip install pandas numpy requests

Quick Start

from search_driving_distance import GoogleDistanceMatrix

matrix = GoogleDistanceMatrix()
print(matrix.run("Seattle", "Portland", mode="driving"))