The vertex information I searched online using Python to obtain the model's vertex information is obj.data.vertices, but it is no longer available. I would like to ask where I can see the official API modifications after each version update of Blender
import bpy
obj = bpy.context.active_object
if obj and obj.type == 'MESH':
vertices = obj.data.vertices
for vertex in vertices:
print(f"Vertex {vertex.index + 1}: {vertex.co}")
else:
print("The current active object is not a grid model")