Created
September 7, 2013 15:08
-
-
Save damianesteban/6476398 to your computer and use it in GitHub Desktop.
choreo code using the Tembo Python SDK. Simple geo loc.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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