for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Rinvex\Authy;
class App extends Client
{
/**
* Return application stats.
*
* @param string|null $ip
* @return \Rinvex\Authy\Response
*/
public function stats($ip = null): Response
// Prepare required variables
$url = $this->api.'app/stats';
$params = $this->params + ['query' => ['user_ip' => $ip]];
// Return Authy application stats
return new Response($this->http->get($url, $params));
}
* Get application details.
public function details($ip = null): Response
$url = $this->api.'app/details';