@getanyapi/sdk 0.120.0 → 0.121.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 +93 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +379 -1
- package/dist/index.d.ts +379 -1
- package/dist/index.js +90 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1498,6 +1498,27 @@ var BookingNamespace = class {
|
|
|
1498
1498
|
}
|
|
1499
1499
|
};
|
|
1500
1500
|
|
|
1501
|
+
// src/generated/platforms/brave.ts
|
|
1502
|
+
var BraveNamespace = class {
|
|
1503
|
+
constructor(_core) {
|
|
1504
|
+
this._core = _core;
|
|
1505
|
+
}
|
|
1506
|
+
_core;
|
|
1507
|
+
/**
|
|
1508
|
+
* Brave Search
|
|
1509
|
+
*
|
|
1510
|
+
* Run a Brave web search and get the ranked organic results (title, URL, snippet, position, display URL, domain) as clean JSON. Brave answers from its own independent index. Returns up to 20 results per call; pick the country Brave searches from.
|
|
1511
|
+
*
|
|
1512
|
+
* Price: $0.00085 per request.
|
|
1513
|
+
*
|
|
1514
|
+
* @example
|
|
1515
|
+
* const res = await client.brave.search({ query: "best running shoes", country: "US", limit: 20 });
|
|
1516
|
+
*/
|
|
1517
|
+
search(input, options) {
|
|
1518
|
+
return this._core.run("brave.search", input, options);
|
|
1519
|
+
}
|
|
1520
|
+
};
|
|
1521
|
+
|
|
1501
1522
|
// src/generated/platforms/capterra.ts
|
|
1502
1523
|
var CapterraNamespace = class {
|
|
1503
1524
|
constructor(_core) {
|
|
@@ -1951,6 +1972,27 @@ var DouyinNamespace = class {
|
|
|
1951
1972
|
}
|
|
1952
1973
|
};
|
|
1953
1974
|
|
|
1975
|
+
// src/generated/platforms/duckduckgo.ts
|
|
1976
|
+
var DuckduckgoNamespace = class {
|
|
1977
|
+
constructor(_core) {
|
|
1978
|
+
this._core = _core;
|
|
1979
|
+
}
|
|
1980
|
+
_core;
|
|
1981
|
+
/**
|
|
1982
|
+
* DuckDuckGo Search
|
|
1983
|
+
*
|
|
1984
|
+
* Run a DuckDuckGo web search and get the ranked organic results (title, URL, snippet, position, display URL, domain) as clean JSON, ads left out. Returns up to 10 results per call; pick the country DuckDuckGo searches from.
|
|
1985
|
+
*
|
|
1986
|
+
* Price: $0.00085 per request.
|
|
1987
|
+
*
|
|
1988
|
+
* @example
|
|
1989
|
+
* const res = await client.duckduckgo.search({ query: "best running shoes", country: "US", limit: 10 });
|
|
1990
|
+
*/
|
|
1991
|
+
search(input, options) {
|
|
1992
|
+
return this._core.run("duckduckgo.search", input, options);
|
|
1993
|
+
}
|
|
1994
|
+
};
|
|
1995
|
+
|
|
1954
1996
|
// src/generated/platforms/ebay.ts
|
|
1955
1997
|
var EbayNamespace = class {
|
|
1956
1998
|
constructor(_core) {
|
|
@@ -4419,6 +4461,27 @@ var JobSearchNamespace = class {
|
|
|
4419
4461
|
}
|
|
4420
4462
|
};
|
|
4421
4463
|
|
|
4464
|
+
// src/generated/platforms/levels.ts
|
|
4465
|
+
var LevelsNamespace = class {
|
|
4466
|
+
constructor(_core) {
|
|
4467
|
+
this._core = _core;
|
|
4468
|
+
}
|
|
4469
|
+
_core;
|
|
4470
|
+
/**
|
|
4471
|
+
* Levels.fyi Jobs
|
|
4472
|
+
*
|
|
4473
|
+
* Search Levels.fyi job listings by title or keyword and get each job with its salary range and estimated total compensation where Levels.fyi has them, plus company, location, posting date and apply link. Returns up to 20 jobs per call, grouped by company; filter by location and sort by relevance, date or pay.
|
|
4474
|
+
*
|
|
4475
|
+
* Price: $0.00085 per request.
|
|
4476
|
+
*
|
|
4477
|
+
* @example
|
|
4478
|
+
* const res = await client.levels.jobs({ query: "software engineer", limit: 10, location: "united-states" });
|
|
4479
|
+
*/
|
|
4480
|
+
jobs(input, options) {
|
|
4481
|
+
return this._core.run("levels.jobs", input, options);
|
|
4482
|
+
}
|
|
4483
|
+
};
|
|
4484
|
+
|
|
4422
4485
|
// src/generated/platforms/linkedin.ts
|
|
4423
4486
|
var LinkedinNamespace = class {
|
|
4424
4487
|
constructor(_core) {
|
|
@@ -8962,6 +9025,14 @@ var AnyAPI2 = class extends AnyAPI {
|
|
|
8962
9025
|
this._core
|
|
8963
9026
|
);
|
|
8964
9027
|
}
|
|
9028
|
+
/**
|
|
9029
|
+
* Typed methods for the brave platform.
|
|
9030
|
+
*/
|
|
9031
|
+
get brave() {
|
|
9032
|
+
return this._namespaces["brave"] ??= new BraveNamespace(
|
|
9033
|
+
this._core
|
|
9034
|
+
);
|
|
9035
|
+
}
|
|
8965
9036
|
/**
|
|
8966
9037
|
* Typed methods for the capterra platform.
|
|
8967
9038
|
*/
|
|
@@ -9036,6 +9107,14 @@ var AnyAPI2 = class extends AnyAPI {
|
|
|
9036
9107
|
this._core
|
|
9037
9108
|
);
|
|
9038
9109
|
}
|
|
9110
|
+
/**
|
|
9111
|
+
* Typed methods for the duckduckgo platform.
|
|
9112
|
+
*/
|
|
9113
|
+
get duckduckgo() {
|
|
9114
|
+
return this._namespaces["duckduckgo"] ??= new DuckduckgoNamespace(
|
|
9115
|
+
this._core
|
|
9116
|
+
);
|
|
9117
|
+
}
|
|
9039
9118
|
/**
|
|
9040
9119
|
* Typed methods for the ebay platform.
|
|
9041
9120
|
*/
|
|
@@ -9186,6 +9265,14 @@ var AnyAPI2 = class extends AnyAPI {
|
|
|
9186
9265
|
this._core
|
|
9187
9266
|
);
|
|
9188
9267
|
}
|
|
9268
|
+
/**
|
|
9269
|
+
* Typed methods for the levels platform.
|
|
9270
|
+
*/
|
|
9271
|
+
get levels() {
|
|
9272
|
+
return this._namespaces["levels"] ??= new LevelsNamespace(
|
|
9273
|
+
this._core
|
|
9274
|
+
);
|
|
9275
|
+
}
|
|
9189
9276
|
/**
|
|
9190
9277
|
* Typed methods for the linkedin platform.
|
|
9191
9278
|
*/
|
|
@@ -9549,6 +9636,7 @@ export {
|
|
|
9549
9636
|
BingNamespace,
|
|
9550
9637
|
BlueskyNamespace,
|
|
9551
9638
|
BookingNamespace,
|
|
9639
|
+
BraveNamespace,
|
|
9552
9640
|
CapterraNamespace,
|
|
9553
9641
|
ChatgptNamespace,
|
|
9554
9642
|
CoinmarketcapNamespace,
|
|
@@ -9560,6 +9648,7 @@ export {
|
|
|
9560
9648
|
ConnectionError,
|
|
9561
9649
|
ContactEnrichmentNamespace,
|
|
9562
9650
|
DouyinNamespace,
|
|
9651
|
+
DuckduckgoNamespace,
|
|
9563
9652
|
EbayNamespace,
|
|
9564
9653
|
EmailFindingNamespace,
|
|
9565
9654
|
EmailNamespace,
|
|
@@ -9580,6 +9669,7 @@ export {
|
|
|
9580
9669
|
InstagramNamespace,
|
|
9581
9670
|
InsufficientBalanceError,
|
|
9582
9671
|
JobSearchNamespace,
|
|
9672
|
+
LevelsNamespace,
|
|
9583
9673
|
LinkedinNamespace,
|
|
9584
9674
|
MapsNamespace,
|
|
9585
9675
|
MobilePhoneNamespace,
|