-
-
Notifications
You must be signed in to change notification settings - Fork 997
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Initial changes for v5 of the project. * Thanks @Daan-Grashoff for some of the helpers.extract_tag_contents code from a comment on #787 * High Level Modeling of Classes * update tests & auto call object * Fix package-test * simplify info_full * Logging Improvements * Logging changes from #804 by @zokalo * Improve docs * Fix some mypy typing issues * Move old search functions to trending & fix process_kwargs * Private self variables Co-authored-by: davidteather <[email protected]> Co-authored-by: Daan Grashoff <[email protected]> Co-authored-by: Dmitriy <[email protected]>
- Loading branch information
1 parent
a356324
commit 3973da6
Showing
76 changed files
with
11,047 additions
and
11,475 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
cff-version: 1.2.0 | ||
authors: | ||
- family-names: "Teather" | ||
given-names: "David" | ||
orcid: "https://orcid.org/0000-0002-9467-4676" | ||
- family-names: "Teather" | ||
given-names: "David" | ||
orcid: "https://orcid.org/0000-0002-9467-4676" | ||
title: "TikTokAPI" | ||
url: "https://github.com/davidteather/tiktok-api" | ||
version: 4.1.0 | ||
date-released: 2021-12-11 | ||
version: 5.0.0 | ||
date-released: 2022-2-11 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
""" | ||
This module contains classes that all represent different types of data sent back by the TikTok servers. | ||
The files within in module correspond to what type of object is described and all have different methods associated with them. | ||
### How To Interpret TikTok Data | ||
There are quite a few ambigious keys in the JSON that TikTok returns so here's a section that tries to document some of them. | ||
**Note**: These are incomplete, if you get confused about something feel free to add it here as a PR once you figure it out. | ||
| JSON Key | Description | | ||
|------------------|-------------| | ||
| createTime | The [unix epoch](https://docs.python.org/3/library/datetime.html#datetime.date.fromtimestamp) of creation, all other time fields are also unix epochs. | | ||
| secUid & (userId or id) | Two different unique attributes that are used in conjunction to reference a specific account, so if you're storing users somewhere in a database, you should store both secUid & userId. | | ||
| id | A unique attribute used to reference a non-user object like video, hashtag, etc | | ||
| diggCount | The likes for a specific video. | | ||
| digged | Used to check if the current user has liked/digged a video, this will always be false since this package doesn't support logged-in user functions. | | ||
""" |
Oops, something went wrong.