Google Optimization
  Home arrow Google Optimization arrow Using the Google SOAP Search API
SEO Chat Forums  
Choosing Keywords  
Google Optimization  
Link Trading  
MSN Optimization  
Search Engine News  
Search Engine Spiders  
Search Optimization  
Web Directories  
Website Marketing  
Website Promotion  
Website Submission  
Yahoo Optimization  
SEO Tools
Adsense Calculator
AdSense Preview
Advanced Meta-Tags
Alexa Rank Tool
Check Server Headers
Class C Checker
Code to Text Ratio
CPM Calculator
Domain Age Check
Domain Typos
Future PageRank
Google Dance
Google Keywords
Google Search
Google Suggest
Google vs Yahoo
Indexed Pages
Keyword Cloud
Keyword Density
Keyword Difficulty
Keyword Optimizer
Keyword Position
Keyword Typos
Link Popularity
Link Price Calculator
Meta Analyzer
Meta Tag Generator
Multiple Link Popularity
Page Comparison
Page Size
PageRank Lookup
PageRank Search
Robots.txt Generator
ROI Calculator 
S.E. Comparison 
S.E. Keyword Position 
Site Link Analyzer 
Spider Simulator 
URL Redirect Check 
URL Rewriting 
Dedicated Servers  
Download TestComplete 
IBM® developerWorks 
SEO Weekly Newsletter
 
Developer Updates  
Free Website Content 
IBM Developerworks
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
GOOGLE OPTIMIZATION

Using the Google SOAP Search API
By: Peyton McCullough
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 18
    2006-09-27

    Table of Contents:
  • Using the Google SOAP Search API
  • Performing a Google Search
  • Cached Pages
  • Asynchronous Calls

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
     
    ADVERTISEMENT

    Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here

    Using the Google SOAP Search API
    (Page 1 of 4 )

    Would you like to make your computer applications able to submit queries to Google and extract the data? For example, wouldn't it be nice to create an application that automatically queries Google with your keywords and returns the top 10 results? Then you'll want to take advantage of the Google SOAP Search API service. This article explains how.

    Introduction

    The Internet provides an unparalleled amount of information. However, without the aid of search engines such as Google, navigating through this information would be quite difficult. Search engines allow people to sift through billions of pages and find the information they need.

    However, the use of search engines is not limited to people. Computer applications can easily query search engines and extract data. Google has made this process particularly easy with the Google SOAP Search API service. Though currently both in beta and under a restrictive license, Google's service is still worth taking a look at. Using the service, one can query Google as usual, but access to cached pages is also provided, as well as Google's spelling suggestion service.

    Getting Started

    To use Google's service, you first have to register and obtain a license key, which will be sent with each query:

    https://www.google.com/accounts/NewAccount?
    continue=http://api.google.com/createkey&followup=http://api.google.com/
    createkey

    If you have Visual Studio, create a project and then add a web reference to the SOAP Search API. This can be done by right clicking in the Solution Explorer and selecting “Add Web Reference.” A dialog will appear, where you can enter the WSDL file's URL:

    http://api.google.com/GoogleSearch.wsdl

    Name the reference “GoogleSearchService.” You'll need to point to this reference with a “using” statement in your code.

    If you don't have Visual Studio, run the .NET SDK's wsdl utility:

    wsdl http://api.google.com/GoogleSearch.wsdl

    This will create a file called GoogleSearchService.cs. Use this file to access the SOAP Search API service.

    To begin using the service, create a GoogleSearchService object. This will be used to interact with the service:

    usingSystem;
    usingSystem.Text;
    usingSystem.Text.RegularExpressions;
    classGoogleSearchTest
    {
        static void Main()
        {
            GoogleSearchService google = new GoogleSearchService();
        }
    }

    We'll be making use of this shell (and the namespaces it uses) throughout the article.

    More Google Optimization Articles
    More By Peyton McCullough


       · The article was very informative. I liked it very much as i have got some...
       · Thank you for your comment!The Google SOAP Search API is pretty interesting, but...
       · Google seems to implictly (but not explicitly) accept everyone using their Google...
     

    GOOGLE OPTIMIZATION ARTICLES

    - PageRank: Acting Brand New
    - Matt Cutts Gives Talk on White Hat SEO
    - Google`s New Content Removal Tools
    - Top Ranking on Google Organic and Paid Searc...
    - Is Google Getting Too Personal?
    - Wikipedia Conquering Google First, World Nex...
    - Number 1 in Google
    - Google Defuses Link Bombs
    - Using the Google SOAP Search API
    - Google Sitemaps Review
    - Duplicate Content Penalties: Problems with G...
    - The Google Freshness Factor
    - Hiding Your Sensitive Data From Google and t...
    - Google Says
    - How To Steal To The Top Of Google: Use the N...


     
    Accelerating Trading Partner Performance
     
    Competing on Analytics
     
    Cost Effective Scaling with Virtualization and Coyote Point Systems
     
    Five Checkpoints to Implementing IP Telephony
     
    Hosted Email Security: Staying Ahead of New Threats
     




    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway