<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def search( self, q="yellow flower", lang="en", video_type="all", category="", min_width=0, min_height=0, editors_choice="false", safesearch="false", order="popular", page=1, per_page=20, callback="", pretty="false", ):
 """returns videos API data in dict Videos search :param q :type str :desc A URL encoded search term. If omitted, all images are returned. This value may not exceed 100 characters. Example: "yellow+flower" Default: "yellow+flower" :param lang :type str :desc Language code of the language to be searched in. Accepted values: cs, da, de, en, es, fr, id, it, hu, nl, no, pl, pt, ro, sk, fi, sv, tr, vi, th, bg, ru, el, ja, ko, zh Default: "en" For more info, see https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes :param video_type :type str :desc Filter results by video type. Accepted values: "all", "film", "animation" Default: "all" :param category :type str :desc Filter results by category. Accepted values: fashion, nature, backgrounds, science, education, people, feelings, religion, health, places, animals, industry, food, computer, sports, transportation, travel, buildings, business, music :param min_width :type int :desc Minimum image width Default: 0 :param min_height :type int :desc Minimum image height Default: 0 :param editors_choice :type bool (python-pixabay use "true" and "false" string instead) :desc Select images that have received an Editor's Choice award. Accepted values: "true", "false" Default: "false" :param safesearch :type bool (python-pixabay use "true" and "false" string instead) :desc A flag indicating that only images suitable for all ages should be returned. Accepted values: "true", "false" Default: "false" :param order :type str :desc How the results should be ordered. Accepted values: "popular", "latest" Default: "popular" :param page :type int :desc Returned search results are paginated. Use this parameter to select the page number. Default: 1 :param per_page :type int :desc Determine the number of results per page. Accepted values: 3 - 200 Default: 20 :param callback :type str :desc JSONP callback function name :param pretty :type bool (python-pixabay use "true" and "false" string instead) :desc Indent JSON output. This option should not be used in production. Accepted values: "true", "false" Default: "false" Code Example """

        payload = {
            "key": self.api_key,
            "q": q,
            "lang": lang,
            "video_type": video_type,
            "category": category,
            "min_width": min_width,
            "min_height": min_height,
            "editors_choice": editors_choice,
            "safesearch": safesearch,
            "order": order,
            "page": page,
            "per_page": per_page,
            "callback": callback,
            "pretty": pretty,
        }

        resp = get(self.root_url + "videos/", params=payload)
        if resp.status_code == 200:
            return resp.json()
        else:
            raise ValueError(resp.text)