def test_getHistograms(self): result = getHistograms(categoryId=categoryId, encoding=encoding) # print result root = etree.fromstring(result) ack = root.find( "{http://www.ebay.com/marketplace/search/v1/services}ack").text self.assertEqual(ack, "Success")
def test_getHistograms(self): result = getHistograms(categoryId=categoryId, encoding=encoding) # print result root = etree.fromstring(result) ack = root.find("{http://www.ebay.com/marketplace/search/v1/services}ack").text self.assertEqual(ack, "Success")
from ebay.finding import getSearchKeywordsRecommendation, findItemsByKeywords, findItemsByCategory, findItemsAdvanced, findItemsByProduct, findItemsIneBayStores, getHistograms print getSearchKeywordsRecommendation(encoding="XML", keywords="acordian") print findItemsByKeywords(keywords="ipod") print findItemsByCategory(categoryId="123") print findItemsAdvanced() print findItemsByProduct(productId="123") print findItemsIneBayStores() print getHistograms(categoryId="12")