See https://dev.springernature.com/docs/api-endpoints/meta-api/?source=jabref for more information
| Modifier and Type | Field and Description |
|---|---|
| private static final String | |
| public static final String | |
| private final ImporterPreferences | |
| private static final Logger |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private URL | buildSearchURL(String
the query string to pass directly as the rawQuery, int q parameterzero based page number; converted to a one based pageNumber)s start value.Builds the Springer Nature search API URL for the given raw query string and page number. |
| private String | |
| public Optional | getHelpPage()
Overrides default org. Returns the help page for this fetcher. |
| public String | getName()
Implements org. Returns the localized name of this fetcher. |
| public Parser | getParser()
Implements org. Returns the parser used to convert the response to a list of |
| private String | |
| public URL | Returns: URLthe search query queryNode, int the number of the page indexed from 0 pageNumber)Implements org. Gets the query URL |
| public URL | getURLForRawQuery(String rawQuery, int pageNumber)
Overrides default org. Builds the Springer search URL for a raw, catalog-native query, sent verbatim as the |
| public boolean | isValidKey(@NonNull String apiKey)
Overrides default org. Returns whether the API key is valid |
| public static BibEntry | Returns: the converted BibEntrythe JSONObject from search results springerJsonEntryConvert a JSONObject obtained from the Metadata API to a BibEntry |
| API_URL | back to summary |
|---|---|
| private static final String API_URL | |
| FETCHER_NAME | back to summary |
|---|---|
| public static final String FETCHER_NAME | |
| importerPreferences | back to summary |
|---|---|
| private final ImporterPreferences importerPreferences | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| SpringerNatureWebFetcher | back to summary |
|---|---|
| public SpringerNatureWebFetcher(ImporterPreferences importerPreferences) | |
| buildSearchURL | back to summary |
|---|---|
| private URL buildSearchURL(String rawQuery, int pageNumber) throws URISyntaxException, MalformedURLException Builds the Springer Nature search API URL for the given raw query string and page number.
The raw query is sent verbatim as the
| |
| constructComplexQueryString | back to summary |
|---|---|
| private String constructComplexQueryString(ComplexSearchQuery complexSearchQuery) | |
| getHelpPage | back to summary |
|---|---|
| public Optional Overrides default org. Doc from org. Returns the help page for this fetcher.
| |
| getName | back to summary |
|---|---|
| public String getName() Implements org. Doc from org. Returns the localized name of this fetcher. The title can be used to display the fetcher in the menu and in the side pane. Todo This name is also used for identifying the fetcher in preferences for API keys. Thus, any switch of the language will "remove" API keys.
| |
| getParser | back to summary |
|---|---|
| public Parser getParser() Implements org. Doc from org. Returns the parser used to convert the response to a list of
| |
| getTestUrl | back to summary |
|---|---|
| private String getTestUrl(String apiKey) | |
| getURLForQuery | back to summary |
|---|---|
| public URL getURLForQuery(BaseQueryNode queryNode, int pageNumber) throws URISyntaxException, MalformedURLException Implements org. Gets the query URL
| |
| getURLForRawQuery | back to summary |
|---|---|
| public URL getURLForRawQuery(String rawQuery, int pageNumber) throws URISyntaxException, MalformedURLException Overrides default org. Builds the Springer search URL for a raw, catalog-native query, sent verbatim as the
| |
| isValidKey | back to summary |
|---|---|
| public boolean isValidKey(@NonNull String apiKey) Overrides default org. Doc from org. Returns whether the API key is valid
| |
| parseSpringerJSONtoBibtex | back to summary |
|---|---|
| public static BibEntry parseSpringerJSONtoBibtex(kong. Convert a JSONObject obtained from the Metadata API to a BibEntry
| |