original_docstring: 
      Return search results from board game geek
      
docstring: Return search results from board game geek
docstring_tokens: Return search results from board game geek
code: def search():
      """
      Return search results from board game geek
      """
      q = request.args.get('q')
      if q is None or len(q) < 1:
          return make_response({'msg': 'must supply search query as \'q\' parameter'})
  
      games = api.search(q)
  
      return make_response(game_parser.serialize(games), 200, {'Content-Type': 'application/json'})
code_tokens: def search ( ) : q = request . args . get ( 'q' ) if q is None or len ( q ) < 1 : return make_response ( { 'msg' : 'must supply search query as \'q\' parameter' } ) games = api . search ( q ) return make_response ( game_parser . serialize ( games ) , 200 , { 'Content-Type' : 'application/json' } )
short_docstring: Return search results from board game geek
short_docstring_tokens: Return search results from board game geek
comment: """
      Return search results from board game geek
      """