@scrapecreators/cli 1.0.13 → 1.0.14

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 +134 -0
  2. package/package.json +1 -1
@@ -28873,6 +28873,140 @@ export const apis = [
28873
28873
  ]
28874
28874
  },
28875
28875
  },
28876
+ {
28877
+ name: "Search",
28878
+ method: "GET",
28879
+ description: "Search Spotify",
28880
+ fullDescription:
28881
+ "Search Spotify for tracks, artists, albums, episodes, podcasts, and audiobooks. Use type=podcasts when you need podcast ids for the podcast endpoints.",
28882
+ path: "/v1/spotify/search",
28883
+ params: [
28884
+ {
28885
+ name: "query",
28886
+ type: "string",
28887
+ required: true,
28888
+ description: "Search query",
28889
+ placeholder: "joe rogan",
28890
+ },
28891
+ {
28892
+ name: "type",
28893
+ type: "string",
28894
+ required: false,
28895
+ description: "Optional result type. Use one of: all, tracks, artists, albums, episodes, podcasts, audiobooks.",
28896
+ placeholder: "podcasts",
28897
+ },
28898
+ {
28899
+ name: "offset",
28900
+ type: "number",
28901
+ required: false,
28902
+ description: "Result offset for pagination",
28903
+ placeholder: "0",
28904
+ },
28905
+ {
28906
+ name: "limit",
28907
+ type: "number",
28908
+ required: false,
28909
+ description: "Number of results to return",
28910
+ placeholder: "10",
28911
+ },
28912
+ ],
28913
+ sampleResponse: {
28914
+ "success": true,
28915
+ "credits_remaining": 49997935401,
28916
+ "query": "joe rogan",
28917
+ "podcasts": [
28918
+ {
28919
+ "id": "4rOoJ6Egrf8K2IrywzwOMk",
28920
+ "uri": "spotify:show:4rOoJ6Egrf8K2IrywzwOMk",
28921
+ "name": "The Joe Rogan Experience",
28922
+ "description": "The official podcast of comedian Joe Rogan."
28923
+ }
28924
+ ]
28925
+ },
28926
+ },
28927
+ {
28928
+ name: "Podcast",
28929
+ method: "GET",
28930
+ description: "Get Spotify podcast",
28931
+ fullDescription:
28932
+ "Retrieves detailed information about a Spotify podcast by its id or URL. Spotify calls podcasts shows internally, so Spotify podcast URLs use /show/.",
28933
+ path: "/v1/spotify/podcast",
28934
+ params: [
28935
+ {
28936
+ name: "id",
28937
+ type: "string",
28938
+ required: false,
28939
+ description: "Spotify podcast id. If you'd prefer to use the URL instead, you can use the url parameter instead.",
28940
+ placeholder: "4rOoJ6Egrf8K2IrywzwOMk",
28941
+ },
28942
+ {
28943
+ name: "url",
28944
+ type: "string",
28945
+ required: false,
28946
+ description: "Spotify podcast URL. If you'd prefer to use the id instead, you can use the id parameter instead.",
28947
+ placeholder: "https://open.spotify.com/show/4rOoJ6Egrf8K2IrywzwOMk",
28948
+ },
28949
+ ],
28950
+ sampleResponse: {
28951
+ "success": true,
28952
+ "credits_remaining": 49997935400,
28953
+ "id": "4rOoJ6Egrf8K2IrywzwOMk",
28954
+ "uri": "spotify:show:4rOoJ6Egrf8K2IrywzwOMk",
28955
+ "name": "The Joe Rogan Experience",
28956
+ "publisher": {
28957
+ "name": "Joe Rogan"
28958
+ },
28959
+ "type": "PODCAST"
28960
+ },
28961
+ },
28962
+ {
28963
+ name: "Podcast Episodes",
28964
+ method: "GET",
28965
+ description: "Get Spotify podcast episodes",
28966
+ fullDescription:
28967
+ "Returns episodes for a Spotify podcast. Pass the cursor returned by a response to get the next page.",
28968
+ path: "/v1/spotify/podcast/episodes",
28969
+ params: [
28970
+ {
28971
+ name: "id",
28972
+ type: "string",
28973
+ required: false,
28974
+ description: "Spotify podcast id. If you'd prefer to use the URL instead, you can use the url parameter instead.",
28975
+ placeholder: "4rOoJ6Egrf8K2IrywzwOMk",
28976
+ },
28977
+ {
28978
+ name: "url",
28979
+ type: "string",
28980
+ required: false,
28981
+ description: "Spotify podcast URL. If you'd prefer to use the id instead, you can use the id parameter instead.",
28982
+ placeholder: "https://open.spotify.com/show/4rOoJ6Egrf8K2IrywzwOMk",
28983
+ },
28984
+ {
28985
+ name: "cursor",
28986
+ type: "number",
28987
+ required: false,
28988
+ description: "Cursor returned by the previous response. Omit for the first page.",
28989
+ placeholder: "50",
28990
+ },
28991
+ ],
28992
+ sampleResponse: {
28993
+ "success": true,
28994
+ "credits_remaining": 49997935399,
28995
+ "data": {
28996
+ "id": "4rOoJ6Egrf8K2IrywzwOMk",
28997
+ "uri": "spotify:show:4rOoJ6Egrf8K2IrywzwOMk",
28998
+ "episodes": [
28999
+ {
29000
+ "id": "46MudXmYxlZldT0NIXjlb6",
29001
+ "uri": "spotify:episode:46MudXmYxlZldT0NIXjlb6",
29002
+ "name": "#2506 - Michelle Thaller"
29003
+ }
29004
+ ],
29005
+ "cursor": 50,
29006
+ "totalCount": 2698
29007
+ }
29008
+ },
29009
+ },
28876
29010
  ],
28877
29011
  },
28878
29012
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scrapecreators/cli",
3
- "version": "1.0.13",
3
+ "version": "1.0.14",
4
4
  "description": "CLI for the ScrapeCreators API — scrape 27+ social media platforms from the terminal",
5
5
  "type": "module",
6
6
  "bin": {