src/Pixabay/PixabayClient.php
public function get(array $options = [], $returnObject = false, $resetOptions = false, $segment = self::SEGMENT_IMAGES)
    {
        $this->parseOptions($options, $resetOptions);
        $response = $this->client->request('GET', self::API_ROOT . $segment, ['query' => $this->options]);
        $data = $response->getBody()->getContents();
        return json_decode($data, $returnObject);
    }
public function get(array $options = [], $returnObject = false, $resetOptions = false, $segment = self::SEGMENT_IMAGES)
    {
        $this->parseOptions($options, $resetOptions);
        $response = $this->client->request('GET', self::API_ROOT . $segment, ['query' => $this->options]);
        $data = $response->getBody()->getContents();
        return json_decode($data, $returnObject);
    }
Get Data from Pixabay API

@param array  $options
@param bool   $returnObject
@param bool   $resetOptions
@param string $segment
@return mixed