.NET client for the Google People API

前端 未结 2 440
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-01-28 01:23

I do not see a .NET client for the Google People API here.

https://code.google.com/p/google-api-dotnet-client/wiki/APIs

Do you know of any?

I need to get

2条回答
  •  孤独总比滥情好
    2021-01-28 01:25

    The Google .net client Library can be found on NuGet, the plus package is here Google.Apis.Plus.v1 Client Library

    PM> Install-Package Google.Apis.Plus.v1
    

    I'm pretty sure it requires the latest version of Nugget to get it.

    But I think you are going to have a small problem. Not all of the information you are after is exposed in the API. Sex and date of birth for example.

    You can try it here People.Get. Scroll to the bottom: Authorize it then in userId enter "me" and it will show what the API can get of your data.

提交回复
热议问题