Get feature by type and ID
elements.retrieve(intid, ElementRetrieveParams**kwargs) -> GeoJsonFeature
GET/api/v1/features/{type}/{id}
Get feature 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
)
geo_json_feature = client.elements.retrieve(
id=0,
type="type",
)
print(geo_json_feature.id)