.NET client for the Google People API

前端 未结 2 439
爱一瞬间的悲伤
爱一瞬间的悲伤 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.

    0 讨论(0)
  • 2021-01-28 01:28

    All the APIs are available here: https://developers.google.com/api-client-library/dotnet/apis/

    I'm pretty sure that one of the following APIs will make your life easier: https://developers.google.com/api-client-library/dotnet/apis/plus/v1 or https://developers.google.com/api-client-library/dotnet/apis/oauth2/v2

    0 讨论(0)
提交回复
热议问题