MyPage is a personalized page based on your interests.The page is customized to help you to find content that matters you the most.


I'm not curious

Google unleashes one more wonder: Android People API

Published on 22 February 16
561
0
1
The google android has concocted an Android People API, a new innovation from its ever evolving factory of development tools. The new People API allows Android developers to retrieve profile information about an authenticated user’s connections from their contacts. Before they could develop this new API, developers had to undergo multiple calls to the Google+ API for user profiles and the Contacts API for contacts.
Google unleashes one more wonder: Android People API - Image 1
The People API employs refined protocols and improved technologies and is ready to replace the Contacts API which is based on GData protocol.

The People API allows you to go through authenticated users’ Contacts and fetch their profile data.

Let’s make it simple to understand with an illustrated practical example. Ben is an authenticated user and has Michael and Nathan in his private contacts. So when the app initiates people.connections.list to retrieve the list of people, Ben will be presented with a consent screen asking to give permission to list the people. If Ben agrees, the app retrieves a list that contains Michael and Nathan. The app then calls people.get to get private and public data of both Michael and Nathan.

The main structure of API is formed based on HTTP and JSON. Any HTTP client can send request and parse the response.

Developers need to work a little more on Google Developers Console so that they can authorize the app to access the API service.

There is still more to this API than even became possible. Not only can you merge the data from multiple sources and APIs to form a common cohesive data source, the People API also provides additional data that was not available in previous attempts. So Private addresses, phone numbers, emails, birthdays, of a user in consent can be made viewable.

If you’re new to the Google APIs or the Developers Console, you can find data handy here on https://developers.google.com/people/.

Here is the brief direction on how Android People API will practically process the commands and calls:

Once you’re connected and authorized, you can then get the user’s connections like this


 ListConnectionsResponse response = peopleService.people().connections().list("people/me").execute(); List<Person> connections = response.getConnections(); 

Each Person item will have a resource_name associated with it, so additional data for that person will be accessible via a simple call:

Person person = peopleService.people().get("resourceName").execute();

We are only hoping that these new discovery of Google API features and sophisticated access to premium data will encourage you to build rich, crisp and user-friendly web and mobile apps for next generation. Now you can ensure more delightful moments of enhanced online experiences for your customers.

So Google has introduced one more wonder in form of People API that gives you more access of users data than ever. In order to get the most out of it, you need to ask any established Android developers to successfully install and run it. Surprise your app users with this new advanced phenomenon. Go to our website http://www.heliossolutions.in/ and find out more about such latest innovation and how we can help you implement them to your app to enhance its features.





























The google android has concocted an Android People API, a new innovation from its ever evolving factory of development tools. The new People API allows Android developers to retrieve profile information about an authenticated user’s connections from their contacts. Before they could develop this new API, developers had to undergo multiple calls to the Google+ API for user profiles and the Contacts API for contacts.

Google unleashes one more wonder: Android People API - Image 1

The People API employs refined protocols and improved technologies and is ready to replace the Contacts API which is based on GData protocol.

The People API allows you to go through authenticated users’ Contacts and fetch their profile data.

Let’s make it simple to understand with an illustrated practical example. Ben is an authenticated user and has Michael and Nathan in his private contacts. So when the app initiates people.connections.list to retrieve the list of people, Ben will be presented with a consent screen asking to give permission to list the people. If Ben agrees, the app retrieves a list that contains Michael and Nathan. The app then calls people.get to get private and public data of both Michael and Nathan.

The main structure of API is formed based on HTTP and JSON. Any HTTP client can send request and parse the response.

Developers need to work a little more on Google Developers Console so that they can authorize the app to access the API service.

There is still more to this API than even became possible. Not only can you merge the data from multiple sources and APIs to form a common cohesive data source, the People API also provides additional data that was not available in previous attempts. So Private addresses, phone numbers, emails, birthdays, of a user in consent can be made viewable.

If you’re new to the Google APIs or the Developers Console, you can find data handy here on https://developers.google.com/people/.

Here is the brief direction on how Android People API will practically process the commands and calls:

Once you’re connected and authorized, you can then get the user’s connections like this


ListConnectionsResponse response = peopleService.people().connections().list("people/me").execute(); List connections = response.getConnections();


Each Person item will have a resource_name associated with it, so additional data for that person will be accessible via a simple call:

Person person = peopleService.people().get("resourceName").execute();

We are only hoping that these new discovery of Google API features and sophisticated access to premium data will encourage you to build rich, crisp and user-friendly web and mobile apps for next generation. Now you can ensure more delightful moments of enhanced online experiences for your customers.

So Google has introduced one more wonder in form of People API that gives you more access of users data than ever. In order to get the most out of it, you need to ask any established Android developers to successfully install and run it. Surprise your app users with this new advanced phenomenon. Go to our website http://www.heliossolutions.in/ and find out more about such latest innovation and how we can help you implement them to your app to enhance its features.


This blog is listed under Open Source , Development & Implementations , Operating Systems and Mobility Community

Post a Comment

Please notify me the replies via email.

Important:
  • We hope the conversations that take place on MyTechLogy.com will be constructive and thought-provoking.
  • To ensure the quality of the discussion, our moderators may review/edit the comments for clarity and relevance.
  • Comments that are promotional, mean-spirited, or off-topic may be deleted per the moderators' judgment.
You may also be interested in
Awards & Accolades for MyTechLogy
Winner of
REDHERRING
Top 100 Asia
Finalist at SiTF Awards 2014 under the category Best Social & Community Product
Finalist at HR Vendor of the Year 2015 Awards under the category Best Learning Management System
Finalist at HR Vendor of the Year 2015 Awards under the category Best Talent Management Software
Hidden Image Url

Back to Top