Building
Access building information from FIO.
Building
Bases: AbstractBuilding
, AbstractEndpoint
get
Gets a single building from FIO
Parameters:
Name | Type | Description | Default |
---|---|---|---|
building_ticker |
str
|
Building Ticker (e.g., "CHP") |
required |
timeout |
float
|
Request timeout in seconds. Defaults to None. |
None
|
Raises:
Type | Description |
---|---|
BuildingTickerNotFound
|
Building Ticker was not found |
Returns:
Name | Type | Description |
---|---|---|
BuildingTicker |
BuildingTicker
|
Building |
Source code in fio_wrapper/endpoints/endpoints_v1/building.py
all
Gets all buildings from FIO
Parameters:
Name | Type | Description | Default |
---|---|---|---|
timeout |
float
|
Request timeout in seconds. Defaults to None. |
None
|
Returns:
Name | Type | Description |
---|---|---|
BuildingTickerList |
BuildingTickerList
|
List of Buildings as List[BuildingTicker] |