@scrapecreators/cli 1.0.0 → 1.0.2
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 +25489 -9376
- package/api-config/github-apis.js +991 -0
- package/api-config/instagram-apis.js +2495 -2474
- package/api-config/tiktok-apis.js +1131 -770
- package/api-config/tiktok-shop-apis.js +152 -153
- package/package.json +3 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export const tiktokShopApis =
|
|
1
|
+
export const tiktokShopApis = {
|
|
2
2
|
id: "tiktok-shop",
|
|
3
3
|
name: "TikTok Shop",
|
|
4
4
|
description: "Everything about TikTok Shop",
|
|
@@ -367,7 +367,7 @@ export const tiktokShopApis = {
|
|
|
367
367
|
method: "GET",
|
|
368
368
|
description:
|
|
369
369
|
"Get the details of a TikTok Shop Product! Get the exact amount of stock the product has, related tiktok videos promoting the product, and more!",
|
|
370
|
-
fullDescription: "Fetches full details for a specific TikTok Shop product by its URL, including stock levels and affiliate videos. Returns `product_info` with `product_base` (title, images, sold_count, price), `skus` (variants with exact `stock` counts), and `product_detail_review` (product_rating, review_count, sample reviews); also returns `shop_info` (shop_name, shop_rating, followers_count) and `related_videos` (affiliate TikToks promoting the product).",
|
|
370
|
+
fullDescription: "Fetches full details for a specific TikTok Shop product by its URL, including stock levels and affiliate videos. Returns `product_info` with `product_base` (title, images, sold_count, price), `skus` (variants with exact `stock` counts), and `product_detail_review` (product_rating, review_count, sample reviews); also returns `shop_info` (shop_name, shop_rating, followers_count) and `related_videos` (affiliate TikToks promoting the product). Related videos are only available in the US region.",
|
|
371
371
|
path: "/v1/tiktok/product",
|
|
372
372
|
params: [
|
|
373
373
|
{
|
|
@@ -378,14 +378,6 @@ export const tiktokShopApis = {
|
|
|
378
378
|
placeholder:
|
|
379
379
|
"https://www.tiktok.com/shop/pdp/goli-ashwagandha-gummies-with-vitamin-d-ksm-66-vegan-non-gmo/1729587769570529799",
|
|
380
380
|
},
|
|
381
|
-
{
|
|
382
|
-
name: "get_related_videos",
|
|
383
|
-
required: false,
|
|
384
|
-
type: "string",
|
|
385
|
-
description:
|
|
386
|
-
"Whether to get related videos for the product. These are affiliate videos promoting the product.",
|
|
387
|
-
placeholder: "false",
|
|
388
|
-
},
|
|
389
381
|
{
|
|
390
382
|
name: "region",
|
|
391
383
|
required: false,
|
|
@@ -767,6 +759,13 @@ export const tiktokShopApis = {
|
|
|
767
759
|
required: false,
|
|
768
760
|
placeholder: "1731578642912612516",
|
|
769
761
|
},
|
|
762
|
+
{
|
|
763
|
+
name: "region",
|
|
764
|
+
description: "The region of the product. This is *very* important.",
|
|
765
|
+
type: "string",
|
|
766
|
+
required: false,
|
|
767
|
+
placeholder: "US",
|
|
768
|
+
},
|
|
770
769
|
{
|
|
771
770
|
name: "page",
|
|
772
771
|
description: "The page number of the reviews",
|
|
@@ -906,148 +905,148 @@ export const tiktokShopApis = {
|
|
|
906
905
|
}
|
|
907
906
|
}
|
|
908
907
|
},
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
908
|
+
{
|
|
909
|
+
name: "User Showcase",
|
|
910
|
+
method: "GET",
|
|
911
|
+
description: "Gets public user's showcase products",
|
|
912
|
+
fullDescription: "Fetches products featured in a TikTok user's public showcase — the products a creator promotes on their profile. Returns an array of product objects each with title, price, images, and shop details. Use POST request if pagination is cutting off too early. Just send the query params in the body.",
|
|
913
|
+
path: "/v1/tiktok/user/showcase",
|
|
914
|
+
params: [
|
|
915
|
+
{
|
|
916
|
+
name: "handle",
|
|
917
|
+
type: "string",
|
|
918
|
+
description: "The handle of the user",
|
|
919
|
+
required: true,
|
|
920
|
+
placeholder: "mrtiktokreviews",
|
|
921
|
+
},
|
|
922
|
+
{
|
|
923
|
+
name: "region",
|
|
924
|
+
type: "string",
|
|
925
|
+
description: "Region to put the proxy in",
|
|
926
|
+
required: false,
|
|
927
|
+
placeholder: "US",
|
|
928
|
+
},
|
|
929
|
+
{
|
|
930
|
+
name: "cursor",
|
|
931
|
+
type: "string",
|
|
932
|
+
description: "The cursor to the next page of products",
|
|
933
|
+
required: false,
|
|
934
|
+
placeholder: "21",
|
|
935
|
+
}
|
|
936
|
+
],
|
|
937
|
+
sampleResponse: {
|
|
938
|
+
"success": true,
|
|
939
|
+
"credits_remaining": 49999721933,
|
|
940
|
+
"products": [
|
|
941
|
+
{
|
|
942
|
+
"product_id": "1732210666230419545",
|
|
943
|
+
"title": "Be Bodywise Hair Growth Roll-On Serum | New Year New You Edition | 3% Rosemary, 3% Redensyl, 2% AnaGain | Precision Scalp Applicator | Paraben/Sulphate-Free | Non-Oily | DHT-Care Botanicals | 50ml",
|
|
944
|
+
"image": {
|
|
945
|
+
"height": 500,
|
|
946
|
+
"width": 500,
|
|
947
|
+
"uri": "tos-useast5-i-omjb5zjo8w-tx/b4088e56fc3140799ab2e52674339db4",
|
|
948
|
+
"url_list": [
|
|
949
|
+
"https://p16-oec-general-useast5.ttcdn-us.com/tos-useast5-i-omjb5zjo8w-tx/b4088e56fc3140799ab2e52674339db4~tplv-fhlh96nyum-crop-webp:500:500.webp?dr=12190&t=555f072d&ps=933b5bde&shp=4ee6669e&shcp=9b759fb9&idc=useast5&from=1323722398",
|
|
950
|
+
"https://p19-oec-general-useast5.ttcdn-us.com/tos-useast5-i-omjb5zjo8w-tx/b4088e56fc3140799ab2e52674339db4~tplv-fhlh96nyum-crop-webp:500:500.webp?dr=12190&t=555f072d&ps=933b5bde&shp=4ee6669e&shcp=9b759fb9&idc=useast5&from=1323722398"
|
|
951
|
+
]
|
|
952
|
+
},
|
|
953
|
+
"product_price_info": {
|
|
954
|
+
"sku_id": "1732210669134516313",
|
|
955
|
+
"symbol_position": 1,
|
|
956
|
+
"show_currency_space": false,
|
|
957
|
+
"currency_show_mode": 1,
|
|
958
|
+
"currency_name": "USD",
|
|
959
|
+
"currency_symbol": "$",
|
|
960
|
+
"sale_price_decimal": "46.58",
|
|
961
|
+
"origin_price_decimal": "53",
|
|
962
|
+
"sale_price_format": "46.58",
|
|
963
|
+
"origin_price_format": "53.00",
|
|
964
|
+
"discount_format": "12%",
|
|
965
|
+
"discount_decimal": "0.12",
|
|
966
|
+
"single_product_price_format": "46.58",
|
|
967
|
+
"single_product_price_decimal": "46.58",
|
|
968
|
+
"sale_price_integer_part_format": "46",
|
|
969
|
+
"sale_price_decimal_part_format": "58",
|
|
970
|
+
"decimal_point_symbol": ".",
|
|
971
|
+
"promotion_deduction_details": {
|
|
972
|
+
"seller_subtotal_deduction": "6.42",
|
|
973
|
+
"seller_subtotal_deduction_decimal": "6.42"
|
|
974
|
+
}
|
|
975
|
+
},
|
|
976
|
+
"rate_info": {
|
|
977
|
+
"score": 4.5,
|
|
978
|
+
"review_count": 326
|
|
979
|
+
},
|
|
980
|
+
"sold_info": {
|
|
981
|
+
"sold_count": 5457
|
|
982
|
+
},
|
|
983
|
+
"seller_info": {
|
|
984
|
+
"seller_id": "7495572938346760281"
|
|
985
|
+
},
|
|
986
|
+
"seo_url": {
|
|
987
|
+
"updated_at": null,
|
|
988
|
+
"canonical_url": "https://www.tiktok.com/shop/pdp/1732210666230419545",
|
|
989
|
+
"slug": "be-bodywise-hair-growth-roll-on-serum-new-year-new-you-edition-3-rosemary-3-redensyl-2-anagain-precision-scalp-applicator-paraben-sulphate-free-non-oily-dht-care-botanicals-50ml",
|
|
990
|
+
"type": 2,
|
|
991
|
+
"version": 2
|
|
992
|
+
}
|
|
993
|
+
},
|
|
994
|
+
{
|
|
995
|
+
"product_id": "1729499864890250680",
|
|
996
|
+
"title": "Nello Superbalance Hormonal Support Drink Mix, 20 Travel Packets, SRI-81 Shatavari, Myo-Inositol, Rhodiola Rosea, Vitamin C, Magnesium, Theobromine, Vitamin B6/C",
|
|
997
|
+
"image": {
|
|
998
|
+
"height": 500,
|
|
999
|
+
"width": 500,
|
|
1000
|
+
"uri": "tos-useast8-i-rt0ujvrtvp-tx2/5f8ea7d0fc53439599d7dbc7052f9bcf",
|
|
1001
|
+
"url_list": [
|
|
1002
|
+
"https://p16-oec-general-useast8.ttcdn-us.com/tos-useast8-i-rt0ujvrtvp-tx2/5f8ea7d0fc53439599d7dbc7052f9bcf~tplv-fhlh96nyum-crop-webp:500:500.webp?dr=12190&t=555f072d&ps=933b5bde&shp=4ee6669e&shcp=9b759fb9&idc=useast5&from=1323722398",
|
|
1003
|
+
"https://p19-oec-general-useast8.ttcdn-us.com/tos-useast8-i-rt0ujvrtvp-tx2/5f8ea7d0fc53439599d7dbc7052f9bcf~tplv-fhlh96nyum-crop-webp:500:500.webp?dr=12190&t=555f072d&ps=933b5bde&shp=4ee6669e&shcp=9b759fb9&idc=useast5&from=1323722398"
|
|
1004
|
+
]
|
|
1005
|
+
},
|
|
1006
|
+
"product_price_info": {
|
|
1007
|
+
"sku_id": "1729499867243648440",
|
|
1008
|
+
"symbol_position": 1,
|
|
1009
|
+
"show_currency_space": false,
|
|
1010
|
+
"currency_show_mode": 1,
|
|
1011
|
+
"currency_name": "USD",
|
|
1012
|
+
"currency_symbol": "$",
|
|
1013
|
+
"sale_price_decimal": "31.99",
|
|
1014
|
+
"origin_price_decimal": "59.99",
|
|
1015
|
+
"sale_price_format": "31.99",
|
|
1016
|
+
"origin_price_format": "59.99",
|
|
1017
|
+
"discount_format": "47%",
|
|
1018
|
+
"discount_decimal": "0.47",
|
|
1019
|
+
"single_product_price_format": "31.99",
|
|
1020
|
+
"single_product_price_decimal": "31.99",
|
|
1021
|
+
"sale_price_integer_part_format": "31",
|
|
1022
|
+
"sale_price_decimal_part_format": "99",
|
|
1023
|
+
"decimal_point_symbol": ".",
|
|
1024
|
+
"promotion_deduction_details": {
|
|
1025
|
+
"seller_subtotal_deduction": "28.00",
|
|
1026
|
+
"seller_subtotal_deduction_decimal": "28.00"
|
|
1027
|
+
}
|
|
1028
|
+
},
|
|
1029
|
+
"rate_info": {
|
|
1030
|
+
"score": 4.6,
|
|
1031
|
+
"review_count": 54
|
|
1032
|
+
},
|
|
1033
|
+
"sold_info": {
|
|
1034
|
+
"sold_count": 6808
|
|
1035
|
+
},
|
|
1036
|
+
"seller_info": {
|
|
1037
|
+
"seller_id": "7495315412032719288"
|
|
1038
|
+
},
|
|
1039
|
+
"seo_url": {
|
|
1040
|
+
"updated_at": null,
|
|
1041
|
+
"canonical_url": "https://www.tiktok.com/shop/pdp/1729499864890250680",
|
|
1042
|
+
"slug": "nello-superbalance-hormonal-support-drink-mix-20-travel-packets-sri-81-shatavari-myo-inositol-rhodiola-rosea-vitamin-c-magnesium-theobromine-vitamin-b6-c",
|
|
1043
|
+
"type": 2,
|
|
1044
|
+
"version": 2
|
|
1045
|
+
}
|
|
1046
|
+
}
|
|
1047
|
+
],
|
|
1048
|
+
"cursor": "eyJwcm9kdWN0....."
|
|
1049
|
+
}
|
|
1050
|
+
}
|
|
1052
1051
|
],
|
|
1053
1052
|
};
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scrapecreators/cli",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "CLI for the ScrapeCreators API — scrape 27+ social media platforms from the terminal",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
7
|
-
"scrapecreators": "
|
|
7
|
+
"scrapecreators": "bin/scrapecreators.js"
|
|
8
8
|
},
|
|
9
9
|
"scripts": {
|
|
10
10
|
"start": "node bin/scrapecreators.js",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
],
|
|
39
39
|
"repository": {
|
|
40
40
|
"type": "git",
|
|
41
|
-
"url": "https://github.com/ScrapeCreators/scrapecreators-cli"
|
|
41
|
+
"url": "git+https://github.com/ScrapeCreators/scrapecreators-cli.git"
|
|
42
42
|
},
|
|
43
43
|
"homepage": "https://scrapecreators.com/",
|
|
44
44
|
"license": "MIT",
|