Hello Jeremy First of all Thanks a lot.. you suggestion is works at some level but not give exact results.
like here is a my URL 1. https://www.googleapis.com/customsearch/v1?key=AIzaSyBycgu-SqRyO0gNR5u6YTJp30WiGUTOD3A&cx=013036536707430787589:_pqjad5hr1a&q=cricket&alt=json&start=1&excludeTerms=&dateRestrict=d1 here i am getting only one matching record by compare google results. 2. https://www.googleapis.com/customsearch/v1?key=AIzaSyBycgu-SqRyO0gNR5u6YTJp30WiGUTOD3A&cx=013036536707430787589:_pqjad5hr1a&q=samsung&alt=json&start=1&excludeTerms=&dateRestrict=d1 here i am geting 2 or 3 records matching record by compare google results. 3. https://www.googleapis.com/customsearch/v1?key=AIzaSyBycgu-SqRyO0gNR5u6YTJp30WiGUTOD3A&cx=013036536707430787589:_pqjad5hr1a&q=openerp&alt=json&start=1&excludeTerms=&dateRestrict=d1 here i am not getting any matching record by compare google results. I am looking for solution where i get a exact results if you know please let me know. I have more questions for dateRestrict parameter 1) suppose i want to search with pas hour then what i have to past in dateRestrict value. I hope you getting my questions where i am stuck. Let me know if you required any information from side. Thanks pritesh On Thu, Aug 23, 2012 at 6:07 PM, Jeremy Geerdes <[email protected]> wrote: > Try removing the square brackets from your dateRestrict parameter. I > believe those are in the documentation to denote the variable to be > replaced in the value. When I run a request with a dateRestrict value of d1 > I get very different results from when I try d[1]. At least a few of the > results in my query are from news sites, which I suspect is more like what > you're looking for. > > Jeremy R. Geerdes > Generally Cool Guy > Des Moines, IA > > For more information or a project quote: > [email protected] > > If you're in the Des Moines, IA, area, check out Debra Heights Wesleyan > Church! > > On Aug 23, 2012, at 2:12 AM, pritesh wrote: > > > Hello jeremy > > Here is myURL, my language to write this application in python. > > *URL*---> > > * > https://www.googleapis.com/customsearch/v1?key=AIzaSyBycgu-SqRyO0gNR5u6YTJp30WiGUTOD3A&cx=013036536707430787589:_pqjad5hr1a&q=samsung&alt=json&start=1&excludeTerms=test.com.au+test1.com.au&dateRestrict=d[1] > * > > To search a results for past 1 day as per given in documentation > dateRestrict parameter syntax i have use that .. > > let me know where i did a mistake so that i am not getting exact results > with dateRestrict > > thanks > pritesh > > > > On Thursday, July 5, 2012 6:47:40 PM UTC+5:30, jgeerdes [AJAX APIs "Guru"] > wrote: >> >> Did you use daterestrict or dateRestrict? Because the parameter would be >> case-sensitive, and the documentation indicates the latter. If that doesn't >> work, it would be helpful to know what you've done (i.e., a link to your >> page or, if that is absolutely impossible, a pastebin of the relevant >> code), what language you're working in, and a few other basic details if >> we're going to assist you. >> >> Jeremy R. Geerdes >> Generally Cool Guy >> Des Moines, IA >> >> For more information or a project quote: >> [email protected] >> >> If you're in the Des Moines, IA, area, check out Debra Heights Wesleyan >> Church! >> >> On Jul 5, 2012, at 4:56 AM, webip wrote: >> >> Hello Google Support Team >> >> >> I am looking for solution regarding google custom search api for >> daterestrict parameter functionality.I want to achieve like custome search >> limit results by last week ,last day,last hour,last month like as we do >> using google.com. >> >> >> I was tried with given parameter name *daterestrict* but not succesed in >> that ,i follow all the syntax given in documentation. >> >> >> Provied the solution with example . >> >> >> >> Please reply me AsAp . >> >> >> >> >> Thanks >> >> pritesh modi >> >> -- >> You received this message because you are subscribed to the Google >> Groups "Google AJAX APIs" group. >> To post to this group, send email to >> google-ajax...@**googlegroups.com >> To unsubscribe from this group, send email to >> google-ajax-search-api+**[email protected] >> To view this message on the web, visit >> https://groups.google.com/d/**msg/google-ajax-search-api/-/**vQ6U7OkG2CkJ<https://groups.google.com/d/msg/google-ajax-search-api/-/vQ6U7OkG2CkJ> >> For more options, visit this group at >> http://groups.google.com/**group/google-ajax-search-api?**hl=en?hl=en<http://groups.google.com/group/google-ajax-search-api?hl=en?hl=en> >> >> >> > -- > You received this message because you are subscribed to the Google > Groups "Google AJAX APIs" group. > To post to this group, send email to > [email protected] > To unsubscribe from this group, send email to > [email protected] > To view this message on the web, visit > https://groups.google.com/d/msg/google-ajax-search-api/-/MmH5ztorgLgJ > For more options, visit this group at > http://groups.google.com/group/google-ajax-search-api?hl=en?hl=en > > > -- > You received this message because you are subscribed to the Google > Groups "Google AJAX APIs" group. > To post to this group, send email to > [email protected] > To unsubscribe from this group, send email to > [email protected] > To view this message on the web, visit > http://groups.google.com/group/google-ajax-search-api?hl=en_US > > For more options, visit this group at > http://groups.google.com/group/google-ajax-search-api?hl=en?hl=en > -- Pritesh Modi -- You received this message because you are subscribed to the Google Groups "Google AJAX APIs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] To view this message on the web, visit http://groups.google.com/group/google-ajax-search-api?hl=en_US For more options, visit this group at http://groups.google.com/group/google-ajax-search-api?hl=en?hl=en
