stgetdata(): added option to pass through raw API parameters