Exemplo n.º 1
0
 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)
Exemplo n.º 2
0
 def run(self):
     response = ServerRequest.run(self, self.article)
     return response
Exemplo n.º 3
0
 def __init__(self, article):
     ServerRequest.__init__(self, ArchiveServer.REQUEST_PORT, ArchiveAnswer)
     self.article = article
Exemplo n.º 4
0
 def __init__(self):
     ServerRequest.__init__(self, gtkserver.REQUEST_PORT, gtkanswer)
Exemplo n.º 5
0
 def __init__(self):
     ServerRequest.__init__(self, CiteServer.REQUEST_PORT, CiteAnswer)
Exemplo n.º 6
0
 def __init__(self):
     ServerRequest.__init__(self, PDFServer.REQUEST_PORT, PDFAnswer)
Exemplo n.º 7
0
 def run(self, method, args=None):
     cmd = ISIServerCommand(method, args)
     response = ServerRequest.run(self, cmd)
     return response