scavio 0.24.0 → 0.24.1
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 +14 -17
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +29 -34
- package/dist/index.d.ts +29 -34
- package/dist/index.js +14 -17
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -232,7 +232,7 @@ function parseRetryAfter(header) {
|
|
|
232
232
|
var BASE_URL = "https://api.scavio.dev";
|
|
233
233
|
var DEFAULT_TIMEOUT = 3e4;
|
|
234
234
|
var DEFAULT_MAX_RETRIES = 2;
|
|
235
|
-
var SDK_VERSION = true ? "0.24.
|
|
235
|
+
var SDK_VERSION = true ? "0.24.1" : "0.0.0";
|
|
236
236
|
var USER_AGENT = `scavio-js/${SDK_VERSION}`;
|
|
237
237
|
function isServerRuntime() {
|
|
238
238
|
const g = globalThis;
|
|
@@ -1192,14 +1192,14 @@ var LinkedInNamespace = class {
|
|
|
1192
1192
|
return this.client._post("/api/v1/linkedin/post/comments", options);
|
|
1193
1193
|
}
|
|
1194
1194
|
/**
|
|
1195
|
-
* @deprecated Retired
|
|
1195
|
+
* @deprecated Retired. Always returns HTTP 410 and is
|
|
1196
1196
|
* never billed.
|
|
1197
1197
|
*/
|
|
1198
1198
|
async personContact(options) {
|
|
1199
1199
|
return this.client._post("/api/v1/linkedin/person/contact", options);
|
|
1200
1200
|
}
|
|
1201
1201
|
/**
|
|
1202
|
-
* @deprecated Retired
|
|
1202
|
+
* @deprecated Retired. Always returns HTTP 410 and is
|
|
1203
1203
|
* never billed. `company()` returns `featured_employees`, a small sample of
|
|
1204
1204
|
* staff profiles.
|
|
1205
1205
|
*/
|
|
@@ -1207,21 +1207,21 @@ var LinkedInNamespace = class {
|
|
|
1207
1207
|
return this.client._post("/api/v1/linkedin/company/people", options);
|
|
1208
1208
|
}
|
|
1209
1209
|
/**
|
|
1210
|
-
* @deprecated Retired
|
|
1210
|
+
* @deprecated Retired. Always returns HTTP 410 and is
|
|
1211
1211
|
* never billed. Use `searchJobs()` with the company name as the search term.
|
|
1212
1212
|
*/
|
|
1213
1213
|
async companyJobs(options) {
|
|
1214
1214
|
return this.client._post("/api/v1/linkedin/company/jobs", options);
|
|
1215
1215
|
}
|
|
1216
1216
|
/**
|
|
1217
|
-
* @deprecated Retired
|
|
1217
|
+
* @deprecated Retired. Always returns HTTP 410 and is
|
|
1218
1218
|
* never billed.
|
|
1219
1219
|
*/
|
|
1220
1220
|
async searchPeople(options) {
|
|
1221
1221
|
return this.client._post("/api/v1/linkedin/search/people", options);
|
|
1222
1222
|
}
|
|
1223
1223
|
/**
|
|
1224
|
-
* @deprecated Retired
|
|
1224
|
+
* @deprecated Retired. Always returns HTTP 410 and is
|
|
1225
1225
|
* never billed.
|
|
1226
1226
|
*/
|
|
1227
1227
|
async searchPosts(options) {
|
|
@@ -1481,7 +1481,7 @@ var TargetNamespace = class {
|
|
|
1481
1481
|
* Paged with `page` + `count` (1-28, default 24). `seller_id` and
|
|
1482
1482
|
* `seller_name` are null on first-party rows, which means "sold by Target".
|
|
1483
1483
|
*
|
|
1484
|
-
* Costs 1 credit. Typically ~9s
|
|
1484
|
+
* Costs 1 credit. Typically ~9s.
|
|
1485
1485
|
*/
|
|
1486
1486
|
async search(options) {
|
|
1487
1487
|
return this.client._post("/api/v1/target/search", options);
|
|
@@ -1647,9 +1647,8 @@ var RedfinNamespace = class {
|
|
|
1647
1647
|
* houses, schools, climate risk, walkability and location scores, sun
|
|
1648
1648
|
* exposure, monthly weather, permits, zoning, comparable sales and photos.
|
|
1649
1649
|
*
|
|
1650
|
-
*
|
|
1651
|
-
*
|
|
1652
|
-
* search().
|
|
1650
|
+
* Returns the whole property page in one call, which is why it is the same
|
|
1651
|
+
* price as search().
|
|
1653
1652
|
*
|
|
1654
1653
|
* Costs 1 credit. Single response, no pagination.
|
|
1655
1654
|
*/
|
|
@@ -1879,7 +1878,7 @@ var YelpNamespace = class {
|
|
|
1879
1878
|
* count.
|
|
1880
1879
|
*
|
|
1881
1880
|
* `term` + `location` or `url` is required, and `location` is effectively
|
|
1882
|
-
* mandatory - Yelp
|
|
1881
|
+
* mandatory - without it Yelp picks a location itself.
|
|
1883
1882
|
* Paged with `page`; the page size is fixed at 10.
|
|
1884
1883
|
*
|
|
1885
1884
|
* Costs 2 credits.
|
|
@@ -1951,8 +1950,7 @@ var IndeedNamespace = class {
|
|
|
1951
1950
|
* employment types, benefits, geocoded address, employer rating, applicant
|
|
1952
1951
|
* count and the original ATS link.
|
|
1953
1952
|
*
|
|
1954
|
-
* Single response, no pagination. An unknown job key is a real 404
|
|
1955
|
-
* scrape.do BILLS - take `job_id` from a search row.
|
|
1953
|
+
* Single response, no pagination. An unknown job key is a real 404 and IS BILLED - take `job_id` from a search row.
|
|
1956
1954
|
*
|
|
1957
1955
|
* Costs 2 credits.
|
|
1958
1956
|
*/
|
|
@@ -1964,8 +1962,7 @@ var IndeedNamespace = class {
|
|
|
1964
1962
|
* approval, overall and per-category ratings, reported salaries, open roles
|
|
1965
1963
|
* and locations.
|
|
1966
1964
|
*
|
|
1967
|
-
* Single response, no pagination. An unknown company slug is a real 404
|
|
1968
|
-
* that scrape.do BILLS.
|
|
1965
|
+
* Single response, no pagination. An unknown company slug is a real 404 and IS BILLED.
|
|
1969
1966
|
*
|
|
1970
1967
|
* Costs 2 credits.
|
|
1971
1968
|
*/
|
|
@@ -2013,7 +2010,7 @@ var GlassdoorNamespace = class {
|
|
|
2013
2010
|
* server-rendered reviews, AND reviews_url / salaries_url.
|
|
2014
2011
|
*
|
|
2015
2012
|
* THE CHAINING ENDPOINT: pass reviews_url / salaries_url back as `url` on
|
|
2016
|
-
* reviews() and salaries() to halve the
|
|
2013
|
+
* reviews() and salaries() to halve the lookups. `employer_id` or
|
|
2017
2014
|
* `url` is required - `company` is cosmetic and does not satisfy it.
|
|
2018
2015
|
*
|
|
2019
2016
|
* Costs 1 credit. Single response, no pagination. Typically ~3-47s.
|
|
@@ -2337,7 +2334,7 @@ var SECNamespace = class {
|
|
|
2337
2334
|
* filer had more.
|
|
2338
2335
|
*
|
|
2339
2336
|
* Costs 1 credit - including with `include_history`, which is the one call
|
|
2340
|
-
* that can buy more than one
|
|
2337
|
+
* that can buy more than one lookup.
|
|
2341
2338
|
*/
|
|
2342
2339
|
async filings(options) {
|
|
2343
2340
|
return this.client._post("/api/v1/sec/filings", options);
|