如何检索有关LinkedIn帐户所有可能的信息? (使用C#API) [英] How to Retrieve all possible information about a LinkedIn Account ? (API using C#)

查看:190
本文介绍了如何检索有关LinkedIn帐户所有可能的信息? (使用C#API)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一个书面方式C#应用程序要利用 LinkedIn的API 的。

我希望能够经过人来看待(名+姓)和检索所有关于这一群人的可能的信息使用相同的名称

我目前使用我自己实现的 REST API 用的People-Search API调用。

这是我的要求,那作品:

<$p$p><$c$c>https://api.linkedin.com/v1/people-search:(people:(id,first-name,last-name,headline,picture-url),num-results)?

这样做(有:<?code>直呼其名=参数和放大器;标记后最后名称=参数)

问题是,我想找回更像信息:名称,行业,当前的公司,目前,学校等参考,的这里可能的参数列表

此符号就是他们所说的场选择器

如何构建我的API调用,所以我可以得到所有关于某人的可能的信息?


解决方案

您已经有了符号下来,所有你需要做的就是添加字段选择器的其余部分,它们筑巢在需要的地方:

<$p$p><$c$c>https://api.linkedin.com/v1/people-search:(people:(id,first-name,last-name,headline,picture-url,industry,positions:(id,title,summary,start-date,end-date,is-current,company:(id,name,type,size,industry,ticker)),educations:(id,school-name,field-of-study,start-date,end-date,degree,activities,notes)),num-results)?first-name=parameter&last-name=parameter

请即每资料栏目文档,你只能得到的一阶连接的教育当前用户。

I am writting an C# app to make use of Linkedin's API.

I want to be able to look after a "Person" (First Name + Last Name) and retrieve all the possible information about this group of people with the same name

I am currently using my own implementation of the REST API sided with the People-Search API calls.

This is my Request,that works:

https://api.linkedin.com/v1/people-search:(people:(id,first-name,last-name,headline,picture-url),num-results)?

Doing this (with: first-name=parameter&last-name=parameter after the ? mark)

The problem is, i want to retrieve more information like : Title,Industry,Current-company,current-school etc. Refere here for the list of possible parameters

This notation is what they call Field Selectors

How do i structure my API Call so i can get all the possible information about someone ?

解决方案

You've already got the notation down, all you need to do is add the rest of the field selectors, nesting them where needed:

https://api.linkedin.com/v1/people-search:(people:(id,first-name,last-name,headline,picture-url,industry,positions:(id,title,summary,start-date,end-date,is-current,company:(id,name,type,size,industry,ticker)),educations:(id,school-name,field-of-study,start-date,end-date,degree,activities,notes)),num-results)?first-name=parameter&last-name=parameter

Keep in mind that per the Profile Field docs, you can only get educations for 1st degree connections of the current user.

这篇关于如何检索有关LinkedIn帐户所有可能的信息? (使用C#API)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