get.

@param $path
@param array $options
482081
public function get($path, array $options = array())
    {
        $client = $this->createGuzzleClient($this->apiKey);

        $options = $this->applyDefaultClientQuery($client, $options);

        try {
            return json_decode($client->get('/youtube/v3' . $path, $options)->getBody(), true);
        } catch (GuzzleRequestException $e) {
            $message = $e->getMessage();
            throw new RequestException($message);
        }
    }
146160
public function FileToPDF($path, GrabzItPDFOptions $options = null)
	{
		if (!file_exists($path))
		{
			throw new GrabzItException("File: " . $path . " does not exist", GrabzItException::FILE_NON_EXISTANT_PATH);
		}
		
		$this->HTMLToPDF(file_get_contents($path), $options);
	}
288456
public function dir_opendir($path, $options)
    {
        $dirName = $this->_getNamePart($path).'/';
        if (preg_match('@^([a-z0-9+.]|-)+://$@', $path) || $dirName == '/') {
            $list = $this->_getOssClient($path)->listObjects(AliyunOSS::getBucket());
        } else {
            $list = $this
                ->_getOssClient($path)
                ->listObjects(AliyunOSS::getBucket(), [
                    OssClient::OSS_PREFIX => $dirName,
                ]);
        }

        foreach ((array) $list->getPrefixList() as $l) {
            array_push($this->_bucketList, basename($l->getPrefix()));
        }

        foreach ((array) $list->getObjectList() as $l) {
            if ($l->getKey() == $dirName) {
                continue;
            }

            array_push($this->_bucketList, basename($l->getKey()));
        }

        return $this->_bucketList !== false;
    }
227014
public function get ($path) {
		list ($first, $rest) = self::getFirstAndRestPathElements($path);

		if (array_key_exists($first, $this -> data)) {
			$value = $this -> data[$first];
			if (is_null($rest)) {
				return $value;
			} else if ($value instanceof TreeInterface) {
				return $value -> get($rest);
			} else {
				throw new InvalidKeyException("Value at key `" . $first . "` is a scalar; cannot step further down the requested path `" . $rest . "`");
			}
		} else {
			throw new NonExistentKeyException("Key `" . $first . "` does not exist.");
		}
	}
578086
public function get($url, array $options = [])
	{
        if(!is_array($options)) {
            $options = [];
        }
        return $this->embed->get($url, $options);
    }
1150177
def get(path, options = {})
      if options[:query].nil?
        options.merge!({ query: { api_key: @key } })
      else
        options[:query].merge!({ api_key: @key })
      end

      response = self.class.get path, options
      raise LoLBaseError, response.message if response.code != 200
      response.body
    end
152892
public function get($url = null, array $options = [])
    {
        return $this->responseBuilder->build($this->send(new Request('GET', $url), $options));
    }
240303
public function get($url, $headers = [], $options = [])
    {
        return $this->request('GET', $url, null, $headers, $options);
    }
355937
public function get($path, array $parameters = [], array $headers = [])
	{
		$this->setHeaders($headers);
		$this->setQuery($parameters);
		return $this->client->request('GET', $path, $this->headers);
	}
829175
public function get($path, array $parameters = [], $headers = [])
    {
        $response = $this->getClient()->getHttpClient()->get($path, $parameters, $headers);

        return $this->decodeResponse($response);
    }
543422
public function storeAs($path, $name, $options = [])
    {
        if ($this->isModified()) {
            $this->save();
        }

        return parent::storeAs($path, $name, $options);
    }
340598
protected static function getAction(array $options)
    {
        //check if action is URL
        if (array_has($options, 'url')) {
            return 'http://'.array_get($options, 'url');
        }

        //check if action is secure for HTTPS
        if (array_has($options, 'secure')) {
            return 'https://'.array_get($options, 'secure');
        }

        //check if action is route
        if (array_has($options, 'route')) {
            return path().array_get($options, 'route');
        }
    }
92160
public function pathinfo(string $path, int $options = null)
    {
        [$scheme, $path] = $this->getSchemeAndHierarchy($path);

        if ($this->normalize || ($scheme && null === $this->normalize)) {
            $path = $this->normalizePathPart($path);
        }

        return $this->pathinfoInternal($scheme, $path, $options);
    }
141533
public function get($path, array $options = array())
    {
        $client = $this->createGuzzleClient($this->clientKey, $this->clientSecret);

        $options = $this->applyDefaultClientQuery($client, $options);

        try {
            return $response = json_decode($client->get('/v2.3'.$path, $options)->getBody(), true);
        } catch (GuzzleRequestException $e) {
            $message = $e->getMessage();

            if ($e->hasResponse()) {
                $responseData = json_decode($e->getResponse()->getBody(), true);
                $message = $responseData['error']['code'].' - '.$responseData['error']['message'];
            }

            throw new RequestException($message);
        }
    }
1050328
public static function patch($path, $options = array()) {
    $requestOptions = array(
      "path" => $path,
      "method" => "PATCH",
      "body" => $options["body"]
    );

    if (!empty($options["sign"])) {
      $requestOptions["sign"] = $options["sign"];
    }

    return self::request($requestOptions);
  }
331900
public function scan(array $paths, array $options = []): ScanResult
    {
        $this->options = $this->resolveOptions($options);

        try {
            return $this->scanArray($paths);
        } catch (AdapterException $e) {
            // TODO: log virus scanner exception
            return new ScanResult(); // silently fail
        }
    }
119151
public static function get(string $path, array $params = null): string
    {
        self::init();
        $rule = self::$config['dynamic'];
        if (is_callable($rule['path'])) {
            $path = call_user_func_array($rule['path'], [self::$domin, $path, self::$script]);
        }
        //存在get参数
        if ($params && is_callable($rule['query'])) {
            $path .= call_user_func($rule['query'], $params); //get参数
        }
        return $path;
    }