@getanyapi/sdk 0.166.0 → 0.168.0
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/dist/index.cjs +29 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +181 -28
- package/dist/index.d.ts +181 -28
- package/dist/index.js +29 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2173,6 +2173,19 @@ var EbayNamespace = class {
|
|
|
2173
2173
|
this._core = _core;
|
|
2174
2174
|
}
|
|
2175
2175
|
_core;
|
|
2176
|
+
/**
|
|
2177
|
+
* eBay Accepted Offer Prices
|
|
2178
|
+
*
|
|
2179
|
+
* Retrieve completed eBay sales for any keyword with the price the buyer actually paid, including accepted Best Offer amounts where available, plus the sale date, units sold, shipping, and format. History is available back to December 2023.
|
|
2180
|
+
*
|
|
2181
|
+
* Price: $0.003 per request.
|
|
2182
|
+
*
|
|
2183
|
+
* @example
|
|
2184
|
+
* const res = await client.ebay.acceptedOffers({ query: "Gibson Les Paul Standard 60s", condition: "used", limit: 10 });
|
|
2185
|
+
*/
|
|
2186
|
+
acceptedOffers(input, options) {
|
|
2187
|
+
return this._core.run("ebay.accepted_offers", input, options);
|
|
2188
|
+
}
|
|
2176
2189
|
/**
|
|
2177
2190
|
* eBay Product
|
|
2178
2191
|
*
|
|
@@ -9633,6 +9646,22 @@ var YoutubeNamespace = class {
|
|
|
9633
9646
|
playlist(input, options) {
|
|
9634
9647
|
return this._core.run("youtube.playlist", input, options);
|
|
9635
9648
|
}
|
|
9649
|
+
/**
|
|
9650
|
+
* Iterate every result of YouTube Playlist across pages.
|
|
9651
|
+
*
|
|
9652
|
+
* Yields items directly; call `.pages()` on the return value to walk whole
|
|
9653
|
+
* result pages instead (each carries its own costUsd).
|
|
9654
|
+
*/
|
|
9655
|
+
iterPlaylist(input, options) {
|
|
9656
|
+
return paginate(
|
|
9657
|
+
this._core,
|
|
9658
|
+
"youtube.playlist",
|
|
9659
|
+
input,
|
|
9660
|
+
"videos",
|
|
9661
|
+
false,
|
|
9662
|
+
options
|
|
9663
|
+
);
|
|
9664
|
+
}
|
|
9636
9665
|
/**
|
|
9637
9666
|
* YouTube Search
|
|
9638
9667
|
*
|