adding get wagers call for the api