public function getById($libraryId): LibraryType
    {
        $response = $this->client->request(
            'GET',
            $this->client->getConfig('base_uri') . '/repos/' . $libraryId . '/'
        );

        $json = json_decode($response->getBody());

        return (new LibraryType)->fromJson($json);
    }
public function getById($libraryId): LibraryType
    {
        $response = $this->client->request(
            'GET',
            $this->client->getConfig('base_uri') . '/repos/' . $libraryId . '/'
        );

        $json = json_decode($response->getBody());

        return (new LibraryType)->fromJson($json);
    }
public function getById ( $ libraryId ) : LibraryType { $ response = $ this -> client -> request ( 'GET' , $ this -> client -> getConfig ( 'base_uri' ) . '/repos/' . $ libraryId . '/' ) ; $ json = json_decode ( $ response -> getBody ( ) ) ; return ( new LibraryType ) -> fromJson ( $ json ) ; }
Get library info

@param string $libraryId Library ID

@return LibraryType
@throws \Exception
@throws \GuzzleHttp\Exception\GuzzleException
Get library info