public static function search($search, $category = null, $page = 1, $per_page = 10, $orientation = null)
    {
        $photos = self::get(
            "/photos/search",
            ['query' => [
                'query' => $search,
                'category' => $category,
                'orientation' => $orientation,
                'page' => $page,
                'per_page' => $per_page
                ]
            ]
        );

        $photosArray = self::getArray($photos->getBody(), get_called_class());

        return new ArrayObject($photosArray, $photos->getHeaders());
    }