@builtwith/sdk 1.4.3 → 1.4.4

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/README.md CHANGED
@@ -48,6 +48,7 @@ if (result.ok) {
48
48
  | `domain_lookup_live({ domain })` | Root domain | Live technology lookup |
49
49
  | `domain_lookup({ lookup })` | Root domain | Full domain API data |
50
50
  | `change({ lookup, since? })` | Root domain or domain array | Technology additions/removals since a date |
51
+ | `lists({ tech, otherTechs?, filters? })` | Technology name | Sites using a technology; supports numeric filters such as `REVENUE`, `SPEND`, and `EMPLOYEES` |
51
52
  | `relationships({ lookup })` | Root domain | Related websites |
52
53
  | `free_summary({ lookup })` | Root domain | Free category/group counts |
53
54
  | `company_to_url({ company })` | Company name | Domains from a company name |
@@ -119,6 +120,7 @@ All methods accept a `CancellationToken` as an optional last parameter.
119
120
  |---|---|---|
120
121
  | `domain_lookup_live(domain)` | `string` | Live technology lookup |
121
122
  | `domain_lookup(lookup)` | `string` | Full domain API data |
123
+ | `lists(tech, otherTechs?, offset?, country?, since?, filters?)` | `string` | Sites using a technology; supports numeric filters such as `REVENUE`, `SPEND`, and `EMPLOYEES` |
122
124
  | `relationships(lookup)` | `string` | Related websites |
123
125
  | `free_summary(lookup)` | `string` | Free category/group counts |
124
126
  | `company_to_url(company)` | `string` | Domains from a company name |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@builtwith/sdk",
3
- "version": "1.4.3",
3
+ "version": "1.4.4",
4
4
  "description": "BuiltWith AI-first SDK for Node.js",
5
5
  "main": "src/index.js",
6
6
  "exports": {
package/src/index.js CHANGED
@@ -262,6 +262,16 @@ class BuiltWithClient {
262
262
  });
263
263
  }
264
264
 
265
+ async lists(params) {
266
+ const { tech, filters = {}, ...rest } = params || {};
267
+ _validate_string('tech', tech);
268
+ return this._request('lists-api', {
269
+ tech,
270
+ ...rest,
271
+ ...(filters && Object.keys(filters).length ? { filters } : {}),
272
+ });
273
+ }
274
+
265
275
  async relationships(params) {
266
276
  const { lookup } = params || {};
267
277
  _validate_domain(lookup);