proxycurl 0.0.2 → 0.0.5

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: 284b8869b606ea57d7fcecfeb72e60a2ae0d79cd3fe9cea9f157551d03d4f450
4
- data.tar.gz: 1a001a4ec0c8934523289d4df3e81e0d7e1181ebe23fd960ab1dfc61e8775084
3
+ metadata.gz: 5a2df9cf69b41c1cde06417b0ce1349cca01803aad2d1c66f0c40513037e1a00
4
+ data.tar.gz: a4387e31215f3fe3457bdd9eac5b7e9c2bd8badb3378dcb229c4a8b913aa36ea
5
5
  SHA512:
6
- metadata.gz: 62d91ebe42d1cc1d0a1db5e286b5b230ab4a9d2f9e62ce4165799140d478d52015adf280d59727b084192ffebdbbe64af15c20643f35d64c8060ab2b9d7f0890
7
- data.tar.gz: 526f240af014780cc351fb26bb4ef7215d3d50a1f3b9de916490bf3c24c36095fefa922b9f35fc7628ba67893102d84ea81d58a8c471f945fe25fb3a8342185c
6
+ metadata.gz: cd5ec47a167e4726a6f5ff268080420c1f10d50a97e0ba15a0b9ccae0685252f89b86834df8bbe65cd2428c82d8a6d5b8ab4ab5dbdbc2587591427d42f96638f
7
+ data.tar.gz: 15e59c75cf265a03b1d920ef9afdf156e9430bce5b92ce1c89ca00118e8da5e320ab628cf5fc26b75e0b275b12e6c70435f79228652c6514e0f88362965db65d
data/.gitignore CHANGED
@@ -47,3 +47,5 @@ pkg
47
47
 
48
48
  # For rubinius:
49
49
  #*.rbc
50
+
51
+ proxycurl*gem
@@ -4,7 +4,7 @@ module Proxycurl
4
4
  class Client
5
5
  include HTTParty
6
6
 
7
- base_uri "https://nubela.co/proxycurl/api/"
7
+ base_uri "https://nubela.co/proxycurl/api"
8
8
  format :json
9
9
 
10
10
  def initialize(api_key)
@@ -24,8 +24,13 @@ module Proxycurl
24
24
  response.parsed_response
25
25
  end
26
26
 
27
+ def linkedin_company_lookup(params)
28
+ response = self.class.get("/linkedin/company/resolve", { query: params })
29
+ response.parsed_response
30
+ end
31
+
27
32
  def linkedin_person_profile(url)
28
- response = self.class.get("/linkedin", { query: {
33
+ response = self.class.get("/v2/linkedin", { query: {
29
34
  skills: :include,
30
35
  inferred_salary: :include,
31
36
  personal_email: :include,
@@ -38,5 +43,10 @@ module Proxycurl
38
43
  } })
39
44
  response.parsed_response
40
45
  end
46
+
47
+ def linkedin_company_employees(params)
48
+ response = self.class.get("/linkedin/company/employees", { query: params })
49
+ response.parsed_response
50
+ end
41
51
  end
42
52
  end
@@ -1,3 +1,3 @@
1
1
  module Proxycurl
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.5"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: proxycurl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - jsegura
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-06-18 00:00:00.000000000 Z
11
+ date: 2022-07-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty