File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -122,17 +122,17 @@ Here is an example of how this works:
122
122
123
123
``` python
124
124
client = Client(YOTI_CLIENT_SDK_ID , YOTI_KEY_FILE_PATH )
125
- activity_details = client.get_activity_details(token)
126
-
127
- user_id = activity_details. user_profile.get(' user_id' )
128
- selfie = activity_details. user_profile.get(' selfie' )
129
- given_names = activity_details. user_profile.get(' given_names' )
130
- family_name = activity_details. user_profile.get(' family_name' )
131
- phone_number = activity_details. user_profile.get(' phone_number' )
132
- date_of_birth = activity_details. user_profile.get(' date_of_birth' )
133
- postal_address = activity_details. user_profile.get(' postal_address' )
134
- gender = activity_details. user_profile.get(' gender' )
135
- nationality = activity_details. user_profile.get(' nationality' )
125
+ user_profile = client.get_activity_details(token).user_profile
126
+
127
+ user_id = user_profile.get(' user_id' )
128
+ selfie = user_profile.get(' selfie' )
129
+ given_names = user_profile.get(' given_names' )
130
+ family_name = user_profile.get(' family_name' )
131
+ phone_number = user_profile.get(' phone_number' )
132
+ date_of_birth = user_profile.get(' date_of_birth' )
133
+ postal_address = user_profile.get(' postal_address' )
134
+ gender = user_profile.get(' gender' )
135
+ nationality = user_profile.get(' nationality' )
136
136
```
137
137
138
138
## Running the Examples
You can’t perform that action at this time.
0 commit comments