modified plugins_api function for ease of use with current issuem.com api