Google_Calendar_Helpers::api_user_info()
Method api_get_user_info.
Return Return
(string) The api response.
Source Source
File: src/integrations/google-calendar/helpers/google-calendar-helpers.php
public function api_user_info() { $client = $this->get_client(); if ( empty( $client['scope'] ) ) { return; } $body = array( 'action' => 'user_info', ); $response = false; try { $response = $this->api_call( $body, null ); } catch ( \Exception $e ) { automator_log( $e->getMessage() ); } return $response; }
Expand full source code Collapse full source code View on Github