@scrapecreators/cli 1.0.16 → 1.0.18

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.
Files changed (2) hide show
  1. package/api-config/apis.js +13 -2
  2. package/package.json +1 -1
@@ -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,
@@ -16929,6 +16937,7 @@ export const apis = [
16929
16937
  sampleResponse: {
16930
16938
  "success": true,
16931
16939
  "credits_remaining": 49998219840,
16940
+ "popularity": 79,
16932
16941
  "__typename": "Artist",
16933
16942
  "discography": {
16934
16943
  "albums": [
@@ -21736,6 +21745,7 @@ export const apis = [
21736
21745
  sampleResponse: {
21737
21746
  "success": true,
21738
21747
  "credits_remaining": 49997935404,
21748
+ "popularity": 75,
21739
21749
  "__typename": "Track",
21740
21750
  "associationsV3": {
21741
21751
  "audioAssociations": [],
@@ -28179,6 +28189,7 @@ export const apis = [
28179
28189
  sampleResponse: {
28180
28190
  "success": true,
28181
28191
  "credits_remaining": 49997935402,
28192
+ "popularity": 14,
28182
28193
  "id": "0pgrg7phBbnwGJ2HBEl9EG",
28183
28194
  "uri": "spotify:album:0pgrg7phBbnwGJ2HBEl9EG",
28184
28195
  "__typename": "Album",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scrapecreators/cli",
3
- "version": "1.0.16",
3
+ "version": "1.0.18",
4
4
  "description": "CLI for the ScrapeCreators API — scrape 27+ social media platforms from the terminal",
5
5
  "type": "module",
6
6
  "bin": {