0

Fetch all 10000 items

Hi to all. I am using local api v3 - http://local.yahooapis.com/LocalSearchService/V3/localSearch and i have a issue.
If i a have totalResultsAvailable=12000 parameter and max value for start param is 250, how could i fetch all local business from api.

The algorithm i am using is:
first request: i get totalResultsAvailable.
next requests: i send request to yahoo! with start = start(from previous request) + 20 and parse xml.
finish processing when totalResultsReturned != items.Count(returned from xml) - i.e. it is last page with data

How could i get all items?

3 Replies
  • May be there are some parameters like page_number or page where i should write a page number
    0
  • do you find any answer to this question?

    QUOTE(Yareem Yareem @ 3 Mar 2011 9:50 AM)
    May be there are some parameters like page_number or page where i should write a page number
    0
  • Did you solved this problem? 


    QUOTE(Ivaylo @ 18 Aug 2011 1:59 AM)
    do you find any answer to this question?

    QUOTE(Yareem Yareem @ 3 Mar 2011 9:50 AM)
    May be there are some parameters like page_number or page where i should write a page number
    0
This forum is locked.

Recent Posts

in Local API - General Questions