Elements
Query features by bounding box or H3 cell
client.elements.query(ElementQueryParams { bbox, cursor, h3, 2 more } query?, RequestOptionsoptions?): FeatureCollection { features, type }
GET/api/v1/features
Get feature by type and ID
client.elements.retrieve(numberid, ElementRetrieveParams { type } params, RequestOptionsoptions?): GeoJsonFeature { geometry, properties, type, 2 more }
GET/api/v1/features/{type}/{id}
Fetch multiple features by type and ID
client.elements.batch(ElementBatchParams { elements } body, RequestOptionsoptions?): FeatureCollection { features, type }
POST/api/v1/features/batch
Find features near a geographic point
client.elements.nearby(ElementNearbyParams { lat, lng, limit, radius } query, RequestOptionsoptions?): FeatureCollection { features, type }
GET/api/v1/features/nearby