GeezerVison is showing github.com — unifapi-sdk-python/docs/ThreadsPost.md at main · unifapi-agent/unifapi-sdk-python
37 lines (28 loc) · 1.09 KB
File metadata and controls
37 lines (28 loc) · 1.09 KB
Copy raw file
Download raw file
OutlineEdit and raw actions
| Name |
Type |
Description |
Notes |
| id |
str |
Threads post code (URL slug). |
|
| code |
str |
|
|
| media_id |
str |
|
|
| text |
str |
|
|
| taken_at |
float |
|
|
| like_count |
float |
|
|
| image_url |
str |
|
|
| video_url |
str |
|
|
| user |
ThreadsPostUser |
|
|
from unifapi.models.threads_post import ThreadsPost
# TODO update the JSON string below
json = "{}"
# create an instance of ThreadsPost from a JSON string
threads_post_instance = ThreadsPost.from_json(json)
# print the JSON string representation of the object
print(ThreadsPost.to_json())
# convert the object into a dict
threads_post_dict = threads_post_instance.to_dict()
# create an instance of ThreadsPost from a dict
threads_post_from_dict = ThreadsPost.from_dict(threads_post_dict)
[Back to Model list] [Back to API list] [Back to README]