src/Users.php
public function getUserInfo(array $ususers, array $usprop = null)
	{
		// Build the request path.
		$path = '?action=query&list=users';

		// Append users to the request.
		$path .= '&ususers=' . $this->buildParameter($ususers);

		if (isset($usprop))
		{
			$path .= '&usprop' . $this->buildParameter($usprop);
		}

		// Send the request.
		$response = $this->client->get($this->fetchUrl($path));

		return $this->validateResponse($response);
	}
public function getUserInfo(array $ususers, array $usprop = null)
	{
		// Build the request path.
		$path = '?action=query&list=users';

		// Append users to the request.
		$path .= '&ususers=' . $this->buildParameter($ususers);

		if (isset($usprop))
		{
			$path .= '&usprop' . $this->buildParameter($usprop);
		}

		// Send the request.
		$response = $this->client->get($this->fetchUrl($path));

		return $this->validateResponse($response);
	}
public function getUserInfo ( array $ ususers , array $ usprop = null ) { // Build the request path. $ path = '?action=query&list=users' ; // Append users to the request. $ path .= '&ususers=' . $ this -> buildParameter ( $ ususers ) ; if ( isset ( $ usprop ) ) { $ path .= '&usprop' . $ this -> buildParameter ( $ usprop ) ; } // Send the request. $ response = $ this -> client -> get ( $ this -> fetchUrl ( $ path ) ) ; return $ this -> validateResponse ( $ response ) ; }
Method to get user information.

@param   array  $ususers  A list of users to obtain the same information for.
@param   array  $usprop   What pieces of information to include.

@return  object

@since   1.0
Method to get user information .