{"repo":"Qluxzz/avanza","free":true,"listed":false,"github":"https://github.com/Qluxzz/avanza","clone":"git clone https://github.com/Qluxzz/avanza.git","description":"A Python library for the unofficial Avanza API","language":"Python","stars":156,"topics":["avanza","python","finance","banking","personal-finance"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"Avanza A Python library for the unofficial Avanza API. This library is based on the existing JavaScript library Avanza. Please note that this is only a proof of concept, hence not meant to be used by anyone. It might also be valuable to note that I am not affiliated with Avanza Bank AB in any way. The underlying API can be taken down or changed without warning at any point in time. Installation Getting a TOTP Secret NOTE: Since May 2018 two-factor authentication is required to log in. Here are the steps to get your TOTP Secret: 1. Go to Profil Inställningar Sajtinställningar Inloggning och utloggning Användarnamn Tvåfaktorsinloggning and click \"Återaktivera\". ( Only do this step if you have already set up two-factor auth. ) 1. Click \"Aktivera\" on the next screen. 1. Select \"Annan app för tvåfaktorsinloggning\". 1. Click \"Kan du inte scanna QR-koden?\" to reveal your TOTP Secret. 1. Generate the TOTP code using the python code below and paste the TOTP code in the field below where you found the TOTP Secret. 1. Done! From now on all you have to do is supply your secret in the constructor as in the examples below. Generate TOTP code: Example Authenticate and fetch account overview: Get info about a certain account Place an order Testing Tests are stored in /tests The tests are using Pydanctic models which are used to validate that the response model is what's expected There are tests that call all available GET endpoints and validates that the response model of these endpoints are","default_branch":null,"files":null,"tree":[],"storefront":"/r/Qluxzz","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Qluxzz/avanza/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}