Skip to content

Latest commit

 

History

History
42 lines (33 loc) · 1.29 KB

File metadata and controls

42 lines (33 loc) · 1.29 KB

XUser

Properties

Name Type Description Notes
id str
name str
username str
created_at str [optional]
description str [optional]
location str [optional]
url str [optional]
profile_image_url str [optional]
profile_banner_url str [optional]
protected bool [optional]
verified bool [optional]
verified_type str [optional]
pinned_tweet_id str [optional]
public_metrics XPublicMetrics [optional]

Example

from unifapi.models.x_user import XUser

# TODO update the JSON string below
json = "{}"
# create an instance of XUser from a JSON string
x_user_instance = XUser.from_json(json)
# print the JSON string representation of the object
print(XUser.to_json())

# convert the object into a dict
x_user_dict = x_user_instance.to_dict()
# create an instance of XUser from a dict
x_user_from_dict = XUser.from_dict(x_user_dict)

[Back to Model list] [Back to API list] [Back to README]