Is there a way to programmatically access Google's search engine results? [closed] - api

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 months ago.
The community reviewed whether to reopen this question 2 months ago and left it closed:
Original close reason(s) were not resolved
Improve this question
Does google offer a way to programmatically see their search engine results for a certain query?
I want to build a tracking application so that a user can see what rank on the google results their website is for certain keywords.
EDIT: The behavior of the program would be: every day the program queries Google for the desired phrases, sees what position the user's websites are, and emails the users an update of their positions for their phrases.
I want to be sure to comply with Google's terms of service too.

After finding this question I have been researching as the other answers seem out of date.
The Google search API would be the obvious choice as quoted by other users however it is now been deprecated in favour of Custom Search API.
Although not obvious at first the Custom Search API does allow you to search the entire web. However the bad news is that the order of the results are not the same as a regular web search.
In conclusion it used to be possible however it is no longer. The new API (at a cost) will allow you to search the web to you will not be able to get the ranking back as required.

I know the question is Google specific, but it doesn't hurt to try out other search engines which might be more open to API integration.
Check out DuckDuckGo's API.

Try google custom search api. Get a developer API key from google and get a cx code for search engine. The procedure is given in my blog http://preciselyconcise.com/apis_and_installations/search_google_programmatically.php

Yes, Google provides a search API that you can use:
The Google AJAX Search API lets you
put Google Search in your web pages
with JavaScript. You can embed a
simple, dynamic search box and display
search results in your own web pages
or use the results in innovative,
programmatic ways. See the examples
below for inspiration.
Don't let the name fool you, this API can be used for more than just JavaScript on a webpage.

Related

