skip to Main Content

Ebay API – **kwargs vs 10 arguments in a python function?

I am starting out with python and trying to construct an XML request for an ebay web service: Now, my question is: Say, this is my function: def findBestMatchItemDetailsAcrossStores(): request = """<?xml version="1.0" encoding="utf-8"?> <findBestMatchItemDetailsAcrossStoresRequest xmlns="http://www.ebay.com/marketplace/search/v1/services"> <siteResultsPerPage>50</siteResultsPerPage> <entriesPerPage>50</entriesPerPage> <ignoreFeatured>true</ignoreFeatured> <keywords>ipod</keywords>…

VIEW QUESTION
Back To Top
Search