def __init__(self, archive, journal=None, author=None, year=None, volume=None, page=None, notes=None, download=False, keywords=None): ServerRequest.__init__(self, ISIServer.REQUEST_PORT, ISIAnswer) self.archive = Archive(archive) self.download = download self.notes = notes self.keywords = keywords self.kwargs = {} if journal: self.kwargs["journal"] = journal if author: self.kwargs["author"] = author if year: self.kwargs["year"] = year if volume: self.kwargs["volume"] = volume if page: self.kwargs["page"] = page self.search = WOKSearch(**self.kwargs)
def run(self): response = ServerRequest.run(self, self.article) return response
def __init__(self, article): ServerRequest.__init__(self, ArchiveServer.REQUEST_PORT, ArchiveAnswer) self.article = article
def __init__(self): ServerRequest.__init__(self, gtkserver.REQUEST_PORT, gtkanswer)
def __init__(self): ServerRequest.__init__(self, CiteServer.REQUEST_PORT, CiteAnswer)
def __init__(self): ServerRequest.__init__(self, PDFServer.REQUEST_PORT, PDFAnswer)
def run(self, method, args=None): cmd = ISIServerCommand(method, args) response = ServerRequest.run(self, cmd) return response