Wrapper for plot.ly REST API