Query iPhone information (battery cycle, health, storage capacity, IMEI ect.)

I’m trying to create an ingest application that I can use to help document iPhones, I’m wondering what information there is since all my research has revealed very basic information.

I want the process to more or less be

  1. plug in the phone
  2. hit trust (if applicable)
  3. hit import

So I need to know how to query the phone for this information I cant find any documentation on it. applications like 3utools prove that this is possible but I haven’t found a way to use that an intermediary as it doesn’t save battery health information to a file