Greetings to all!
I have a task to write a small parser to automate the collection of analytical indicators for my applications in the App Store. I have already written a parser for the sales and finance reports, the endpoints for which were in the App Store Connect API specification.
But other than that, I would like to collect benchmarks (https://developer.apple.com/app-store/peer-group-benchmarks/). However, I have not found a way to do this through an API request. I understand that there is no such way at the moment, or I was looking for it badly. The only way I've found is to make a request to the authentication page (https://appstoreconnect.apple.com). But authentication requires code from two-factor authentication, which is a big problem for writing a parser. Does anyone know how to get benchmarks without authentication? Naturally, I have all the tokens for my account, so I'm looking for a way to do this task through the API.
Thank you for paying attention to my problem!