Search the web
Sign In
New User? Sign Up
yws-shopping · Yahoo! Shopping Developer Support Group
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Issues with Product Search V2 Flowers & Gifts   Message List  
Reply | Forward Message #228 of 242 |
Re: Issues with Product Search V2 Flowers & Gifts

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
>





Wed May 30, 2007 2:10 pm

duanehardy
Offline Offline
Send Email Send Email

Forward
Message #228 of 242 |
Expand Messages Author Sort by Date

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: ...
serverplugpuller
serverplugpu...
Offline Send Email
May 29, 2007
5:11 pm

The problem is with your category code. Replace the "+" with %20 (should be blanks not +). For instance: ...
duanehardy
Offline Send Email
Jun 1, 2007
5:11 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help