How to obtain connect data by logging in to the backend?

I want to build a small tool to display my running mileage, VO2 max, tomorrow's training plan and other data. This way I won't need to check my phone or computer frequently. However, programs written in Python still get login restrictions even when I enter the correct account and password. Is there any solution to th

is issue? Also, does Garmin officially provide a data API?