tikapi 3.1.41__tar.gz → 3.1.50__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.41/tikapi.egg-info → tikapi-3.1.50}/PKG-INFO +1 -1
- {tikapi-3.1.41 → tikapi-3.1.50}/setup.py +1 -1
- {tikapi-3.1.41 → tikapi-3.1.50}/tikapi/api.py +10 -2
- {tikapi-3.1.41 → tikapi-3.1.50/tikapi.egg-info}/PKG-INFO +1 -1
- {tikapi-3.1.41 → tikapi-3.1.50}/MANIFEST.in +0 -0
- {tikapi-3.1.41 → tikapi-3.1.50}/README.md +0 -0
- {tikapi-3.1.41 → tikapi-3.1.50}/setup.cfg +0 -0
- {tikapi-3.1.41 → tikapi-3.1.50}/tikapi/__init__.py +0 -0
- {tikapi-3.1.41 → tikapi-3.1.50}/tikapi.egg-info/SOURCES.txt +0 -0
- {tikapi-3.1.41 → tikapi-3.1.50}/tikapi.egg-info/dependency_links.txt +0 -0
- {tikapi-3.1.41 → tikapi-3.1.50}/tikapi.egg-info/not-zip-safe +0 -0
- {tikapi-3.1.41 → tikapi-3.1.50}/tikapi.egg-info/requires.txt +0 -0
- {tikapi-3.1.41 → tikapi-3.1.50}/tikapi.egg-info/top_level.txt +0 -0
|
@@ -510,7 +510,7 @@ def Rests(options: dict):
|
|
|
510
510
|
Get video information
|
|
511
511
|
'''
|
|
512
512
|
|
|
513
|
-
return wrap({"path":"/public/video","help":"Get video information","comment":"<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","params":{"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":"
|
|
513
|
+
return wrap({"path":"/public/video","help":"Get video information","comment":"<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","params":{"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":"7003402629929913605"}},"$other":{"openapi":{"hideParams":["session_id"]}},"method":"GET"}, cls.__get_options__(), "Public.video")(id=id, country=country, session_id=session_id, **otherParams)
|
|
514
514
|
|
|
515
515
|
@classmethod
|
|
516
516
|
def videoV2(cls, id: str = None, country: str = None, session_id: int = None, **otherParams) -> APIResponse:
|
|
@@ -764,13 +764,21 @@ def Rests(options: dict):
|
|
|
764
764
|
count = None if count is cls.explore.__defaults__[0] else count
|
|
765
765
|
return wrap({"help":"Get trending posts","comment":"Get current user recommended posts from the *For You* section.","path":"/user/explore","params":{"count":{"example":30,"default":30,"max":30,"type":"number","help":"Maximum amount of items for one request","validate":"^[0-9]{1,2}$"}},"$other":{"openapi":{"fields":{"security":[{"apiKey":[],"accountKey":["explore"]}]}}},"method":"GET"}, cls.__get_options__(), "UserPosts.explore")(count=count, **otherParams)
|
|
766
766
|
|
|
767
|
+
@classmethod
|
|
768
|
+
def search(cls, category: str = None, query: str = None, nextCursor: str = None, **otherParams) -> APIResponse:
|
|
769
|
+
'''
|
|
770
|
+
Search
|
|
771
|
+
'''
|
|
772
|
+
|
|
773
|
+
return wrap({"help":"Search","comment":"Search anything, users, videos, or get keyword autocomplete suggestions. Using this instead of the Public Search endpoint will give you more personalized and consistent results. <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":"/user/search/{category}","params":{"category":{"help":"The search category","in":["general","users","videos","autocomplete"],"required":True,"type":"string","example":"general","location":"path"},"query":{"type":"string","example":"lilyachty","required":True,"help":"The search keyword"},"nextCursor":{"type":"string","help":"A iteration parameter returned in each response, should be included in the next requests to get the next items."}},"$other":{"openapi":{"fields":{"security":[{"apiKey":[],"accountKey":["explore"]}]}}},"method":"GET"}, cls.__get_options__(), "UserPosts.search")(category=category, query=query, nextCursor=nextCursor, **otherParams)
|
|
774
|
+
|
|
767
775
|
@classmethod
|
|
768
776
|
def video(cls, id: str = None, **otherParams) -> APIResponse:
|
|
769
777
|
'''
|
|
770
778
|
Get video information
|
|
771
779
|
'''
|
|
772
780
|
|
|
773
|
-
return wrap({"help":"Get video information","comment":"<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":"/user/video","params":{"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":"
|
|
781
|
+
return wrap({"help":"Get video information","comment":"<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":"/user/video","params":{"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":"7003402629929913605"}},"$other":{"openapi":{"fields":{"security":[{"apiKey":[],"accountKey":["explore"]}]}}},"method":"GET"}, cls.__get_options__(), "UserPosts.video")(id=id, **otherParams)
|
|
774
782
|
|
|
775
783
|
@classmethod
|
|
776
784
|
def like(cls, media_id: str = 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
|