tikapi 3.1.50__tar.gz → 3.2.0__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.2.0/PKG-INFO +66 -0
- {tikapi-3.1.50 → tikapi-3.2.0}/setup.py +1 -1
- {tikapi-3.1.50 → tikapi-3.2.0}/tikapi/api.py +26 -10
- tikapi-3.2.0/tikapi.egg-info/PKG-INFO +66 -0
- tikapi-3.1.50/PKG-INFO +0 -65
- tikapi-3.1.50/tikapi.egg-info/PKG-INFO +0 -65
- {tikapi-3.1.50 → tikapi-3.2.0}/MANIFEST.in +0 -0
- {tikapi-3.1.50 → tikapi-3.2.0}/README.md +0 -0
- {tikapi-3.1.50 → tikapi-3.2.0}/setup.cfg +0 -0
- {tikapi-3.1.50 → tikapi-3.2.0}/tikapi/__init__.py +0 -0
- {tikapi-3.1.50 → tikapi-3.2.0}/tikapi.egg-info/SOURCES.txt +0 -0
- {tikapi-3.1.50 → tikapi-3.2.0}/tikapi.egg-info/dependency_links.txt +0 -0
- {tikapi-3.1.50 → tikapi-3.2.0}/tikapi.egg-info/not-zip-safe +0 -0
- {tikapi-3.1.50 → tikapi-3.2.0}/tikapi.egg-info/requires.txt +0 -0
- {tikapi-3.1.50 → tikapi-3.2.0}/tikapi.egg-info/top_level.txt +0 -0
tikapi-3.2.0/PKG-INFO
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: tikapi
|
|
3
|
+
Version: 3.2.0
|
|
4
|
+
Summary: TikAPI | TikTok Unofficial API
|
|
5
|
+
Home-page: https://www.tikapi.io
|
|
6
|
+
Author: TikAPI
|
|
7
|
+
Author-email: contact@tikapi.io
|
|
8
|
+
License: TikAPI
|
|
9
|
+
Keywords: tikapi,tiktok api,tiktok scraper,tiktok,TikTokApi
|
|
10
|
+
Description-Content-Type: text/markdown
|
|
11
|
+
Requires-Dist: requests
|
|
12
|
+
|
|
13
|
+
# Unofficial TikTok API <img src='https://img.shields.io/npm/v/tikapi'> <img src='https://img.shields.io/pypi/v/tikapi'>
|
|
14
|
+
|
|
15
|
+
A fully managed hassle-free TikTok API solution with OAuth capabilities.
|
|
16
|
+
|
|
17
|
+
Get started by getting an API Key at https://www.tikapi.io
|
|
18
|
+
|
|
19
|
+
*Note: Spam/Abuse and other use cases that are against community guidelines are forbidden.*
|
|
20
|
+
|
|
21
|
+
SDK & Documentation made with [Rests](https://github.com/el1s7/rests)
|
|
22
|
+
|
|
23
|
+
## Installation
|
|
24
|
+
|
|
25
|
+
Node.js
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
npm i tikapi@latest
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
Python 3
|
|
32
|
+
|
|
33
|
+
```bash
|
|
34
|
+
pip3 install tikapi
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
## Usage
|
|
38
|
+
|
|
39
|
+
### Javascript
|
|
40
|
+
ES6 Import Syntax is recommended
|
|
41
|
+
```javascript
|
|
42
|
+
import TikAPI from 'tikapi';
|
|
43
|
+
|
|
44
|
+
const api = TikAPI("myAPIKey");
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
#### Common JS
|
|
48
|
+
Import it like this in Node with CommonJS to get the Intellisense Support & Types
|
|
49
|
+
```javascript
|
|
50
|
+
const TikAPI = require('tikapi').default;
|
|
51
|
+
|
|
52
|
+
const api = TikAPI("myAPIKey");
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
### Python
|
|
56
|
+
```python
|
|
57
|
+
from tikapi import TikAPI
|
|
58
|
+
|
|
59
|
+
api = TikAPI("myAPIKey")
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
## Documentation
|
|
63
|
+
|
|
64
|
+
Check out the documentation for full code samples on all endpoints
|
|
65
|
+
|
|
66
|
+
https://www.tikapi.io/documentation/
|
|
@@ -481,20 +481,20 @@ def Rests(options: dict):
|
|
|
481
481
|
return wrap({"help":"Get a user's liked posts","path":"/public/likes","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":{"secUid":{"validate":"^(.*?){30,}$","help":"The TikTok user secUid. You can get this from the <a href='#tag/Public/operation/public.check'>Get profile information</a> endpoint using the username.","type":"string","example":"MS4wLjABAAAAsHntXC3s0AvxcecggxsoVa4eAiT8OVafVZ4OQXxy-9htpnUi0sOYSr0kGGD1Loud","required":True},"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.likes")(secUid=secUid, count=count, cursor=cursor, country=country, session_id=session_id, **otherParams)
|
|
482
482
|
|
|
483
483
|
@classmethod
|
|
484
|
-
def followersList(cls, secUid: str = None, count: int = Default(30), nextCursor:
|
|
484
|
+
def followersList(cls, secUid: str = None, count: int = Default(30), nextCursor: int = None, country: str = None, session_id: int = None, **otherParams) -> APIResponse:
|
|
485
485
|
'''
|
|
486
486
|
Get a user's followers list
|
|
487
487
|
'''
|
|
488
488
|
count = None if count is cls.followersList.__defaults__[1] else count
|
|
489
|
-
return wrap({"help":"Get a user's followers list","comment":"Get followers list of any public profile.","path":"/public/followers","params":{"secUid":{"validate":"^(.*?){30,}$","help":"The TikTok user secUid. You can get this from the <a href='#tag/Public/operation/public.check'>Get profile information</a> endpoint using the username.","type":"string","example":"MS4wLjABAAAAsHntXC3s0AvxcecggxsoVa4eAiT8OVafVZ4OQXxy-9htpnUi0sOYSr0kGGD1Loud","required":True},"count":{"example":30,"default":30,"max":30,"type":"number","help":"Maximum amount of items for one request","validate":"^[0-9]{1,2}$"},"nextCursor":{"type":"
|
|
489
|
+
return wrap({"help":"Get a user's followers list","comment":"Get followers list of any public profile.","path":"/public/followers","params":{"secUid":{"validate":"^(.*?){30,}$","help":"The TikTok user secUid. You can get this from the <a href='#tag/Public/operation/public.check'>Get profile information</a> endpoint using the username.","type":"string","example":"MS4wLjABAAAAsHntXC3s0AvxcecggxsoVa4eAiT8OVafVZ4OQXxy-9htpnUi0sOYSr0kGGD1Loud","required":True},"count":{"example":30,"default":30,"max":30,"type":"number","help":"Maximum amount of items for one request","validate":"^[0-9]{1,2}$"},"nextCursor":{"type":"number","help":"A iteration parameter returned in each response, should be included in the next requests to get the next items."}},"$other":{"openapi":{"hideParams":["session_id"]}},"method":"GET"}, cls.__get_options__(), "Public.followersList")(secUid=secUid, count=count, nextCursor=nextCursor, country=country, session_id=session_id, **otherParams)
|
|
490
490
|
|
|
491
491
|
@classmethod
|
|
492
|
-
def followingList(cls, secUid: str = None, count: int = Default(30), nextCursor:
|
|
492
|
+
def followingList(cls, secUid: str = None, count: int = Default(30), nextCursor: int = None, country: str = None, session_id: int = None, **otherParams) -> APIResponse:
|
|
493
493
|
'''
|
|
494
494
|
Get a user's following list
|
|
495
495
|
'''
|
|
496
496
|
count = None if count is cls.followingList.__defaults__[1] else count
|
|
497
|
-
return wrap({"help":"Get a user's following list","comment":"Get following list of any public profile.","path":"/public/following","params":{"secUid":{"validate":"^(.*?){30,}$","help":"The TikTok user secUid. You can get this from the <a href='#tag/Public/operation/public.check'>Get profile information</a> endpoint using the username.","type":"string","example":"MS4wLjABAAAAsHntXC3s0AvxcecggxsoVa4eAiT8OVafVZ4OQXxy-9htpnUi0sOYSr0kGGD1Loud","required":True},"count":{"example":30,"default":30,"max":30,"type":"number","help":"Maximum amount of items for one request","validate":"^[0-9]{1,2}$"},"nextCursor":{"type":"
|
|
497
|
+
return wrap({"help":"Get a user's following list","comment":"Get following list of any public profile.","path":"/public/following","params":{"secUid":{"validate":"^(.*?){30,}$","help":"The TikTok user secUid. You can get this from the <a href='#tag/Public/operation/public.check'>Get profile information</a> endpoint using the username.","type":"string","example":"MS4wLjABAAAAsHntXC3s0AvxcecggxsoVa4eAiT8OVafVZ4OQXxy-9htpnUi0sOYSr0kGGD1Loud","required":True},"count":{"example":30,"default":30,"max":30,"type":"number","help":"Maximum amount of items for one request","validate":"^[0-9]{1,2}$"},"nextCursor":{"type":"number","help":"A iteration parameter returned in each response, should be included in the next requests to get the next items."}},"$other":{"openapi":{"hideParams":["session_id"]}},"method":"GET"}, cls.__get_options__(), "Public.followingList")(secUid=secUid, count=count, nextCursor=nextCursor, country=country, session_id=session_id, **otherParams)
|
|
498
498
|
|
|
499
499
|
@classmethod
|
|
500
500
|
def explore(cls, count: int = Default(30), country: str = None, session_id: int = None, **otherParams) -> APIResponse:
|
|
@@ -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:
|
|
@@ -1065,20 +1081,20 @@ def Rests(options: dict):
|
|
|
1065
1081
|
return wrap({"help":"Get following list","comment":"Get current user's following list","path":"/user/following/v1","params":{"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":{"hide":True,"fields":{"tags":["Followers"],"security":[{"apiKey":[],"accountKey":["view_followers"]}]}}},"method":"GET"}, cls.__get_options__(), "User.followingV1")(count=count, cursor=cursor, **otherParams)
|
|
1066
1082
|
|
|
1067
1083
|
@classmethod
|
|
1068
|
-
def following(cls, secUid: str = None, count: int = Default(30), nextCursor:
|
|
1084
|
+
def following(cls, secUid: str = None, count: int = Default(30), nextCursor: int = None, **otherParams) -> APIResponse:
|
|
1069
1085
|
'''
|
|
1070
1086
|
Get following list
|
|
1071
1087
|
'''
|
|
1072
1088
|
count = None if count is cls.following.__defaults__[1] else count
|
|
1073
|
-
return wrap({"help":"Get following list","comment":"Get current user following list (or a friends by specifying the secUid).","path":"/user/following","params":{"secUid":{"validate":"^(.*?){30,}$","help":"The TikTok user secUid. You can get this from the <a href='#tag/Public/operation/public.check'>Get profile information</a> endpoint using the username.","type":"string","example":"MS4wLjABAAAAsHntXC3s0AvxcecggxsoVa4eAiT8OVafVZ4OQXxy-9htpnUi0sOYSr0kGGD1Loud"},"count":{"example":30,"default":30,"max":30,"type":"number","help":"Maximum amount of items for one request","validate":"^[0-9]{1,2}$"},"nextCursor":{"type":"
|
|
1089
|
+
return wrap({"help":"Get following list","comment":"Get current user following list (or a friends by specifying the secUid).","path":"/user/following","params":{"secUid":{"validate":"^(.*?){30,}$","help":"The TikTok user secUid. You can get this from the <a href='#tag/Public/operation/public.check'>Get profile information</a> endpoint using the username.","type":"string","example":"MS4wLjABAAAAsHntXC3s0AvxcecggxsoVa4eAiT8OVafVZ4OQXxy-9htpnUi0sOYSr0kGGD1Loud"},"count":{"example":30,"default":30,"max":30,"type":"number","help":"Maximum amount of items for one request","validate":"^[0-9]{1,2}$"},"nextCursor":{"type":"number","help":"A iteration parameter returned in each response, should be included in the next requests to get the next items."}},"$other":{"openapi":{"fields":{"tags":["Followers"],"security":[{"apiKey":[],"accountKey":["view_followers"]}]}}},"method":"GET"}, cls.__get_options__(), "User.following")(secUid=secUid, count=count, nextCursor=nextCursor, **otherParams)
|
|
1074
1090
|
|
|
1075
1091
|
@classmethod
|
|
1076
|
-
def followers(cls, secUid: str = None, count: int = Default(30), nextCursor:
|
|
1092
|
+
def followers(cls, secUid: str = None, count: int = Default(30), nextCursor: int = None, **otherParams) -> APIResponse:
|
|
1077
1093
|
'''
|
|
1078
1094
|
Get followers list
|
|
1079
1095
|
'''
|
|
1080
1096
|
count = None if count is cls.followers.__defaults__[1] else count
|
|
1081
|
-
return wrap({"help":"Get followers list","comment":"Get current user followers list (or a friends by specifying the secUid).","path":"/user/followers","params":{"secUid":{"validate":"^(.*?){30,}$","help":"The TikTok user secUid. You can get this from the <a href='#tag/Public/operation/public.check'>Get profile information</a> endpoint using the username.","type":"string","example":"MS4wLjABAAAAsHntXC3s0AvxcecggxsoVa4eAiT8OVafVZ4OQXxy-9htpnUi0sOYSr0kGGD1Loud"},"count":{"example":30,"default":30,"max":30,"type":"number","help":"Maximum amount of items for one request","validate":"^[0-9]{1,2}$"},"nextCursor":{"type":"
|
|
1097
|
+
return wrap({"help":"Get followers list","comment":"Get current user followers list (or a friends by specifying the secUid).","path":"/user/followers","params":{"secUid":{"validate":"^(.*?){30,}$","help":"The TikTok user secUid. You can get this from the <a href='#tag/Public/operation/public.check'>Get profile information</a> endpoint using the username.","type":"string","example":"MS4wLjABAAAAsHntXC3s0AvxcecggxsoVa4eAiT8OVafVZ4OQXxy-9htpnUi0sOYSr0kGGD1Loud"},"count":{"example":30,"default":30,"max":30,"type":"number","help":"Maximum amount of items for one request","validate":"^[0-9]{1,2}$"},"nextCursor":{"type":"number","help":"A iteration parameter returned in each response, should be included in the next requests to get the next items."}},"$other":{"openapi":{"fields":{"tags":["Followers"],"security":[{"apiKey":[],"accountKey":["view_followers"]}]}}},"method":"GET"}, cls.__get_options__(), "User.followers")(secUid=secUid, count=count, nextCursor=nextCursor, **otherParams)
|
|
1082
1098
|
|
|
1083
1099
|
@classmethod
|
|
1084
1100
|
def follow(cls, username: str = None, secUid: str = None, user_id: str = None, **otherParams) -> APIResponse:
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: tikapi
|
|
3
|
+
Version: 3.2.0
|
|
4
|
+
Summary: TikAPI | TikTok Unofficial API
|
|
5
|
+
Home-page: https://www.tikapi.io
|
|
6
|
+
Author: TikAPI
|
|
7
|
+
Author-email: contact@tikapi.io
|
|
8
|
+
License: TikAPI
|
|
9
|
+
Keywords: tikapi,tiktok api,tiktok scraper,tiktok,TikTokApi
|
|
10
|
+
Description-Content-Type: text/markdown
|
|
11
|
+
Requires-Dist: requests
|
|
12
|
+
|
|
13
|
+
# Unofficial TikTok API <img src='https://img.shields.io/npm/v/tikapi'> <img src='https://img.shields.io/pypi/v/tikapi'>
|
|
14
|
+
|
|
15
|
+
A fully managed hassle-free TikTok API solution with OAuth capabilities.
|
|
16
|
+
|
|
17
|
+
Get started by getting an API Key at https://www.tikapi.io
|
|
18
|
+
|
|
19
|
+
*Note: Spam/Abuse and other use cases that are against community guidelines are forbidden.*
|
|
20
|
+
|
|
21
|
+
SDK & Documentation made with [Rests](https://github.com/el1s7/rests)
|
|
22
|
+
|
|
23
|
+
## Installation
|
|
24
|
+
|
|
25
|
+
Node.js
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
npm i tikapi@latest
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
Python 3
|
|
32
|
+
|
|
33
|
+
```bash
|
|
34
|
+
pip3 install tikapi
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
## Usage
|
|
38
|
+
|
|
39
|
+
### Javascript
|
|
40
|
+
ES6 Import Syntax is recommended
|
|
41
|
+
```javascript
|
|
42
|
+
import TikAPI from 'tikapi';
|
|
43
|
+
|
|
44
|
+
const api = TikAPI("myAPIKey");
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
#### Common JS
|
|
48
|
+
Import it like this in Node with CommonJS to get the Intellisense Support & Types
|
|
49
|
+
```javascript
|
|
50
|
+
const TikAPI = require('tikapi').default;
|
|
51
|
+
|
|
52
|
+
const api = TikAPI("myAPIKey");
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
### Python
|
|
56
|
+
```python
|
|
57
|
+
from tikapi import TikAPI
|
|
58
|
+
|
|
59
|
+
api = TikAPI("myAPIKey")
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
## Documentation
|
|
63
|
+
|
|
64
|
+
Check out the documentation for full code samples on all endpoints
|
|
65
|
+
|
|
66
|
+
https://www.tikapi.io/documentation/
|
tikapi-3.1.50/PKG-INFO
DELETED
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.1
|
|
2
|
-
Name: tikapi
|
|
3
|
-
Version: 3.1.50
|
|
4
|
-
Summary: TikAPI | TikTok Unofficial API
|
|
5
|
-
Home-page: https://www.tikapi.io
|
|
6
|
-
Author: TikAPI
|
|
7
|
-
Author-email: contact@tikapi.io
|
|
8
|
-
License: TikAPI
|
|
9
|
-
Description: # Unofficial TikTok API <img src='https://img.shields.io/npm/v/tikapi'> <img src='https://img.shields.io/pypi/v/tikapi'>
|
|
10
|
-
|
|
11
|
-
A fully managed hassle-free TikTok API solution with OAuth capabilities.
|
|
12
|
-
|
|
13
|
-
Get started by getting an API Key at https://www.tikapi.io
|
|
14
|
-
|
|
15
|
-
*Note: Spam/Abuse and other use cases that are against community guidelines are forbidden.*
|
|
16
|
-
|
|
17
|
-
SDK & Documentation made with [Rests](https://github.com/el1s7/rests)
|
|
18
|
-
|
|
19
|
-
## Installation
|
|
20
|
-
|
|
21
|
-
Node.js
|
|
22
|
-
|
|
23
|
-
```bash
|
|
24
|
-
npm i tikapi@latest
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
Python 3
|
|
28
|
-
|
|
29
|
-
```bash
|
|
30
|
-
pip3 install tikapi
|
|
31
|
-
```
|
|
32
|
-
|
|
33
|
-
## Usage
|
|
34
|
-
|
|
35
|
-
### Javascript
|
|
36
|
-
ES6 Import Syntax is recommended
|
|
37
|
-
```javascript
|
|
38
|
-
import TikAPI from 'tikapi';
|
|
39
|
-
|
|
40
|
-
const api = TikAPI("myAPIKey");
|
|
41
|
-
```
|
|
42
|
-
|
|
43
|
-
#### Common JS
|
|
44
|
-
Import it like this in Node with CommonJS to get the Intellisense Support & Types
|
|
45
|
-
```javascript
|
|
46
|
-
const TikAPI = require('tikapi').default;
|
|
47
|
-
|
|
48
|
-
const api = TikAPI("myAPIKey");
|
|
49
|
-
```
|
|
50
|
-
|
|
51
|
-
### Python
|
|
52
|
-
```python
|
|
53
|
-
from tikapi import TikAPI
|
|
54
|
-
|
|
55
|
-
api = TikAPI("myAPIKey")
|
|
56
|
-
```
|
|
57
|
-
|
|
58
|
-
## Documentation
|
|
59
|
-
|
|
60
|
-
Check out the documentation for full code samples on all endpoints
|
|
61
|
-
|
|
62
|
-
https://www.tikapi.io/documentation/
|
|
63
|
-
Keywords: tikapi,tiktok api,tiktok scraper,tiktok,TikTokApi
|
|
64
|
-
Platform: UNKNOWN
|
|
65
|
-
Description-Content-Type: text/markdown
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.1
|
|
2
|
-
Name: tikapi
|
|
3
|
-
Version: 3.1.50
|
|
4
|
-
Summary: TikAPI | TikTok Unofficial API
|
|
5
|
-
Home-page: https://www.tikapi.io
|
|
6
|
-
Author: TikAPI
|
|
7
|
-
Author-email: contact@tikapi.io
|
|
8
|
-
License: TikAPI
|
|
9
|
-
Description: # Unofficial TikTok API <img src='https://img.shields.io/npm/v/tikapi'> <img src='https://img.shields.io/pypi/v/tikapi'>
|
|
10
|
-
|
|
11
|
-
A fully managed hassle-free TikTok API solution with OAuth capabilities.
|
|
12
|
-
|
|
13
|
-
Get started by getting an API Key at https://www.tikapi.io
|
|
14
|
-
|
|
15
|
-
*Note: Spam/Abuse and other use cases that are against community guidelines are forbidden.*
|
|
16
|
-
|
|
17
|
-
SDK & Documentation made with [Rests](https://github.com/el1s7/rests)
|
|
18
|
-
|
|
19
|
-
## Installation
|
|
20
|
-
|
|
21
|
-
Node.js
|
|
22
|
-
|
|
23
|
-
```bash
|
|
24
|
-
npm i tikapi@latest
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
Python 3
|
|
28
|
-
|
|
29
|
-
```bash
|
|
30
|
-
pip3 install tikapi
|
|
31
|
-
```
|
|
32
|
-
|
|
33
|
-
## Usage
|
|
34
|
-
|
|
35
|
-
### Javascript
|
|
36
|
-
ES6 Import Syntax is recommended
|
|
37
|
-
```javascript
|
|
38
|
-
import TikAPI from 'tikapi';
|
|
39
|
-
|
|
40
|
-
const api = TikAPI("myAPIKey");
|
|
41
|
-
```
|
|
42
|
-
|
|
43
|
-
#### Common JS
|
|
44
|
-
Import it like this in Node with CommonJS to get the Intellisense Support & Types
|
|
45
|
-
```javascript
|
|
46
|
-
const TikAPI = require('tikapi').default;
|
|
47
|
-
|
|
48
|
-
const api = TikAPI("myAPIKey");
|
|
49
|
-
```
|
|
50
|
-
|
|
51
|
-
### Python
|
|
52
|
-
```python
|
|
53
|
-
from tikapi import TikAPI
|
|
54
|
-
|
|
55
|
-
api = TikAPI("myAPIKey")
|
|
56
|
-
```
|
|
57
|
-
|
|
58
|
-
## Documentation
|
|
59
|
-
|
|
60
|
-
Check out the documentation for full code samples on all endpoints
|
|
61
|
-
|
|
62
|
-
https://www.tikapi.io/documentation/
|
|
63
|
-
Keywords: tikapi,tiktok api,tiktok scraper,tiktok,TikTokApi
|
|
64
|
-
Platform: UNKNOWN
|
|
65
|
-
Description-Content-Type: text/markdown
|
|
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
|