Fetch multiple features by type and ID
elements.batch(ElementBatchParams**kwargs) -> FeatureCollection
POST/api/v1/features/batch
Fetch multiple features by type and ID
import os
from plaza import Plaza
client = Plaza(
api_key=os.environ.get("PLAZA_API_KEY"), # This is the default and can be omitted
)
feature_collection = client.elements.batch(
elements=[{
"id": 0,
"type": "node",
}],
)
print(feature_collection.features)