Added the ability to call the api for a list of endpoints
Defining output array as per scrutinizer
Merge pull request #315 from laf/issue-laf-58

Added the ability to call the api for a list of endpoints