LoginSignup
0
0

More than 5 years have passed since last update.

Google検索のjsonpでの取得は、今は無料では無理っぽい?【調査メモ】

Posted at

公式に、Google検索結果をJSONPで取得する方法なかったっけ?

ふと、
「あれ?Google検索結果をJSONPで取得できる
 公式のサービス(無料)を以前見かけたような、、、」
と思い直したので調査した。そのメモ。
結論としては
「2016/08の現時点では、ログイン不要で且つ無料な物はたぶん【無い】」
っぽい。
なお、ログイン必要&有料コースなら【ある】。

2010/11/01以前なら、「Google AJAX Search API」が使えたみたい。

しかし、現時点では削除されている様子。

◆Google Web Search API (Deprecated)
https://developers.google.com/web-search/docs/

The Google Web Search API is officially deprecated as of November 1, 2010.
Per our deprecation policy it operated for more than three years past its deprecation date. Its last day of operation was September 29, 2014.
We encourage you to investigate the Custom Search API, which may provide an alternative solution.

◆Google Web Search APIは2010/11/1から非推奨となり 2016/04/29で廃止
http://so-zou.jp/web-app/tech/web-api/google/search/web/

上記のAPIの使い方に関する紹介ページは以下(いずれも2014年以前の情報)。
◆Google search APIを使ってサイト内検索をJSONPで実装[1]
http://littleweb.seesaa.net/article/250413837.html

◆Google AJAX Search APIのJSONPを利用したサイト内検索
https://hail2u.net/blog/coding/sitesearch-with-jsonp-of-google-ajax-search-api.html

今(2016/08)は「Google Custom Search API」を使う。ただし、要ログイン。

下記のページが分りやすいかった。
無料枠もあるみたいだが「お試し以外では使い物ならない」っぽい。

◆Google Custom Search API を使ってみる
http://qiita.com/megu_ma/items/8cad39f61e35588e5476

Googleのアカウントは取得している大前提
Custom Search API の 無料枠 の利用制限は 100リクエスト/日 です。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0