Closed bradbarbin closed 11 years ago
+1
So sorry i updated github but not released the gem Check new released gem
0.0.8
Working on ruby 2.0.0
On Tue, Mar 12, 2013 at 9:00 PM, Leonel Galan notifications@github.comwrote:
+1
— Reply to this email directly or view it on GitHubhttps://github.com/yatishmehta27/linkedin-scraper/issues/5#issuecomment-14781976 .
Yats
Hey man, don't be sorry. You're the best. You've saved us all so much time.
What I ended up doing was just using your code from github and it worked like a charm.
Thanks again!!!
cool . Test and tell me if you find any issues also do send a feature request if you come up with something
Great gem. Thank you.
I'm having difficult calling :skills and I was wondering if I was doing something wrong. From the console, the skills return as Mechanize page links, but when I return a JSON object the skills are nowhere to be found.
Here's the rabl view:
object @profile => :profile attributes :first_name, :last_name, :title, :location, :country, :industry, :current_companies, :past_companies, :websites, :groups, :skills, :education
And here's the app that return JSON:
require 'sinatra' require 'rabl' require 'linkedin-scraper' require 'active_support/core_ext' require 'active_support/inflector' require 'builder'
Rabl.register!
get '/' do "Hello Index" end
get '/profile' do @profile = Linkedin::Profile.get_profile(params[:url]) render :rabl, :profile, format: 'json' end