created api parser

for use in def dogevalue