API for Contributing to Google Translate [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
I want to be able to contribute to Google Translate on my native language (Sinhala).
Although there is an online portal (http://translate.google.com/community/) where we can contribute to the translator by translating new phrases or validating existing translations, I would like to create my own, lightweight portal (maybe an Android app) for the contribution service. However, I was unable to find any public API for the translate contribution platform, despite a thorough Google search and a full search through the Google Translator Toolkit API forum (https://productforums.google.com/forum/m/#!categories/translator-toolkit-api) (which seems to have been closed down since the end of 2012).
Currently my best hope is to mimic the request-response sequence followed by the online portal itself. For example, the following request is used by the online portal to fetch a question list for manual translation:
GET http://translate.google.com/community/question_list?sl=en&tl=si&client=t
However, it requires that all the related cookies are properly initialized and passed with the request, which would probably not be easy to mimic in a non-browser environment (such as an Android app). Hence I believe there's a better approach (maybe a yet undocumented API?) somewhere out there.
Does anyone know of any API for accessing this translation contribution feature?
Thanks in advance.
Please note: I am NOT looking for a way to improve Google Translate itself, but for contributing to the actual translation content as described under "How can I help?" in the Google Translate Community FAQ (https://docs.google.com/document/d/1dwS4CZzgZwmvoB9pAx4A6Yytmv7itk_XE968RMiqpMY/pub#h.e1ahmpftpdum).
P.S. I was initially planning to post this question on the Web Apps Stack Exchange, but after reading this post I decided to first try it here.
I'm one of the engineers behind Translate Community and I'm really excited that you want to see it on more platforms. We're currently under active development of the site and making it more accessible on mobile platforms without having to create dedicated native apps.
For the time being, we don't anticipate releasing a public API as the platform is under active development. Until we do release a public API, please don't use any http commands you find to create a separate app. Instead, just let us know how we can make the app a better experience for you and we'll work on making it better.
Thanks!

Google+ API for reading "plus one" count [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
Is there any official Google API for getting the number of "plus one" actions for a given URL?
There is this common method which doesn't seem to be using an official API.
Are we allowed to use this API at all? Even if we are, it could stop working anytime, right?
The API endpoints in the official Google+ API do all require some activity ID and thus can't give you the "plus one" count for any given URL, can they?
This is not currently a feature of our API. You can request the feature by filing it in our Issue Tracker (https://code.google.com/p/google-plus-platform/issues/entry?template=Feature%20Request%20-%20REST%20API). We use these reports and the number of Stars they receive to track developer feedback.
Also, you are correct that any method call not officially supported and documented (https://developers.google.com/+/api/latest/) may change in the future as we continue to build out our APIs. Sometimes clever developers find cool ways of doing things, but we do not guarantee that unsupported features will not change.
For site analytics on your sites, you get activity on Google +1 and Share through Google analytics. You can even set up Custom Analytics to monitor this.
For the +1 widget, there is not an official API to access the counts and the APIs referenced should probably be avoided for the reasons you mention (it could stop working, may not be working correctly to begin with). I can think of a few reasons people shouldn't be able to programmatically pull analytics from any arbitrary site on the web - probably a part of the reason that this does not exist first party from Google. If you feel it's an important feature, please add or star a feature request in the issue tracker - you should add it to the widgets section.
For in-network activity on Google+ the Activities resource documents everything that is available to you when looking at content on Google+. You can, for example, +1 a post, then share the +1 and track the analytics on Google+ watching the activity if you're doing this, you should be able to use the list of "plusoners" to determine the count of people who have made +1s on a post. See it in action using the API Explorer here:
Activities for +GusClass

Yahoo news search API [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I want to display yahoo news based on search term I provided and for that I have searched yahoo API provides me news content.
But API or RSS feed only give me 10 or something results each time but I want Yahoo API such that it provides me all the results available and if at a time its not possible to send all results then provide me paging parameter so I can request request for other pages if available.
So can any one suggest me such Yahoo API or RSS feed?
No, you won't be able to do this:
Other non-BOSS search APIs such as Web Search, Image Search, News
Search, Related Suggestion, and Site Explorer APIs will shut down with
no further support in YQL. We plan to make these transitions and
shutdowns effective by end of [2010].
Use a modern news service instead.
As Lightness Races in Orbit pointed out, the original Yahoo search services (like News Search) were shut down in favor of BOSS.
You might check out the latest release of BOSS which does include News Search. This is now a paid service, currently at $0.10/1000 queries, and has a limit of 50 returned items for each search term.
You can also check the Bing Search API which includes a News component. I have not used this for any serious work yet but it looks like an option.
In any case, you'll probably find that these are not designed or intended for someone to create a full-blown news site on their own (as Lightness Races in Orbit mentioned), but can still be useful for specific search queries.

Is there a Google Search API I can call, server-side, no strings attached? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
I would like to use Google Search to power my site search, without having to use Google-supplied JavaScript or overly-specific (if they need me to say “Powered by Google,” that’s fine). I don’t want to send users to Google’s domain, and I don’t want them to see a Google Custom Search logo.
Is there an API for this?
There is a Google AJAX Search API, which can also be used by a server-side application:
http://code.google.com/apis/ajaxsearch/documentation/#fonje
The problem with this, however, is that it's limited to 64 results per query, if I remember correctly.
the normal google search API
- http://code.google.com/apis/ajaxsearch/documentation/#fonje for non javascript (a.k.a. mostly for server side)
- with the sitesearch parameters
the downsite is, with google custom search you have access to something called on demand index a.k.a. you can create and access a more complete index of your site, with the search api above you have only access to the normal google index, which does not offer on demand index
There are examples on the google code playground. You can figure out the url its calling using firebug or some similar tool.

What are the Alternatives to Google Analytics [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
I need to Track Unique Visitor count in my web application. I would really like to use Google Analytics but due to the Load limitations that google imposes I will not be able to use them. I am expecting WAY over 10,000 requests a day. This is the limitation that Google web analytics API imposes. Is there another company that has the same features as google analytics that is paid or free?
There definitely are.
Here are two open source and free solutions that are very polished:
Piwik - Designed as a direct competitor to Google Analytics (it looks just as nice) that you host on your own servers
Open Web Analytics
the 10,000 request apply to the Data API, not to the actual data collection.
Like you can have an unlimited number of users seeing your website. On the other hand if you use the API to extract data from their database, you can do 10k request a day only.
check this link for more details
The biggest, most obvious, most usual alternative is to simply do it yourself. Your webserver needs to log requests for security etc. anyway, so it's not a big deal to run something like webalizer on those logs. You won't get the quick, easy access to advanced information like paths users take through the site, btu that can be determined if you care enough. You do gain one huge benefit though: privacy of your own data.
We use Omniture here but it'll cost you.
There is SpeedTrap, a java-based analytics package. Our company used it for years before they turned into cheap **ards and decided Google Analytics was more cost effective (because it was free). But that's a story for another night.