Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 536 Bytes

File metadata and controls

24 lines (16 loc) · 536 Bytes

Bunting Python SDK

Bunting Lab's Python SDK allows you to use the Bunting Labs geospatial APIs in your own libraries.

Installation

$ pip install bunting

Example

import BuntingClient from bunting

# Get your API key from https://buntinglabs.com/account/register
bc = BuntingClient('gK6vkrFQXiU9')

# Download from openstreetmap
highways = bc.osm.extract('leisure=park', bbox=(5.976563,52.449314,6.245728,52.562995))

# Get as GeoDataFrame
highways.as_gdf()