Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 974 Bytes

File metadata and controls

33 lines (24 loc) · 974 Bytes

Author

Lightweight author descriptor embedded in Video and Comment.

Properties

Name Type Description Notes
id str Stable TikTok user id.
username str Public handle, e.g. 'jennmelon'
display_name str
avatar_url str

Example

from unifapi.models.author import Author

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

# convert the object into a dict
author_dict = author_instance.to_dict()
# create an instance of Author from a dict
author_from_dict = Author.from_dict(author_dict)

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