@scrapecreators/cli 1.0.15 → 1.0.16

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.
@@ -7,16 +7,23 @@ export const tiktokBaseApis = {
7
7
  name: "Profile",
8
8
  method: "GET",
9
9
  description: "Scrapes a public TikTok profile",
10
- fullDescription: "Fetches public profile data for a TikTok user by their handle — useful for looking up a creator's identity, bio, and account stats. Returns a `user` object (display name, avatar URLs, bio/signature, verification status, bio link) and a `stats` object (followerCount, followingCount, heartCount/total likes, videoCount). This only returns profile metadata, not the user's actual videos or followers list.",
10
+ fullDescription: "Fetches public profile data for a TikTok user by their handle or user_id — useful for looking up a creator's identity, bio, and account stats. Returns a `user` object (display name, avatar URLs, bio/signature, verification status, bio link) and a `stats` object (followerCount, followingCount, heartCount/total likes, videoCount). This only returns profile metadata, not the user's actual videos or followers list.",
11
11
  path: "/v1/tiktok/profile",
12
12
  params: [
13
13
  {
14
14
  name: "handle",
15
15
  type: "string",
16
- required: true,
17
- description: "TikTok handle",
16
+ required: false,
17
+ description: "TikTok handle. You can pass handle or user_id.",
18
18
  placeholder: "stoolpresidente",
19
19
  },
20
+ {
21
+ name: "user_id",
22
+ type: "string",
23
+ required: false,
24
+ description: "TikTok user id.",
25
+ placeholder: "6659752019493208069",
26
+ },
20
27
  ],
21
28
  sampleResponse: {
22
29
  user: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scrapecreators/cli",
3
- "version": "1.0.15",
3
+ "version": "1.0.16",
4
4
  "description": "CLI for the ScrapeCreators API — scrape 27+ social media platforms from the terminal",
5
5
  "type": "module",
6
6
  "bin": {