Hello, I am using Java to implement a project on Eclipse. I need to find the number of hits of a certain keyword I enter to the search engine google.com. Is there any small code available to include in my code to get the results?
Thanks, Rami On Wednesday, 10 April 2013 18:15:55 UTC+3, jgeerdes [AJAX APIs "Guru"] wrote: > > Exactly how you would do this will depend on your coding environment. > Specifically, what language are you coding this project in? Before you get > to that, though, you need to know that the Web Search (AJAX) API's > estimatedResultCount and the Custom Search API's (CSAPI) totalResults will > NOT be identical to the result tallies displayed in a google.com search. > In fact, I would not rely on them at all for something truly mission > critical, as it would be in the case of SEO. Speaking of SEO, you should > also note that the TOS for the AJAX API prohibits the use of robots, > crawlers, and other applications which would utilize automated results, and > there are automated throttling mechanisms in place to enforce that term. > And the CSAPI has a limit of 100 complimentary requests per day, expandable > to 10,000 requests per day if you enable billing and pay USD5 per 1000 > requests (for a total of up to USD50 per day). In other words, neither API > will be great if you're using this for SEO purposes. > > On Wed, Apr 10, 2013 at 6:24 AM, Lisa Guo <[email protected]<javascript:> > > wrote: > >> Now I am doing a small project which need the number of the searching >> results of Google. >> For example, when you input "technology" as a key word for searching >> ,Google returns 2470000000 pages as results. >> I tried to use Google API for search but I cannot figure out how to find >> the number of search results. >> I tried different methods in the references with no success. Any >> suggestion? >> >> -- >> -- >> 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] <javascript:> >> To unsubscribe from this group, send email to >> [email protected] <javascript:> >> To view this message on the web, visit >> https://groups.google.com/d/msg/google-ajax-search-api/-/XwOEnNqNmMsJ >> 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 unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]<javascript:> >> . >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> > > > > -- > Jeremy R. Geerdes > Generally Cool Guy > Des Moines, IA > > If you're in the Des Moines, IA, area, check out Debra Heights Wesleyan > Church! > http://www.debraheightswesleyan.org > -- -- 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/-/9tU8fyKQXbIJ 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 unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
