src/Devices.php
public function add(array $data)
    {
        $data = $this->resolverFactory->createNewDeviceResolver()->resolve($data);

        return $this->api->request('POST', '/players', [], json_encode($data));
    }
public function add(array $data)
    {
        $data = $this->resolverFactory->createNewDeviceResolver()->resolve($data);

        return $this->api->request('POST', '/players', [], json_encode($data));
    }
public function add ( array $ data ) { $ data = $ this -> resolverFactory -> createNewDeviceResolver ( ) -> resolve ( $ data ) ; return $ this -> api -> request ( 'POST' , '/players' , [ ] , json_encode ( $ data ) ) ; }
Register a device for your application.

@param array $data Device data

@return array
Register a device for your application .