Update API.md

Reformatted getValueForPos method table.