'This searches TheTVDB.com for the series by name, imdbid, or zap2itid
and returns the result list'

@login_required
def search(self, series=None, imdbid=None, zap2itid=None):

    if series:
        sickrage.srCore.srLogger.debug(u'Searching    for    show    by    name:    {}'.format(series))
        return self._request(u'get', self.config[u'api'][u'getSeries'].format(name=series))[u'data']
    elif imdbid:
        sickrage.srCore.srLogger.debug(u'Searching    for    show    by    imdbId:    {}'.format(imdbid))
        return self._request(u'get', self.config[u'api'][u'getSeriesIMDB'].format(id=imdbid))[u'data']
    elif zap2itid:
        sickrage.srCore.srLogger.debug(u'Searching    for    show    by    zap2itId:    {}'.format(zap2itid))
        return self._request(u'get', self.config[u'api'][u'getSeriesZap2It'].format(id=zap2itid))[u'data']
