All Projects → lambtron → Nightmare Linkedin

lambtron / Nightmare Linkedin

Licence: mit
Nightmare plugin for LinkedIn.

Programming Languages

javascript
184084 projects - #8 most used programming language

nightmare-linkedin

Nightmare plugin for LinkedIn.com. Refer to the examples for more details.

.login(email, password)

Login to a LinkedIn account. Both email and password are passed as strings.

.search(type, query)

Adds the query to the LinkedIn omni search box, submits it, and waits until responses are returned on the page, then filters by type. Both type and query are passed as strings. Accepted type consists of the LinkedIn drop downs: people, jobs, companies, groups, universities, posts, inbox. If type is blank or undefined, defaults to all.

.filter(array)

Filters search results based on an array of strings. Filters include Relationship (1st Connections, 2nd Connections, Group Members, etc), Location (All, United States, San Francisco Bay Area, etc), Current Company (All, Segment, Facebook, etc).

.crawl(pages)

From results page, click through to each profile, then return back to the results page. The pages parameter indicates the number of pages you want to crawl. Intended to be used on user profiles so they can see that your LinkedIn account has viewed them.

.connect(user)

(Work in progress) Sends an invite to connect on LinkedIn.

.viewedMe(cb)

(Work in progress) Retrieves a list of all users who has viewed your profile. The callback signature is cb(users).

License (MIT)

WWWWWW||WWWWWW
 W W W||W W W
      ||
    ( OO )__________
     /  |           \
    /o o|    MIT     \
    \___/||_||__||_|| *
         || ||  || ||
        _||_|| _||_||
       (__|__|(__|__|

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].