Hi,
here an example
import clr
import sys
#import Revit API
clr.AddReference('RevitAPI')
import Autodesk
from Autodesk.Revit.DB import *
prop_infos = clr.GetClrType(SpecTypeId).GetProperties()
dict_forgeTypeId = {p.Name : p.GetGetMethod().Invoke(None, None) for p in prop_infos}
OUT = dict_forgeTypeId
there may be a simpler method without going through .Net reflection