Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

they could consider this function to validate the status of a contact. #20

Open
luisgagocasas opened this issue Jun 28, 2019 · 0 comments

Comments

@luisgagocasas
Copy link

when executing this function we will obtain the status of the contact when opting its data or editing the contact data.

  • Consider this function or improve that function.

$people->getStatusCode('people/c0000000000000000');

public function getStatusCode($resourceName) { $url = self::PEOPLE_BASE_URL.$resourceName.'?personFields='.implode(',', self::PERSON_FIELDS); $response = $this->googleOAuth2Handler->performRequest('GET', $url); return $response->getStatusCode(); }

  • I hope I have been helpful.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant