mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
11 lines
284 B
TypeScript
11 lines
284 B
TypeScript
/* Example taken from https://developers.google.com/+/web/people/ */
|
|
|
|
gapi.client.load('plus','v1', function(){
|
|
var request = gapi.client.plus.people.get({
|
|
'userId': 'me'
|
|
});
|
|
request.execute(function(resp) {
|
|
console.log('Retrieved profile for:' + resp.displayName);
|
|
});
|
|
});
|