Sha256: b07f06f44bed6c677a370182fbd475259c0f79d113af35c9c385d7e6cb2aaa36

Contents?: true

Size: 606 Bytes

Versions: 13

Compression:

Stored size: 606 Bytes

Contents

# AUTHENTICATE FIRST found in examples/authenticate.rb

# client is a LinkedIn::Client

# get the profile for the authenticated user
client.profile

# get a profile for someone found in network via ID
client.profile(:id => 'gNma67_AdI')

# get a profile for someone via their public profile url
client.profile(:url => 'http://www.linkedin.com/in/netherland')

# provides the ability to access authenticated user's company field in the profile
user = client.profile(:fields => %w(positions))
companies = user.positions.all.map{|t| t.company}
# Example: most recent company can be accessed via companies[0]

Version data entries

13 entries across 13 versions & 5 rubygems

Version Path
linkedin-0.4.6 examples/profile.rb
linkedin-0.4.4 examples/profile.rb
linkedin-0.4.3 examples/profile.rb
linkedin-0.4.2 examples/profile.rb
linkedin-oauth2-0.1.1 examples/profile.rb
linkedin-0.4.1 examples/profile.rb
linkedin-0.4.0 examples/profile.rb
crankin-0.3.8 examples/profile.rb
linkedin-0.3.7 examples/profile.rb
crankin-0.3.7 examples/profile.rb
crankin-0.3.6 examples/profile.rb
linkedin-drspin-0.3.6 examples/profile.rb
brienw-linkedin-0.3.7 examples/profile.rb