@@ -121,24 +121,24 @@ activity_details = client.get_activity_details(token)
121
121
122
122
profile = activity_details.profile
123
123
124
- selfie = profile.get( ' selfie' ) .value
125
- given_names = profile.get( ' given_names' ) .value
126
- family_name = profile.get( ' family_name' ) .value
127
- full_name = profile.get( ' full_name' ) .value
128
- phone_number = profile.get( ' phone_number' ) .value
129
- date_of_birth = profile.get( ' date_of_birth' ) .value
130
- is_age_verified = profile.get( ' is_age_verified' ) .value
131
- postal_address = profile.get( ' postal_address' ) .value
132
- gender = profile.get( ' gender' ) .value
133
- nationality = profile.get( ' nationality' ) .value
134
-
124
+ selfie = profile.selfie.value
125
+ given_names = profile.given_names.value
126
+ family_name = profile.family_name.value
127
+ full_name = profile.full_name.value
128
+ phone_number = profile.phone_number.value
129
+ date_of_birth = profile.date_of_birth.value
130
+ is_age_verified = profile.is_age_verified.value
131
+ postal_address = profile.postal_address.value
132
+ gender = profile.gender.value
133
+ nationality = profile.nationality.value
134
+
135
135
remember_me_id = activity_details.user_id
136
136
base64_selfie_uri = activity_details.base64_selfie_uri
137
137
```
138
138
139
139
You can retrieve the anchors, sources and verifiers for each attribute as follows:
140
140
``` python
141
- given_names_attribute = profile.get( ' given_names' )
141
+ given_names_attribute = profile.given_names
142
142
143
143
given_names_anchors = given_names_attribute.anchors
144
144
given_names_sources = given_names_attribute.sources
0 commit comments