peopledatalabs 2.2.0 → 2.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/publish.yaml +2 -2
- data/.github/workflows/test.yaml +2 -2
- data/README.md +4 -0
- data/lib/peopledatalabs/resources/bulk.rb +8 -0
- data/lib/peopledatalabs/version.rb +1 -1
- data/lib/peopledatalabs.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 57e7aa93b318bff1820069ecb0afa5f1498da03b07f3fbaaff08a2dda69d3868
|
4
|
+
data.tar.gz: 82edcd34181601490cc2f03cc3e910b0532ff23c5c6e1de7820c1acc717fffba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d3ba06eee139d3a12d5e2b5ae090b31ec1f328dc2609e7fd1f4d987bbe554ec6a3a5e759188d9191b95e00f92222deb8bde11be71d2ca19efe8ef0cd8c4c1f04
|
7
|
+
data.tar.gz: b3d617734c767c013ea1f524e3864329ce808581d109dfa01843aba90f2002e3eee4c9596411ff78d26febeea9fe80ab8f43aaa2b2833014cf7043732b6454c3
|
data/.github/workflows/test.yaml
CHANGED
data/README.md
CHANGED
@@ -86,6 +86,9 @@ Peopledatalabs::Identify.person(params: { name: 'sean thorne' })
|
|
86
86
|
# By Enrichment
|
87
87
|
Peopledatalabs::Enrichment.company(params: { website: 'peopledatalabs.com' })
|
88
88
|
|
89
|
+
# By Bulk Enrichment
|
90
|
+
Peopledatalabs::Bulk.company(params: {requests: [{params: {profile: ['linkedin.com/company/peopledatalabs']}}, {params: {profile: ['linkedin.com/company/apple']}}]})
|
91
|
+
|
89
92
|
# By Search (SQL)
|
90
93
|
Peopledatalabs::Search.company(searchType: 'sql', query: "SELECT * FROM company WHERE tags='big data' AND industry='financial services' AND location.country='united states'")
|
91
94
|
|
@@ -150,6 +153,7 @@ Peopledatalabs.sandbox = true
|
|
150
153
|
| API Endpoint | peopledatalabs Function |
|
151
154
|
|-|-|
|
152
155
|
| [Company Enrichment API](https://docs.peopledatalabs.com/docs/company-enrichment-api) | `Peopledatalabs::Enrichment.company(...params)` |
|
156
|
+
| [Company Bulk Enrichment API](https://docs.peopledatalabs.com/docs/bulk-company-enrichment-api) | `Peopledatalabs::Bulk.company(...params)` |
|
153
157
|
| [Company Search API](https://docs.peopledatalabs.com/docs/company-search-api) | `Peopledatalabs::Search.company(...params)` |
|
154
158
|
|
155
159
|
**IP Endpoints**
|
@@ -9,5 +9,13 @@ module Peopledatalabs
|
|
9
9
|
}
|
10
10
|
post(path: '/v5/person/bulk', headers: headers, body: params)
|
11
11
|
end
|
12
|
+
|
13
|
+
def self.company(params:)
|
14
|
+
headers = {
|
15
|
+
'Accept-Encoding' => 'gzip',
|
16
|
+
'User-Agent' => 'PDL-RUBY-SDK',
|
17
|
+
}
|
18
|
+
post(path: '/v5/company/enrich/bulk', headers: headers, body: params)
|
19
|
+
end
|
12
20
|
end
|
13
21
|
end
|
data/lib/peopledatalabs.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: peopledatalabs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- People Data Labs
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-01-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -142,7 +142,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
142
142
|
- !ruby/object:Gem::Version
|
143
143
|
version: '0'
|
144
144
|
requirements: []
|
145
|
-
rubygems_version: 3.
|
145
|
+
rubygems_version: 3.5.3
|
146
146
|
signing_key:
|
147
147
|
specification_version: 4
|
148
148
|
summary: Official Ruby client for the People Data Labs API.
|