Skip to content

Commit

Permalink
Merge pull request #13 from llomgui/getApiKeyInfo
Browse files Browse the repository at this point in the history
Add getApiKeyInfo
  • Loading branch information
zhouaini528 authored Nov 5, 2022
2 parents f466bcd + b164369 commit 25928ca
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/Api/Inverse/Privates.php
Original file line number Diff line number Diff line change
Expand Up @@ -306,4 +306,15 @@ public function getExchangeOrderList(array $data=[]){
$this->data=$data;
return $this->exec();
}

/*
*GET /v2/private/account/api-key
* */
public function getApiKeyInfo(array $data=[])
{
$this->type='GET';
$this->path='/v2/private/account/api-key';
$this->data=$data;
return $this->exec();
}
}
11 changes: 11 additions & 0 deletions src/Api/Linear/Privates.php
Original file line number Diff line number Diff line change
Expand Up @@ -314,4 +314,15 @@ public function getExchangeOrderList(array $data=[]){
$this->data=$data;
return $this->exec();
}

/*
*GET /v2/private/account/api-key
* */
public function getApiKeyInfo(array $data=[])
{
$this->type='GET';
$this->path='/v2/private/account/api-key';
$this->data=$data;
return $this->exec();
}
}

0 comments on commit 25928ca

Please sign in to comment.