I’m trying to use the LinkedIn API to search for companies, not users. I specifically don’t want users – only companies.
I had a look at the LinkedIn API Documentation (RTFM and all that), but as far as I can tell it’s not supported. There are 2 posts on the forum which pretty much says this outright – here and here
I’m basically just looking for a simply search interface, similar to what is going on on the LinkedIn homepage. I also want to display the info coming back in some way.
Am I better off simply doing a manual GET to the website itself? Would I need to cache the results? Would I need to manually parse the HTML coming back?
I’m planning on implementing this in Ruby, but that’s not really what I’m concerned about.
Update: There is now an official API: https://developer-programs.linkedin.com/documents/company-search
The official API does not seem to have this feature. However they do have a URL where you can pass in a search for companies and it will return a JSON response with the company name, logo URL, number of employees, and a link to the company profile.
For instance a search of “citr” would be
Which returns