original_docstring: 
      Builds the API URL for fetching results.
      
docstring: Builds the API URL for fetching results.
docstring_tokens: Builds the API URL for fetching results .
code: def __build_url(path, api_site_parameter, **params):
      """
      Builds the API URL for fetching results.
      """
      
      query = ["%s=%s" % (key, params[key]) for key in params if (params[key] or key == 'pagesize') ]
      query_string = "&".join(query)
      url = "%s/%s/%s?" % (__api_endpoint, __api_version, path)
      url += query_string
      return url
code_tokens: def __build_url ( path , api_site_parameter , ** params ) : query = [ "%s=%s" % ( key , params [ key ] ) for key in params if ( params [ key ] or key == 'pagesize' ) ] query_string = "&" . join ( query ) url = "%s/%s/%s?" % ( __api_endpoint , __api_version , path ) url += query_string return url
short_docstring: Builds the API URL for fetching results.
short_docstring_tokens: Builds the API URL for fetching results .
comment: """
      Builds the API URL for fetching results.
      """