public class AlchemyDataNews extends AlchemyService
| Modifier and Type | Class and Description |
|---|---|
static class |
AlchemyDataNews.TimeFormat
TIME FORMAT.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
COUNT
The Constant COUNT.
|
static String |
END
The Constant END.
|
static String |
RETURN
The Constant RETURN.
|
static String |
START
The Constant START.
|
static String |
TIME_SLICE
The Constant TIME_SLICE.
|
ENDPOINT, JSONP, OUTPUT_MODEFORWARD_SLASH| Constructor and Description |
|---|
AlchemyDataNews() |
| Modifier and Type | Method and Description |
|---|---|
DocumentsResult |
getNewsDocuments(Map<String,Object> parameters)
Gets the news documents.
|
VolumeResult |
getVolume(String start,
String end,
String timeSlice)
Get a handle on how many documents are relevant for your query.
|
execute, getInputFormat, setAuthenticationexecuteRequest, executeWithoutResponse, getApiKey, getDefaultContentType, getDefaultRequestParams, getEndPoint, getHttpClient, getThreadSafeClient, setApiKey, setEndPoint, setUsernameAndPassword, toStringpublic static final String END
public static final String RETURN
public static final String START
public static final String TIME_SLICE
public static final String COUNT
public DocumentsResult getNewsDocuments(Map<String,Object> parameters)
parameters - the parameterspublic VolumeResult getVolume(String start, String end, String timeSlice)
start - String the time (in UTC seconds) of the beginning of the query duration,end - String the time (in UTC seconds) of the end of the query duration.timeSlice - String the duration (in seconds) of each time slice.VolumeResultCopyright © 2015. All rights reserved.