get.feature_attributes()

Return user-defined attributes of a Rasgo Feature

Parameters

id:integer:ID of a Rasgo Feature

Return Object

Rasgo Feature Attributes

Sample Usage

# Connect to rasgo
api_key = '<your api key>'
rasgo = pyrasgo.connect(api_key) 

# Return object
response = rasgo.get.feature_attributes(id=#)

# Explore returned object
attr_dict = response.attributes
attr_dict.keys()
attr_dict['key']

Alternate Usage

feature = rasgo.get_feature(#)
attributes = feature.attributes
attr_dict.keys()
attr_dict['key']

Last updated