This endpoint will return information about a plant, given its ID (see Enact's plant table).


Using the LCPDelta Python Package

Synchronous

from lcp_delta import enact

enact_api_helper = enact.APIHelper(username, public_api_key)

response_dictionary = enact_api_helper.get_plant_details_by_id(
	"T_IRNPS-1" # Enact plant ID
)

print(response_dictionary)

Asynchronous (package version 1.3.0 and later)

from lcp_delta import enact
import asyncio

async def main():
    enact_api_helper = enact.APIHelper(username, public_api_key)

    response_dictionary = await enact_api_helper.get_plant_details_by_id_async(
        "T_IRNPS-1" # Enact plant ID
    )

    print(response_dictionary)

asyncio.run(main())

Using the API Directly

Language
Authorization
OAuth2
Click Try It! to start a request and see the response here!