There is already a way to pull data from the Solarman API…have a look at this thread and you’ll get all the detail…
thread starts before the changes to https://globalapi.solarmanpv.com last year but read through and all the data is there…have a look and if you need help post over there…
not pre-empting David’s response to your question but this integration here is about local access to your inverter via the solarman stick logger so isn’t dealing with the API at all