profile
This commit is contained in:
parent
7d271a20ab
commit
9147460db3
|
@ -80,6 +80,11 @@ class Client
|
||||||
return $this->get(true, '/torrents/top/'.$period);
|
return $this->get(true, '/torrents/top/'.$period);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function getUserProfile($id)
|
||||||
|
{
|
||||||
|
return $this->get(true, '/users/profile/'.$id);
|
||||||
|
}
|
||||||
|
|
||||||
public function get($needAuthorization, $uri, array $options = array())
|
public function get($needAuthorization, $uri, array $options = array())
|
||||||
{
|
{
|
||||||
return $this->send($needAuthorization, 'get', $uri, $options);
|
return $this->send($needAuthorization, 'get', $uri, $options);
|
||||||
|
|
|
@ -17,7 +17,7 @@ class TypesTreeCommand extends Command
|
||||||
->setName('types:tree')
|
->setName('types:tree')
|
||||||
->setDescription('Show types and terms')
|
->setDescription('Show types and terms')
|
||||||
->addOption('terms', 't', InputOption::VALUE_NONE, 'Show terms')
|
->addOption('terms', 't', InputOption::VALUE_NONE, 'Show terms')
|
||||||
->addOption('filter', 'f', InputOption::VALUE_OPTIONAL, 'Filter types by ID or by name')
|
->addOption('filter', 'f', InputOption::VALUE_REQUIRED, 'Filter types by ID or by name')
|
||||||
->setHelp("<info>%command.name%</info>
|
->setHelp("<info>%command.name%</info>
|
||||||
|
|
||||||
List all types of terms and terms.
|
List all types of terms and terms.
|
||||||
|
|
Loading…
Reference in a new issue