code: private function handle(Response $response)
      {
          $stream = stream_for($response->getBody());
  
          $data = json_decode($stream->getContents());
  
          return $data;
      }
docs: Handle the response.
  
  @param \GuzzleHttp\Psr7\Response $response The response
  
  @return array