Authorized users may download records from the Scopus database. This application presents an easier to use interface for developers who use Scopus. It corrects some errors in Scopus including cases where it duplicates authors.
This application was written to work with ReCiter, a tool for disambiguating articles written in PubMed and also indexed in Scopus. However, this application can work as a standalone service. In testing, it does help improve accuracy by several percentage points, but Scopus is not necessary to run ReCiter.
This tool has several advantages over using the Scopus API alone:
- The Scopus API outputs data as XML while the ReCiter Scopus Retrieval Tool outputs data as JSON, a format which is easier for developers to use.
- The Scopus API sometimes creates redundant author objects or otherwise doesn’t properly assign sequence numbers to authors. This tool addresses both problems.
- Java 11
- Latest version of Maven. To install Maven navigate to the directory where ReCiter Scopus Retrieval Tool will be installed, execute
brew install maven
and thenmvn clean install
If you want to use Java 8 then update<java.version>1.8</java.version>
in pom.xml
It is not necessary to install ReCiter in order to use the API.
- Navigate to directory where you wish to install the application, e.g.,
cd ~/Paul/Documents/
- Clone the repository:
git clone https://github.com/wcmc-its/ReCiter-Scopus-Retrieval-Tool.git
- Navigate to the newly installed folder:
cd ReCiter-Scopus-Retrieval-Tool
- Use Maven to build the project:
mvn clean install -Dmaven.test.skip=true
- Set the SCOPUS_API_KEY key and SCOPUS_INST_TOKEN. (See "Obtaining an API key and INST_TOKEN" below)
- Option #1: Command line
- Enter
export SCOPUS_API_KEY=[enter your API key here]
- Enter
export SCOPUS_INST_TOKEN=[enter your INST_TOKEN here]
- Enter
- Option #2: Enter as an environment variable in AWS itself. If you are deploying to an AWS instance, add the environment variable in the Elastic Beanstalk configuration section.
- Option #3: In Eclipse application
- Open Eclipse
- Right-click on Application.java found here: ReCiter-Scopus-Retrieval-Tool --> src/main/java --> reciter --> Application.java
- Click on "Run As..." --> "Run Configurations..."
- Click on "ReCiter-Scopus-Retrieval-Tool" in sidebar
- Click on "Environment" tab
- Under variable, add "SCOPUS_API_KEY" and enter the API key.
- Under variable, add "SCOPUS_INST_TOKEN" and enter the INST_TOKEN.
- Set the desired port
- Option #1: Set at the system level using this command
export SERVER_PORT=[your port number]
. This supersedes any ports set in application.properties. - Option #2: Update the application.properties file located at
/src/main/resources/
Make sure the port doesn't conflict with other services such as ReCiter or ReCiter PubMed Retrieval Tool.
- Build Maven instance
mvn spring-boot:run
- Visit
http://localhost:[your port number]/swagger-ui/index.html
orhttp://localhost:[your port number]/swagger-ui/
to see the Swagger page for this service.
This Elsevier document describes how to obtain an API key and INST_TOKEN from Elsevier.
Ths Scopus Retrieval Tool API only allows you to search one field at a time. Field codes are listed on the Elsevier site or in the Scopus data model for this tool.
{
"query": [
"20000000"
],
"type": "PMID"
}
{
"query": [
"20000000",
"21000000"
],
"type": "PMID"
}
{
"query": [
"10.1155/2018/1920276"
],
"type": "doi"
}
{
"query": [
"34547687746"
],
"type": "scopus-id"
}
{
"query": [
"60007997"
],
"type": "af-id"
}