Class: LinkedIn::Search
- Inherits:
-
APIResource
- Object
- APIResource
- LinkedIn::Search
- Defined in:
- lib/linked_in/search.rb
Overview
Search APIs
Instance Method Summary collapse
-
#search(options = {}, type = 'people') ⇒ Object
Search through People, Companies, and Jobs.
Methods inherited from APIResource
Constructor Details
This class inherits a constructor from LinkedIn::APIResource
Instance Method Details
#search ⇒ Object #search(keyword_string) ⇒ Object #search(keyword_string, type) ⇒ Object #search(opts) ⇒ Object #search(opts, type) ⇒ Object
Search through People, Companies, and Jobs
To search through people you need to be part of LinkedIn's Vetted API Access Program.
You can use the same API to search through Companies and Jobs.
48 49 50 51 52 |
# File 'lib/linked_in/search.rb', line 48 def search(={}, type='people') , type = (, type) path = "/#{type.to_s}-search" get(path, ) end |