updated method name...since it was ridiculously wrong
data optional
try catch blocks around api calls