tikapi 3.1.60__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 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/
@@ -9,7 +9,7 @@ INSTALL_REQUIRES = [
9
9
 
10
10
  setup(
11
11
  name='tikapi',
12
- version='3.1.60',
12
+ version='3.2.0',
13
13
  description='TikAPI | TikTok Unofficial API',
14
14
  long_description_content_type="text/markdown",
15
15
  long_description=open("README.md", "r", encoding="utf-8").read(),
@@ -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: str = None, country: str = None, session_id: int = None, **otherParams) -> APIResponse:
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":"string","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)
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: str = None, country: str = None, session_id: int = None, **otherParams) -> APIResponse:
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":"string","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)
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:
@@ -1081,20 +1081,20 @@ def Rests(options: dict):
1081
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)
1082
1082
 
1083
1083
  @classmethod
1084
- def following(cls, secUid: str = None, count: int = Default(30), nextCursor: str = None, **otherParams) -> APIResponse:
1084
+ def following(cls, secUid: str = None, count: int = Default(30), nextCursor: int = None, **otherParams) -> APIResponse:
1085
1085
  '''
1086
1086
  Get following list
1087
1087
  '''
1088
1088
  count = None if count is cls.following.__defaults__[1] else count
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":"string","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)
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)
1090
1090
 
1091
1091
  @classmethod
1092
- def followers(cls, secUid: str = None, count: int = Default(30), nextCursor: str = None, **otherParams) -> APIResponse:
1092
+ def followers(cls, secUid: str = None, count: int = Default(30), nextCursor: int = None, **otherParams) -> APIResponse:
1093
1093
  '''
1094
1094
  Get followers list
1095
1095
  '''
1096
1096
  count = None if count is cls.followers.__defaults__[1] else count
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":"string","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)
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)
1098
1098
 
1099
1099
  @classmethod
1100
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.60/PKG-INFO DELETED
@@ -1,65 +0,0 @@
1
- Metadata-Version: 2.1
2
- Name: tikapi
3
- Version: 3.1.60
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.60
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