从foursquare、yelp、facebook、google和factual获取标准化的位置数据。
venn-places的Python项目详细描述
从foursquare、yelp、facebook、google和factual获取标准化的地点数据。
安装
$ pip install venn-places
用法
from venn import PlacesAPI api = PlacesAPI(venn_api_key) api.search(category="food", address="1411 Vine St. Cincinnati, OH 45202", limit=10)
方法
。搜索
Parameter | Required | Type | Example |
---|---|---|---|
keyword | this or category | string | outback |
category | this or keyword | string | food |
address | this or location | string | 1411 Vine St. Cincinnati, OH 45202 |
location | this or address | string (comma separated) | 44.2333423,-84.3453452 |
limit | no (default: 10) | int | 20 |