Closed Ben-Reg closed 1 year ago
@lawrencefoley I tested this with my Evergy account and it's returning data.
Working for me as well. The accountNumber can also be obtained from the URL mentioned in #9 but at ['accounts'][0]['accountNumber']
. That URL also has the premiseId at ['accounts'][0]['premises'][0]['premiseId']
, so it should be possible to combine fetching the accountNumber and premiseId into a single request using that URL. Not sure if there's any other reason to prefer one URL over the other though.
@Ben-Reg @tboyce021 Thank you for making the fix and verifying it works!
Fixes /lawrencefoley/evergy#34