Google API to check number of indexed pages? [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 4 years ago.
Improve this question
Is there a Google API similar to Yahoo and Bing's API's to check for the number of indexed pages on a specified domain?
For example, for Yahoo if I type in the following URL:
http://search.yahooapis.com/SiteExplorerService/V1/pageData?appid=MTSlade&query=http://www.dave-sellers.co.uk&domain_only=1&results=1
Then it will return some XML detailing the number of pages indexed as 'totalResultsAvailable'
Any idea?
Thanks

I'm not sure about an API but you can view the pages Google has indexed by doing a search like so:
site:http://thesitesurl.com
Here is an example. You could apply some logic to the pagination and number of items per page etc (or simply use the "Results 1 - 100 of about 9,100,000"). You could even choose to display 100 items per page by using this sort of syntax. I'm not sure if this would fit your exact requirements, but it's better than nothing.

With the still operating - but deprecated - Google search api you can do this:
http://ajax.googleapis.com/ajax/services/search/web?v=1.0&q=www.bbc.co.uk
The result returned is of type "text/javascript" which you can parse as a JSON. The field you are after is estimatedResultCount. There doesn't seem to be an option to return the results as XML, but all you need to do is convert the JSON to XML. I don't know what language you're using, but there's bound to be utilities to do this.
If you do not want to use a deprecated API, then use the new Custom Search API - but you'll need to sign up for an API key:
http://code.google.com/apis/customsearch/v1/overview.html
and here's details on how to construct your query:
http://code.google.com/apis/customsearch/v1/using_rest.html

Related

Google News API not available? [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 3 years ago.
Improve this question
I use Google news API: 'https://ajax.googleapis.com/ajax/services/search/news?v=1.0&q=cow', but I have this message as a result:
'{"responseData": null, "responseDetails": "This API is no longer available.", "responseStatus": 403}'.
Is there a solution to use Google news API?
As an alternative API to search for aggregated news, you could consider Newsriver (https://newsriver.io). It's API allows to search for online news articles. Newsriver covers a large number of sources, it provides access to standardised structured news and comes with a extended search syntax based on Lucene query syntax.
You can also use gapi (https://gapi.xyz), the developpers basically recreated the same API but much simpler to use and it's totaly free. But you'll get a maximum of 20 results per requests. Anyway it is reasonable for a normal usage.

Is there a Wattpad public API to retrieve the story 'Reads' and 'Votes' counts? [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 7 years ago.
Improve this question
I've looked at the Wattpad API documentation at http://developer.wattpad.com/docs/api but there doesn't seem to be a public API to retrieve a story's 'Reads' and 'Votes' counters.
Currently I'm using a simple bash script with curl and awk to retrieve the counters, but this seems a waste of resources because typical page size appears to be 60K and a JSON response would be much smaller.
There isn't currently a direct API for doing what you're looking for, however you can get the data you're looking for indirectly using the story search API.
For example if you hit the following API (with your auth key of course):
https://api.wattpad.com:443/v4/stories?query=your%20story%20title&limit=1
you'll get back a JSON payload. The documentation is a little out of date as to what fields you will receive, but you should see voteCount and readCount properties as part of the response.
We're working on getting the documentation updated, as well as possibly providing more API capabilities. Please stay tuned. Also, please let us know what you end up doing with the API, we're very curious about what people are looking to do with it.

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.

Is there any API available from Monster for searching job [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 API available from Monster to search job based on keyword, category, location, etc. I got the below link after some googling
http://xml.monster.com/doc/
But there is no specification about job search.
Any help on this is greatly appreciated..
As of the date that this question was initially asked, they did not have a public API.
At that point, there were Yahoo Pipes that use their RSS feed, though.
Here's a site that generates links to RSS feeds on Monster.com, since it doesn't seem like there are regular RSS links available after you do a search, as there are on Indeed & SimplyHired..
As of the initial date of posting, it may have been possible to generate RSS feed links through the advanced search feature on Monster.com, but only if you have an account, since then you can save searches. This was described in How to Use Monster to Find a Job.
See the answer by Pedro Pereira, below. It appears that they may have an API as of 2013.
For more on that, you could research their documentation.
There seems to be one. Check their soap box at:
http://integrations.monster.com/Toolkit/RealtimePosting/Sample/Inventory_Query/Jobs_All for an example on how to view all jobs. There is also a request JobPosting info http://integrations.monster.com/Toolkit/RealtimePosting/Sample/Queries/Get_JobPostingInfo .
With a combination you could get jobs and info I guess.
Monster provides an RSS Feed.
It's accessible through the Monster site's standard search.
Once you do the search you'll see the rss icon link in the header to the left of "Classic Search"
check out the Monster Developer Page