vatsalpadhiyar / google-api-php-client

Automatically exported from code.google.com/p/google-api-php-client
Apache License 2.0
0 stars 0 forks source link

People->get does not support parameters (fields) #49

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. If you try to call yourPlusInstance->people->get(ID) it doesn't support 
parameters.
2. The API though support the parameter 'fields' to indicate whether you want 
special parameters or not.

What is the expected output? What do you see instead?
I should be able to use the API completely but instead, I can just retrieve the 
'whole' profile of a person, but not concrete fields (as objectType, which is 
not returned by default).

What version of the product are you using? On what operating system?
0.4.7. The OS is Linux but the problem is with the code.

Please provide any additional information below.
The problem is found on 
/.../google-api-php-client/src/contrib/apiPlusService.php, on line 202 the 
function is implemented and it DOES NOT support any extra parameter. If I 
change the code there and add mor parameters to $params they will just work as 
expected.

Original issue reported on code.google.com by julioelp...@gmail.com on 15 Dec 2011 at 12:09

GoogleCodeExporter commented 8 years ago
This is now fixed on trunk.

Thank you for reporting this issue.

Original comment by chirags@google.com on 16 Dec 2011 at 10:02

GoogleCodeExporter commented 8 years ago
I've done a checkout and it also seems fixed to me on trunk.

Thanks for fixing it so quick! :)

Original comment by julioelp...@gmail.com on 16 Dec 2011 at 10:07