encapsulated api request for eBay