Accessing AnkiWeb w/ py requests

noobie here, had written an addon that uses Requests to login to my account and check the download count on my other addons so I can graph it without transcribing by hand – looks like this broke sometime in the last month or so.

Did a little digging and looks like there were some JS-related changes on ankiweb that obscure the login page. I figured I would be able to get through this Requests_html, but keep getting back the “this page requires js” page. Wondering if anyone has any insight into how to work around this!

session = HTMLSession()  
response = session.get(login_url)
response.html.render(timeout=20)
print(response.html)
print(response.html.html)

I’m afraid programmatic access to AnkiWeb is not currently supported. Once I’ve finished with the current round of updates, I may be able to add support for a limited number of endpoints (downloads, reviews, and add-on uploads).

I see, I’ll stop banging my head against the wall trying to get this to work then hahah

Thank you so much for the info!