The Legacy Historian Module
The Historian module provides a legacy, single-historian JSON Bridge client. This module is deprecated in favor of Historian Multi, and will be removed in a future release.
Key Entry Point
Section titled “Key Entry Point”Use get_historian() to create a client:
from eigeningenuity import get_historian, EigenServer
ei = EigenServer("https://demo.eigen.co/")h = get_historian("Demo-influxdb", ei)Common Operations
Section titled “Common Operations”Current Values
Section titled “Current Values”values = h.getCurrentDataPoints("DEMO_02TI301.PV")Interpolated Range
Section titled “Interpolated Range”range_points = h.getInterpolatedRange( "DEMO_02TI301.PV", "01/01/2024 00:00:00", "01/01/2024 12:00:00", 100,)Output Formats
Section titled “Output Formats”Most calls support:
json(default)df(pandas DataFrame)raw(full API response)
Authentication
Section titled “Authentication”For secured environments, configure Azure auth before creating the client. See Authentication.