Can you access the distance values from the numeric input?
From the window manager's operators collection.
A very simplistic answer to how to get the values used in the transform translate operator. Other things to consider would be looking for edit mode switches. How to keep track of what objects have context at the time etc
Looking in info area after translating will see the python name of the operator, from which we can get the idname
&gt;&gt;&gt; bpy.ops.transform.translate.idname()
'TRANSFORM_OT_translate'

Make some moves.
Translate 4 locally in $Y$ GYY 4 ,then -5 locally in $X$ GXX -5  and finally 3 in $Z$ GZZ 3
Get the details from python console.
Off to the python console, and get the details of the translations made using operator via UI above.
&gt;&gt;&gt; wm = C.window_manager

&gt;&gt;&gt; for op in wm.operators:
...     if op.bl_idname.startswith('TRANSFORM'):
...         props = op.properties
...         props.orient_type, props.value
...         
('LOCAL', Vector((0.0, 4.9, 0.0)))
('LOCAL', Vector((-5.0, -0.0, -0.0)))
('LOCAL', Vector((0.0, 0.0, 3.0)))

Another option is
&gt;&gt;&gt; wm.operator_properties_last(&quot;transform.translate&quot;)
&lt;bpy_struct, TRANSFORM_OT_translate at 0x7f0df251cb48&gt;

&gt;&gt;&gt; props = wm.operator_properties_last(&quot;transform.translate&quot;)
&gt;&gt;&gt; props.value
Vector((0.0, 0.0, 3.0))