35 from fiftyone_location.location_pipelinebuilder 
import LocationPipelineBuilder
    43 if "resource_key" in os.environ:
    44     resource_key = os.environ[
"resource_key"]
    46     resource_key = 
"!!YOUR_RESOURCE_KEY!!"    48 if resource_key == 
"!!YOUR_RESOURCE_KEY!!":
    50     You need to create a resource key at    51     https://configure.51degrees.com and paste it into the code,    52     'replacing !!YOUR_RESOURCE_KEY!!    53     To get a resourcekey with the properties used in this example go to https://configure.51degrees.com/GCrtGh1L    57     pipeline = LocationPipelineBuilder(resource_key=resource_key).build()
    62     flow_data = pipeline.create_flowdata()
    66     latitude = 
"51.458048"    67     longitude = 
"-0.9822207999999999"    69     flow_data.evidence.add(
"query.51D_Pos_latitude", latitude)
    70     flow_data.evidence.add(
"query.51D_Pos_longitude", longitude)
    76     print(
"What country is at coordinates:" + longitude + 
", " + latitude + 
"?")
    77     if flow_data.location.country.has_value():
    78         print(flow_data.location.country.value())
    80         print(flow_data.location.no_value_message())