Show face transformation and index

Hi all,

I am currently evaluating Blender for my hobbyist game development activities. To programmatically attach models, billboards etc. at certain positions of models, I need information about the transformation (i.e. location in space) of a face and/or its index in the list of faces.

Is there a way to obtain such information in Blender, either from the UI or via Python?

Thanks in advance,