def search(seriesname)
      http_query = { :seriesname => seriesname }
      http_query[:language] = @language if @language
      response = self.class.get(URI::join(BASE_URL, 'api/', 'GetSeries.php'), { :query => http_query }).parsed_response
      return [] unless response["Data"]
      case response["Data"]["Series"]
        when Array
          response["Data"]["Series"].map {|s|SearchSeriesRecord.new(self, s)}
        when Hash
          [SearchSeriesRecord.new(self, response["Data"]["Series"])]
        else
          []
      end
    end
def search(seriesname)
      http_query = { :seriesname => seriesname }
      http_query[:language] = @language if @language
      response = self.class.get(URI::join(BASE_URL, 'api/', 'GetSeries.php'), { :query => http_query }).parsed_response
      return [] unless response["Data"]
      case response["Data"]["Series"]
        when Array
          response["Data"]["Series"].map {|s|SearchSeriesRecord.new(self, s)}
        when Hash
          [SearchSeriesRecord.new(self, response["Data"]["Series"])]
        else
          []
      end
    end
This interface allows you to find the id of a series based on its name.
 Parameters::
   +seriesname+::  This is the string you want to search for. If there is an exact match for the parameter, it will be the first result returned.
 Returns::     An array of TheTvDbParty::SearchSeriesRecord instances that represent the search results. Empty if the search does not return any matches.
 Remarks::     The method call with the account identifier is currently not supported.
 See Also::    http://thetvdb.com/wiki/index.php?title=API:GetSeries