hexgnu / linkedin

Ruby wrapper for the LinkedIn API
http://rdoc.info/gems/linkedin
MIT License
759 stars 407 forks source link

List of all companies where authenticated user is the Admin #261

Closed abhinaykumar closed 8 years ago

abhinaykumar commented 8 years ago

I couldn't figure out which helper method to use in order to get list of all companies where the current user is Admin. I can see this Api end point(https://api.linkedin.com/v1/companies?format=json&is-company-admin=true) listed on LinkedIn page (List of all companies) which provides list of all companies including their id in json format but not sure how to query the same using Linkedin Gem. I did checked out the rubydocs (http://www.rubydoc.info/gems/linkedin/LinkedIn/Api/Companies) and I did found everything but not the method which provides list of all companies.

Any help would be much appreciated.

abhinaykumar commented 8 years ago

Sorry that was my mistake, I kept ignoring the options hash part in Company Api section.