c# - Get all item's in a category? -


i 100 results. code excerpt:

findingserviceporttypeclient client = findingserviceclientfactory.getserviceclient(config);  finditemsbycategoryrequest req = new finditemsbycategoryrequest(); req.categoryid = new string[] { "1249" }; req.sortorder = sortordertype.bestmatch; req.sortorderspecified = true; req.itemfilter = new itemfilter[] {     new itemfilter()     {         name = itemfiltertype.endtimefrom,         value = new string[]         {             datetime.now.add(timespan.fromhours(1)).tostring("yyyy-mm-ddthh:mm:ss")         }     } };  paginationinput pi = new paginationinput(); pi.entriesperpage = int.maxvalue; pi.entriesperpagespecified = true; req.paginationinput = pi;  finditemsbycategoryresponse response = client.finditemsbycategory(req); 

as can see tried using int.maxvalue, no avail. not possible items category?

well first-off ebay limit pagination input entries per page 100, , total items returned 10,000 on particular search (see http://developer.ebay.com/devzone/finding/callref/finditemsbycategory.html#request.paginationinput). won't work whether it's logical or not. think of immense server load have deal if return result of 100,000+ items in 1 call.

now, might think there's still clever way past block of limits , stay under quantified limits. according http://developer.ebay.com/devzone/finding/callref/finditemsbycategory.html#request.paginationinput.pagenumber (2 entries below first link) can't access results past 100th page. @ 100 results per page , 100 pages can of first 10,000 (point being can not start @ page 101, because it's disallowed). again, because of resources take them access past point. must disappointing...

sorry :/, it's full story.


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -