Skip to content

Instantly share code, notes, and snippets.

@pyropeter
Created August 3, 2010 10:31
Show Gist options
  • Save pyropeter/506166 to your computer and use it in GitHub Desktop.
Save pyropeter/506166 to your computer and use it in GitHub Desktop.
Google Search API documentation
# http://www.google.com/uds/GwebSearch?q=foo%20bar&v=1.0
{ responseStatus: 200
, responseData:
{ results:
[ { visibleUrl: 'www.foobar2000.org'
, titleNoFormatting: 'foobar2000'
, cacheUrl: 'http://www.google.com/search?q=cache:obAJTkESjhwJ:www.foobar2000.org'
, title: 'foobar2000'
, content: 'Media player with simple UI and low memory use. Offers plugin support for new features. Includes link to forum focused on application. [Win32]'
, GsearchResultClass: 'GwebSearch'
, unescapedUrl: 'http://www.foobar2000.org/'
, url: 'http://www.foobar2000.org/'
}
, { visibleUrl: 'en.wikipedia.org'
, titleNoFormatting: 'Foobar - Wikipedia, the free encyclopedia'
, cacheUrl: 'http://www.google.com/search?q=cache:4styY9qq7tYJ:en.wikipedia.org'
, title: '<b>Foobar</b> - Wikipedia, the free encyclopedia'
, content: 'The terms <b>foobar</b>, <b>foo</b>, <b>bar</b>, and baz are common placeholder names (also referred to as metasyntactic variables) used in computer programming or <b>...</b>'
, GsearchResultClass: 'GwebSearch'
, unescapedUrl: 'http://en.wikipedia.org/wiki/Foobar'
, url: 'http://en.wikipedia.org/wiki/Foobar'
}
, { visibleUrl: 'www.foobar.org'
, titleNoFormatting: 'the foobar zone | nick&#39;s personal web site'
, cacheUrl: 'http://www.google.com/search?q=cache:5wPZwACcrdsJ:www.foobar.org'
, title: 'the <b>foobar</b> zone | nick&#39;s personal web site'
, content: 'The <b>foobar</b> zone is Nick Hilliard&#39;s home page. Here are some photos in case we meet some day. Cooking some tasty sauce in Schull, West Cork, mid 1996, <b>...</b>'
, GsearchResultClass: 'GwebSearch'
, unescapedUrl: 'http://www.foobar.org/'
, url: 'http://www.foobar.org/'
}
, { visibleUrl: 'addons.mozilla.org'
, titleNoFormatting: 'Foobar :: Add-ons for Firefox'
, cacheUrl: 'http://www.google.com/search?q=cache:-YJwbjBt98gJ:addons.mozilla.org'
, title: '<b>Foobar</b> :: Add-ons for Firefox'
, content: 'Jul 30, 2010 <b>...</b> <b>Foobar</b> integrates the search bar&#39;s functionality into the address bar, making it easier to search/navigate and allowing the search bar to be <b>...</b>'
, GsearchResultClass: 'GwebSearch'
, unescapedUrl: 'https://addons.mozilla.org/en-US/firefox/addon/84985/'
, url: 'https://addons.mozilla.org/en-US/firefox/addon/84985/'
}
, [length]: 4
]
, cursor:
{ estimatedResultCount: '591000'
, pages:
[ { start: '0', label: 1 }
, { start: '4', label: 2 }
, { start: '8', label: 3 }
, { start: '12', label: 4 }
, { start: '16', label: 5 }
, { start: '20', label: 6 }
, { start: '24', label: 7 }
, { start: '28', label: 8 }
, [length]: 8
]
, moreResultsUrl: 'http://www.google.com/search?oe=utf8&ie=utf8&source=uds&start=0&hl=en&q=foo+bar'
, currentPageIndex: 0
}
}
, responseDetails: null
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment