Deprecated! Continued in the backend repo.
This repo contains all current wrapper, an interface and a template class for writing an own wrapper.
This repo currently contains wrapper for following databases:
DB | State | Docs |
---|---|---|
Springer Nature | WIP | https://dev.springernature.com/ |
Elsevier | WIP | https://dev.elsevier.com/ |
If writing your own wrapper you can use the template class template.py created by this simple sed script:
#!/bin/sed -f
s/import abc/from .wrapperInterface import WrapperInterface/
/def error(name):/,/^$/d
s/WrapperInterface(metaclass=abc.ABCMeta)/TemplateWrapper(WrapperInterface)/
/@abc.abstractmethod/d
s/self.error(.*)/pass/
The callAPI() should be able to handle JSONs specified in inputFormat.json as query parameter and return a JSON in the format of outputFormat.json.