@scrapecreators/cli 1.0.5 → 1.0.7
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.
- package/api-config/apis.js +26 -0
- package/api-config/tiktok-shop-apis.js +10 -1
- package/package.json +1 -1
package/api-config/apis.js
CHANGED
|
@@ -2624,6 +2624,32 @@ export const apis = [
|
|
|
2624
2624
|
],
|
|
2625
2625
|
},
|
|
2626
2626
|
},
|
|
2627
|
+
{
|
|
2628
|
+
name: "Post Transcript",
|
|
2629
|
+
method: "GET",
|
|
2630
|
+
description: "Get the transcript from a LinkedIn post video when LinkedIn exposes one.",
|
|
2631
|
+
fullDescription:
|
|
2632
|
+
"Fetches the transcript from a LinkedIn post video when LinkedIn exposes one publicly. Returns null with transcriptNotAvailable when the post has no transcript, and only deducts credits when a transcript is returned.",
|
|
2633
|
+
path: "/v1/linkedin/post/transcript",
|
|
2634
|
+
params: [
|
|
2635
|
+
{
|
|
2636
|
+
name: "url",
|
|
2637
|
+
type: "string",
|
|
2638
|
+
description: "The URL of the LinkedIn post to get the transcript from",
|
|
2639
|
+
required: true,
|
|
2640
|
+
placeholder:
|
|
2641
|
+
"https://www.linkedin.com/posts/gemini-35-flash-is-a-step-forward-for-google-ugcPost-7465082215316525056-MHBd/",
|
|
2642
|
+
},
|
|
2643
|
+
],
|
|
2644
|
+
sampleResponse: {
|
|
2645
|
+
success: true,
|
|
2646
|
+
credits_remaining: 100,
|
|
2647
|
+
url: "https://www.linkedin.com/posts/artificial-analysis_gemini-35-flash-is-a-step-forward-for-google-activity-7465082408409870337-4Pm-",
|
|
2648
|
+
transcript:
|
|
2649
|
+
"Hey, my name is Declan Jackson. I am a member of technical staff here at Artificial Analysis and I'm going to do a quick chat through the recent release of Gemini 3.5 Flash...",
|
|
2650
|
+
transcriptNotAvailable: false,
|
|
2651
|
+
},
|
|
2652
|
+
},
|
|
2627
2653
|
],
|
|
2628
2654
|
},
|
|
2629
2655
|
{
|
|
@@ -186,7 +186,7 @@ export const tiktokShopApis = {
|
|
|
186
186
|
method: "GET",
|
|
187
187
|
description:
|
|
188
188
|
"Get the products from a TikTok Shop. This endpoint costs 1 credit per request. Use the cursor from the response to paginate through results.",
|
|
189
|
-
fullDescription: "Lists all products from a specific TikTok Shop store by its URL. Returns an array of product objects each with `title`, `cover` images, `url`, `price` info, `sold_count`, `review_count`, and `rating`. Paginate with `cursor` from the previous response; filter by region.",
|
|
189
|
+
fullDescription: "Lists all products from a specific TikTok Shop store by its URL. Returns an array of product objects each with `title`, `cover` images, `url`, `price` info, `sold_count`, `review_count`, and `rating`. Paginate with `cursor` from the previous response; filter by region; use `sort_by=top` for best-selling products or `sort_by=new_releases` for newest products.",
|
|
190
190
|
path: "/v1/tiktok/shop/products",
|
|
191
191
|
params: [
|
|
192
192
|
{
|
|
@@ -205,6 +205,15 @@ export const tiktokShopApis = {
|
|
|
205
205
|
"Cursor parameter from the previous response to retrieve the next page of products. Omit for the first page.",
|
|
206
206
|
placeholder: "",
|
|
207
207
|
},
|
|
208
|
+
{
|
|
209
|
+
name: "sort_by",
|
|
210
|
+
type: "select",
|
|
211
|
+
required: false,
|
|
212
|
+
options: ["top", "new_releases"],
|
|
213
|
+
placeholder: "top",
|
|
214
|
+
description:
|
|
215
|
+
"Sort products by best-selling items (`top`) or newest products (`new_releases`). Defaults to `top`.",
|
|
216
|
+
},
|
|
208
217
|
{
|
|
209
218
|
name: "region",
|
|
210
219
|
type: "select",
|