File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed
jablib/src/main/java/org/jabref/logic/importer/fetcher Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change 3232import org .slf4j .Logger ;
3333import org .slf4j .LoggerFactory ;
3434
35- /**
36- * Fetches data from the Springer
37- *
38- * @see <a href="https://dev.springernature.com/">API documentation</a> for more details
39- */
35+ /// Fetches data from Springer Nature
36+ ///
37+ /// See <https://dev.springernature.com/docs/api-endpoints/meta-api/?source=jabref> for more information
4038public class SpringerNatureWebFetcher implements PagedSearchBasedParserFetcher , CustomizableKeyFetcher {
4139 public static final String FETCHER_NAME = "Springer" ;
4240
4341 private static final Logger LOGGER = LoggerFactory .getLogger (SpringerNatureWebFetcher .class );
4442
45- private static final String API_URL = "https://api.springernature.com/meta/v1 /json" ;
43+ private static final String API_URL = "https://api.springernature.com/meta/v2 /json" ;
4644 // Springer query using the parameter 'q=doi:10.1007/s11276-008-0131-4s=1' will respond faster
47- private static final String TEST_URL_WITHOUT_API_KEY = "https://api.springernature.com/meta/v1 /json?q=doi:10.1007/s11276-008-0131-4s=1&p=1&api_key=" ;
45+ private static final String TEST_URL_WITHOUT_API_KEY = "https://api.springernature.com/meta/v2 /json?q=doi:10.1007/s11276-008-0131-4s=1&p=1&api_key=" ;
4846
4947 private final ImporterPreferences importerPreferences ;
5048
You can’t perform that action at this time.
0 commit comments