The problem is with your category code. Replace the "+" with %20
(should be blanks not +). For instance:
http://api.shopping.yahoo.com/ShoppingService/V2/productSearch?
appid=demo&category=Flowers%
20&26&20Gifts&show_subcategories=1&start=1&results=15
This returned the 15 results for me.
--- In yws-shopping@yahoogroups.com, "serverplugpuller"
<serverplugpuller@...> wrote:
>
> Hi,
>
> im trying to get the results for Flowers & Gifts (Product Search
V2):
>
> i pass start as 1 and results as 15 (url bellow) and i get the
following:
>
> TOTALRESULTSAVAILABLE = 273328
> FIRSTRESULTPOSITION = 1
> TOTALRESULTSRETURNED = 2
>
> which is odd. if there are 273,328 products for this category why
is
> the api only returning 2 when i request results of 15
>
> when i pass start as 16 and results as 15 i get
>
> TOTALRESULTSAVAILABLE = 273328
> FIRSTRESULTPOSITION = 16
> TOTALRESULTSRETURNED = 0
>
> this is even more odd now i get total results of 0
>
> okay when i pass start as 31 and results as 15 i get:
>
> TOTALRESULTSAVAILABLE = 273328
> FIRSTRESULTPOSITION = 31
> TOTALRESULTSRETURNED = 15
>
> now i amazingly get results and any start point after 30 is valid
> with data coming back.
>
> anyone know what's going on; or if im doing something wrong?
>
>
> http://api.shopping.yahoo.com/ShoppingService/V2/productSearch?
appid=MY_REALLY_LONG_KEY&category=Flowers+%
26+Gifts&show_subcategories=1&start=1&results=15
>
>
> thanks
>