Skip to content

Instantly share code, notes, and snippets.

@cageyjames
Created November 18, 2012 17:13
Show Gist options
  • Save cageyjames/4106300 to your computer and use it in GitHub Desktop.
Save cageyjames/4106300 to your computer and use it in GitHub Desktop.
Test the WeoGeoAPI.py
# Import Needed Libraries
import WeoGeoAPI
import getpass
# Get Password Without Echoing
PASSWORD = getpass.getpass()
# Build WeoGeo Connection with Library URL, Username and Password
weos = WeoGeoAPI.weoSession("jamesfee.weogeo.com","jfee@weogeo.com",PASSWORD)
# Connect
weos.connect()
# If "True" then Get Cup of Coffee
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment