> [!IMPORTANT]
This release removes the ApiKey usage. You can still pass it in, for backwards compatibility, but it is ignored.
EU Gas Analytics:
We've added hub balances
python
df = egp.get_overview_hub_balance(
gas_day_gte="2024-10-01",
gas_day_lte="2024-10-31",
average_type="Daily value",
hub="PEG",
uom="MCM",
)
df.pivot_table(
index=["hubFlowType", "hubSubFlowType"],
columns="dayMonthOrdinal",
values="quantity",
)
(example from readme)
A few things to note on these endpoints:
- it's recommended to specify a `uom`, otherwise you will get duplicate records
- Also, to specify a `direction` where supported.
- we introduced a custom sort function for the `dayMonthOrdinal` field, so that the above pivot table columns are sorted sensibly.