アカウント情報にアクセスするには、(v13を介して)GoogleAPIlityクライアントを使用する必要があります。作成したスクリプトを実行していて、CTRL + Cを使用してコマンドラインでスクリプトを強制終了すると、次のコマンドを使用してAPIにアクセスしようとするとエラーが発生します。
$apilityUser->getManagersClientAccounts()
何か案は?
require_once('apility/apility.php');
$apilityUser = new APIlityUser(
$email,
$password,
$client_email,
$developer_token,
$application_token
);
# get all of the accounts (IT DIES HERE)
if(!$emailAccounts = $apilityUser->getManagersClientAccounts()){
fwrite($STDERR, '** ERROR ** There was an error while trying to connect to the partner!'."\n");
fclose($STDERR);
exit;
}