Help converting from tessface in old addon in Blender 2.8
Got the faces with one line

def make_mesh(verteces, faces, normals, uvs, global_matrix):
mesh = bpy.data.meshes.new('name')

mesh.from_pydata(verteces,[],faces)

obj = bpy.data.objects.new('name', mesh)
# apply transformation matrix
obj.matrix_world = global_matrix
bpy.context.collection.objects.link(obj)  # link object to collection
```