@scrapecreators/cli 1.0.15 → 1.0.17

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.
@@ -7057,9 +7057,9 @@ export const apis = [
7057
7057
  name: "Advertiser Search",
7058
7058
  method: "GET",
7059
7059
  description:
7060
- "Search the Google Ad Transparency Library for advertisers to get their advertiser id",
7060
+ "Search the Google Ad Transparency Library for advertisers to get their advertiser id. Pass region for non-US advertisers, like AU or CA.",
7061
7061
  fullDescription:
7062
- "Searches the Google Ad Transparency Library for advertisers by name. Returns a list of matching advertisers with their name, advertiser_id, and region, plus a list of associated website domains. Use the returned advertiser_id to look up a company's ads.",
7062
+ "Searches the Google Ad Transparency Library for advertisers by name. Returns a list of matching advertisers with their name, advertiser_id, and region, plus a list of associated website domains. Use the returned advertiser_id to look up a company's ads. Defaults to US when region is not passed, so pass a 2-letter country code like AU or CA when searching for advertisers in another region.",
7063
7063
  path: "/v1/google/adLibrary/advertisers/search",
7064
7064
  params: [
7065
7065
  {
@@ -7069,6 +7069,14 @@ export const apis = [
7069
7069
  description: "The query to search for",
7070
7070
  placeholder: "lululemon",
7071
7071
  },
7072
+ {
7073
+ name: "region",
7074
+ type: "string",
7075
+ required: false,
7076
+ description:
7077
+ "2-letter country code to search in. Defaults to US when omitted.",
7078
+ placeholder: "AU",
7079
+ },
7072
7080
  ],
7073
7081
  sampleResponse: {
7074
7082
  "success": true,
@@ -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.17",
4
4
  "description": "CLI for the ScrapeCreators API — scrape 27+ social media platforms from the terminal",
5
5
  "type": "module",
6
6
  "bin": {