Skip to content

Commit 0e772ac

Browse files
committed
SDK-492: Update README
1 parent 8aed89f commit 0e772ac

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -121,24 +121,24 @@ activity_details = client.get_activity_details(token)
121121

122122
profile = activity_details.profile
123123

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+
135135
remember_me_id = activity_details.user_id
136136
base64_selfie_uri = activity_details.base64_selfie_uri
137137
```
138138

139139
You can retrieve the anchors, sources and verifiers for each attribute as follows:
140140
```python
141-
given_names_attribute = profile.get('given_names')
141+
given_names_attribute = profile.given_names
142142

143143
given_names_anchors = given_names_attribute.anchors
144144
given_names_sources = given_names_attribute.sources

0 commit comments

Comments
 (0)