Open KristofferSmedlund opened 5 years ago
Thanks for the info!
Actually I think I've fixed this but forgot to push it. I'll take a look later.
I had no idea someone else used this :P
Länsförsäkringar is actually working on proper public APIs if you're interested.
I have a fork at wasmitnetzen/pylansforsakringar which also supports the new "upcoming transactions" and multiple result pages. I'll file a PR in the next days.
https://github.com/donnex/pylansforsakringar/blob/40e2ae78577ed6e4e5125a6164adbdd83c2ae6b7/lansforsakringar.py#L180
Hey, thanks for the code. Most of it is still up to date but this has been updated should be
{"accountNumber":"XXXXXXX","currentPageNumber":0,"searchCriterion":{"fromDate":"2017-12-01","toDate":"2019-04-30","fromAmount":"","toAmount":""}}