用于公司目录的 LinkedIn API
我正在尝试使用 LinkedIn API 搜索公司,而不是用户。我特别不想要用户——只想要公司。
我查看了 LinkedIn API 文档(RTFM 等),但据我所知,它不受支持。论坛上有 2 个帖子几乎直接说明了这一点 - 此处 和 < a href="http://developer.linkedin.com/message/4891#4891" rel="noreferrer">这里
我基本上只是在寻找一个简单的搜索界面,类似于正在发生的事情LinkedIn 主页。我还想以某种方式显示返回的信息。
我是否最好直接手动 GET 访问网站本身?我需要缓存结果吗?我需要手动解析返回的 HTML 吗?
我计划在 Ruby 中实现这一点,但这并不是我真正关心的。
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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
更新:现在有一个官方 API:https://developer -programs.linkedin.com/documents/company-search
官方API好像没有这个功能。不过,他们确实有一个 URL,您可以在其中传递对公司的搜索,它将返回一个 JSON 响应,其中包含公司名称、徽标 URL、员工人数以及公司简介的链接。
例如,搜索“citr”将
返回以下内容
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
事实上,LinkedIn API 现在确实有公司搜索功能,自去年 5 月起就可用:
https://developer.linkedin.com/documents/company-search
LinkedIn 拥有多家公司API,这只是其中之一。请随意阅读文档并查看可用的内容。
Actually, the LinkedIn API does now have a company search feature, available since last May:
https://developer.linkedin.com/documents/company-search
LinkedIn has several Company APIs, this is just one of them. Please feel free to read through the documentation and see what's available.
这似乎是 Linkedin API 中请求的功能( https://developer.linkedin.com/thread/2970< /一>)
This seems to be a requested feature in Linkedin's API ( https://developer.linkedin.com/thread/2970 )