Skip to content

Instantly share code, notes, and snippets.

@damianesteban
Created September 7, 2013 15:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save damianesteban/6476398 to your computer and use it in GitHub Desktop.
Save damianesteban/6476398 to your computer and use it in GitHub Desktop.
choreo code using the Tembo Python SDK. Simple geo loc.
# Instantiate the Choreo, using a previously instantiated TembooSession object, eg:
# session = TembooSession('estebanrules', 'APP_KEY_NAME', 'APP_KEY_VALUE')
geocodeByAddressChoreo = GeocodeByAddress(session)
# Get an InputSet object for the choreo
geocodeByAddressInputs = geocodeByAddressChoreo.new_input_set()
# Set inputs
geocodeByAddressInputs.set_Address("323 East 21st Street New York, NY 10010")
# Execute choreo
geocodeByAddressResults = geocodeByAddressChoreo.execute_with_results(geocodeByAddressInputs)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment