Hi, Iam using Google product api.But iam getting the products.Those products are different to the Googlel products. Which package is going to use to get the sample products those match with hthe Google products.. thanks in advance Regards ChandraMouli Tanikonda
I written the code like this.If anyerror in my code please let me know... GoogleBaseQuery query = new GoogleBaseQuery(FeedURLFactory.getDefault().getSnippetsFeedURL()); query.setGoogleBaseQuery(searchStr); query.setFullTextQuery(searchStr); GoogleBaseFeed feed = service.query(query); for(GoogleBaseEntry entry : feed.getEntries()){ if(entry.getGoogleBaseAttributes().getItemType().equals("Products")){ products.add(new QuerySearch(entry.getGoogleBaseAttributes().getImageLink(), entry.getTitle().getPlainText(), entry.getGoogleBaseAttributes().getPrice().toString(), entry.getHtmlLink().getHref(), entry.getTextContent().getContent().getPlainText())); } } form.setProducts(products); }catch(Exception e){ e.printStackTrace(); } }