Access to Material inputs

First of all, sorry if this post isn't in the right place.

I'm working in a material converter from Autodesk Materials to Standards, and my problem is that Autodesk submaterials (Ceramic, Generic, etc) have different inputs for bitmaps, for example Ceramic_Color_Map, or Generic_Image, instead of a diffuse parameter.

So, my question is could I call the first input of each material, instead of a specific name?

Thanks for help