companyenrich 1.0.0 → 1.0.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b29a5f9bca5c9a4988c19c84b4c879d7ff44dcbffdb2c29bfc495e27740a0960
4
- data.tar.gz: 628e62829990c88d4fbf9c725587232db9418a5bd7c0edc345dfcc74d397b27f
3
+ metadata.gz: 104aeadcef2d22fde8ac2d879a3a4c6cf636586890f2711184a8ac2ba604326b
4
+ data.tar.gz: 5f04269b873cba955e6dfa88d9af31ecc4b38050480f7514dbfc46ccefb53165
5
5
  SHA512:
6
- metadata.gz: dc6253692f6c67c9c843a14e376bfc5d25da701545fedb4406e10ac17cbd80da57bcd3ab6edf914e05a1ea8893addfc8d9dbc39c81c7a37e6456b764b003fb6e
7
- data.tar.gz: c133eff3296f9938f5ad1fc5da81ba3c5a11a48add44f3ce240b33289b3468d2e93bb0ef310db3fd79e375bfa66b78e7e98eb28189fcf7a68d282a436fcb5256
6
+ metadata.gz: ec7f5c7493f15bc7ef672af31a29c727dc516a8a4ff149b94254947cd82326f100c9d711ef16347fefbe23d8a1424d6963ca47dc1e8062eaf0725cb65b8d5e3a
7
+ data.tar.gz: bbf5df561c4067c7faad34f3708c8848acec904cd0e22d49dae3b063f3957da132c116ff3badc2ee0265703ad68b54723b6b05c960cb7a35984cef056e5d9854
data/README.md CHANGED
@@ -6,6 +6,10 @@ The official Ruby client for the [CompanyEnrich API](https://companyenrich.com):
6
6
 
7
7
  It requires Ruby 3.1 or newer and has no runtime dependencies.
8
8
 
9
+ ## API version
10
+
11
+ This SDK uses API v2 for every request. The package version is independent of the API version: SDK 1.x calls `/v2` endpoints. Use `https://api.companyenrich.com` as the base URL; the SDK adds `/v2` to each endpoint.
12
+
9
13
  ## Install
10
14
 
11
15
  ```sh
@@ -74,6 +78,8 @@ lookup = client.people.find_email(person["id"], domain: "stripe.com")
74
78
  puts lookup["email"], lookup["certainty"] if lookup["status"] == "found"
75
79
  ```
76
80
 
81
+ People filters also accept `state` and `city` IDs from the geo state and city searches. These filters accept a single ID, an array of IDs, or matching rules such as `{ "in": [1], "notIn": [2] }`. Person locations may include `state` and `city` objects when resolved. Company responses may include `reportedIndustry` and `reportedEmployees` alongside the existing industry and employee fields.
82
+
77
83
  ## Semantic and lookalike search
78
84
 
79
85
  Semantic search finds companies or people from a plain-language description. Lookalike search finds companies similar to ones you already know. A company search can use either mode but not both, and either can be combined with `filter`. `search_all` accepts the same arguments as `search`.
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module CompanyEnrich
4
- VERSION = "1.0.0"
4
+ VERSION = "1.0.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: companyenrich
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - CompanyEnrich