Skip to content
Automatically exported from code.google.com/p/fusion-tables-api
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src/main
README.html
README.md
pom.xml

README.md

Fusion Tables API demo using OAuth

This example demonstrates how to use the Fusion Tables API from a foreign web server with delegated authorization. It is a simple application demonstrating two possible access patterns: First, a user can see a listing of their own Fusion Tables on a third party site. Second, the web site can retain the access privilege and show the snippet of registered tables to anyone who receives the snippet URL.

Installation

This example uses Maven for ease of development and versatility. Obtain Maven from http://maven.apache.org/download.html, or your package manager, say, on Debian based Linux distributions

apt-get install maven2

or on Mac OS with developer tools

port install maven2

IDEs like Eclipse, Intellij, and Netbeans support Maven natively or through extensions. Initially, Maven will download numerous dependencies to your local repository.

  • To create an Intellij project: "Open Project" and navigate to the pom.xml file.
  • To create an Eclipse project
    mvn eclipse:eclipse
    
    Eclipse requires an extra step. Configure a classpath variable M2_REPO to the folder .m2/repository under your home directory.
  • To run the example
    mvn jetty:run
    
    Then point your browser at http://localhost:8080/snippet.
You can’t perform that action at this time.