tikapi 3.1.50__tar.gz → 3.1.60__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {tikapi-3.1.50/tikapi.egg-info → tikapi-3.1.60}/PKG-INFO +1 -1
- {tikapi-3.1.50 → tikapi-3.1.60}/setup.py +1 -1
- {tikapi-3.1.50 → tikapi-3.1.60}/tikapi/api.py +18 -2
- {tikapi-3.1.50 → tikapi-3.1.60/tikapi.egg-info}/PKG-INFO +1 -1
- {tikapi-3.1.50 → tikapi-3.1.60}/MANIFEST.in +0 -0
- {tikapi-3.1.50 → tikapi-3.1.60}/README.md +0 -0
- {tikapi-3.1.50 → tikapi-3.1.60}/setup.cfg +0 -0
- {tikapi-3.1.50 → tikapi-3.1.60}/tikapi/__init__.py +0 -0
- {tikapi-3.1.50 → tikapi-3.1.60}/tikapi.egg-info/SOURCES.txt +0 -0
- {tikapi-3.1.50 → tikapi-3.1.60}/tikapi.egg-info/dependency_links.txt +0 -0
- {tikapi-3.1.50 → tikapi-3.1.60}/tikapi.egg-info/not-zip-safe +0 -0
- {tikapi-3.1.50 → tikapi-3.1.60}/tikapi.egg-info/requires.txt +0 -0
- {tikapi-3.1.50 → tikapi-3.1.60}/tikapi.egg-info/top_level.txt +0 -0
|
@@ -568,6 +568,22 @@ def Rests(options: dict):
|
|
|
568
568
|
count = None if count is cls.hashtag.__defaults__[2] else count
|
|
569
569
|
return wrap({"help":"Get hashtag posts","comment":"Your first request should be using the hashtag `name` parameter, then the following requests should be using the `id` parameter which you have stored from the first request (returned in response `challengeInfo > challenge > id`). <br/><a target=\"_blank\" href='https://helpdesk.tikapi.io/portal/en/kb/articles/how-to-download-tiktok-videos'>\nLearn more about downloading videos</a>\n\n","path":"/public/hashtag","params":{"id":{"validate":"^([0-9]+|https?://vm.tiktok.com/[a-zA-Z0-9]+/?)$","type":"string","help":"The hashtag ID. Can also be a short TikTok link (e.g. vm.tiktok.com/UwU)","example":"4655293"},"name":{"type":"string","help":"The hashtag name"},"count":{"example":30,"default":30,"max":30,"type":"number","help":"Maximum amount of items for one request","validate":"^[0-9]{1,2}$"},"cursor":{"help":"The starting point of the items list. Returned in every response, should be included in the next request for iteration.<br><br> *(A simple iteration method is already implemented in the Javascript & Python libraries as seen in the request samples)*","type":"string","validate":"^[0-9]+$"}},"$other":{"openapi":{"hideParams":["session_id"]}},"method":"GET"}, cls.__get_options__(), "Public.hashtag")(id=id, name=name, count=count, cursor=cursor, country=country, session_id=session_id, **otherParams)
|
|
570
570
|
|
|
571
|
+
@classmethod
|
|
572
|
+
def commentsList(cls, media_id: str = None, count: int = Default(30), cursor: int = None, country: str = None, session_id: int = None, **otherParams) -> APIResponse:
|
|
573
|
+
'''
|
|
574
|
+
Get a video comments list
|
|
575
|
+
'''
|
|
576
|
+
count = None if count is cls.commentsList.__defaults__[1] else count
|
|
577
|
+
return wrap({"help":"Get a video comments list","path":"/public/comment/list","params":{"media_id":{"help":"The video ID. Can also be a short TikTok link (e.g. vm.tiktok.com/UwU)","type":"string","validate":"^([0-9]+|https?://vm.tiktok.com/[a-zA-Z0-9]+/?)$","required":True,"example":"7109178205151464746"},"count":{"example":30,"default":30,"max":30,"type":"number","help":"Maximum amount of items for one request","validate":"^[0-9]{1,2}$"},"cursor":{"help":"The starting point of the items list. Returned in every response, should be included in the next request for iteration.<br><br> *(A simple iteration method is already implemented in the Javascript & Python libraries as seen in the request samples)*","type":"number","validate":"^[0-9]+$"}},"$other":{"openapi":{}},"method":"GET"}, cls.__get_options__(), "Public.commentsList")(media_id=media_id, count=count, cursor=cursor, country=country, session_id=session_id, **otherParams)
|
|
578
|
+
|
|
579
|
+
@classmethod
|
|
580
|
+
def commentRepliesList(cls, media_id: str = None, comment_id: str = None, count: int = Default(30), cursor: int = None, country: str = None, session_id: int = None, **otherParams) -> APIResponse:
|
|
581
|
+
'''
|
|
582
|
+
Get a comment replies list
|
|
583
|
+
'''
|
|
584
|
+
count = None if count is cls.commentRepliesList.__defaults__[2] else count
|
|
585
|
+
return wrap({"help":"Get a comment replies list","path":"/public/comment/reply/list","params":{"media_id":{"help":"The video ID. Can also be a short TikTok link (e.g. vm.tiktok.com/UwU)","type":"string","validate":"^([0-9]+|https?://vm.tiktok.com/[a-zA-Z0-9]+/?)$","required":True,"example":"7109178205151464746"},"comment_id":{"validate":"^[0-9]+$","help":"The comment ID","type":"string","required":True,"example":"7109185042560680750"},"count":{"example":30,"default":30,"max":30,"type":"number","help":"Maximum amount of items for one request","validate":"^[0-9]{1,2}$"},"cursor":{"help":"The starting point of the items list. Returned in every response, should be included in the next request for iteration.<br><br> *(A simple iteration method is already implemented in the Javascript & Python libraries as seen in the request samples)*","type":"number","validate":"^[0-9]+$"}},"$other":{"openapi":{}},"method":"GET"}, cls.__get_options__(), "Public.commentRepliesList")(media_id=media_id, comment_id=comment_id, count=count, cursor=cursor, country=country, session_id=session_id, **otherParams)
|
|
586
|
+
|
|
571
587
|
@classmethod
|
|
572
588
|
def music(cls, id: str = None, count: int = Default(30), cursor: str = None, country: str = None, session_id: int = None, **otherParams) -> APIResponse:
|
|
573
589
|
'''
|
|
@@ -636,7 +652,7 @@ def Rests(options: dict):
|
|
|
636
652
|
Get a video comments list
|
|
637
653
|
'''
|
|
638
654
|
count = None if count is cls.list.__defaults__[1] else count
|
|
639
|
-
return wrap({"help":"Get a video comments list","path":"/comment/list","params":{"media_id":{"help":"The video ID. Can also be a short TikTok link (e.g. vm.tiktok.com/UwU)","type":"string","validate":"^([0-9]+|https?://vm.tiktok.com/[a-zA-Z0-9]+/?)$","required":True,"example":"7109178205151464746"},"count":{"example":30,"default":30,"max":30,"type":"number","help":"Maximum amount of items for one request","validate":"^[0-9]{1,2}$"},"cursor":{"help":"The starting point of the items list. Returned in every response, should be included in the next request for iteration.<br><br> *(A simple iteration method is already implemented in the Javascript & Python libraries as seen in the request samples)*","type":"number","validate":"^[0-9]+$"}},"$other":{"openapi":{}},"method":"GET"}, cls.__get_options__(), "UserPostsComments.list")(media_id=media_id, count=count, cursor=cursor, **otherParams)
|
|
655
|
+
return wrap({"help":"Get a video comments list","path":"/user/comment/list","params":{"media_id":{"help":"The video ID. Can also be a short TikTok link (e.g. vm.tiktok.com/UwU)","type":"string","validate":"^([0-9]+|https?://vm.tiktok.com/[a-zA-Z0-9]+/?)$","required":True,"example":"7109178205151464746"},"count":{"example":30,"default":30,"max":30,"type":"number","help":"Maximum amount of items for one request","validate":"^[0-9]{1,2}$"},"cursor":{"help":"The starting point of the items list. Returned in every response, should be included in the next request for iteration.<br><br> *(A simple iteration method is already implemented in the Javascript & Python libraries as seen in the request samples)*","type":"number","validate":"^[0-9]+$"}},"$other":{"openapi":{}},"method":"GET"}, cls.__get_options__(), "UserPostsComments.list")(media_id=media_id, count=count, cursor=cursor, **otherParams)
|
|
640
656
|
|
|
641
657
|
@classmethod
|
|
642
658
|
def replies(cls, media_id: str = None, comment_id: str = None, count: int = Default(30), cursor: int = None, **otherParams) -> APIResponse:
|
|
@@ -644,7 +660,7 @@ def Rests(options: dict):
|
|
|
644
660
|
Get a comment reply list
|
|
645
661
|
'''
|
|
646
662
|
count = None if count is cls.replies.__defaults__[2] else count
|
|
647
|
-
return wrap({"help":"Get a comment reply list","path":"/comment/reply/list","params":{"media_id":{"help":"The video ID. Can also be a short TikTok link (e.g. vm.tiktok.com/UwU)","type":"string","validate":"^([0-9]+|https?://vm.tiktok.com/[a-zA-Z0-9]+/?)$","required":True,"example":"7109178205151464746"},"comment_id":{"validate":"^[0-9]+$","help":"The comment ID","type":"string","required":True,"example":"7109185042560680750"},"count":{"example":30,"default":30,"max":30,"type":"number","help":"Maximum amount of items for one request","validate":"^[0-9]{1,2}$"},"cursor":{"help":"The starting point of the items list. Returned in every response, should be included in the next request for iteration.<br><br> *(A simple iteration method is already implemented in the Javascript & Python libraries as seen in the request samples)*","type":"number","validate":"^[0-9]+$"}},"$other":{"openapi":{}},"method":"GET"}, cls.__get_options__(), "UserPostsComments.replies")(media_id=media_id, comment_id=comment_id, count=count, cursor=cursor, **otherParams)
|
|
663
|
+
return wrap({"help":"Get a comment reply list","path":"/user/comment/reply/list","params":{"media_id":{"help":"The video ID. Can also be a short TikTok link (e.g. vm.tiktok.com/UwU)","type":"string","validate":"^([0-9]+|https?://vm.tiktok.com/[a-zA-Z0-9]+/?)$","required":True,"example":"7109178205151464746"},"comment_id":{"validate":"^[0-9]+$","help":"The comment ID","type":"string","required":True,"example":"7109185042560680750"},"count":{"example":30,"default":30,"max":30,"type":"number","help":"Maximum amount of items for one request","validate":"^[0-9]{1,2}$"},"cursor":{"help":"The starting point of the items list. Returned in every response, should be included in the next request for iteration.<br><br> *(A simple iteration method is already implemented in the Javascript & Python libraries as seen in the request samples)*","type":"number","validate":"^[0-9]+$"}},"$other":{"openapi":{}},"method":"GET"}, cls.__get_options__(), "UserPostsComments.replies")(media_id=media_id, comment_id=comment_id, count=count, cursor=cursor, **otherParams)
|
|
648
664
|
|
|
649
665
|
@classmethod
|
|
650
666
|
def post(cls, media_id: str = None, text: str = None, reply_comment_id: str = None, has_tags: bool = None, **otherParams) -> APIResponse:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|