Qluxzz / avanza

A Python library for the unofficial Avanza API
https://qluxzz.github.io/avanza/
MIT License
85 stars 40 forks source link

Break out Credentials to a class #99

Closed lov3b closed 1 month ago

lov3b commented 2 months ago

So I saw that you started to break out models and such. I've broken out Credentials to SecretCredentials and TokenCredentials which inherent from BaseCredentials. I wrote a serializer from dictionary so that API is still backwards compatible.

Qluxzz commented 1 month ago

LGTM, thanks for contributing!