public class AlchemyDataNews extends AlchemyService
| Modifier and Type | Class and Description | 
|---|---|
| static class  | AlchemyDataNews.TimeFormatThe TimeFormat Enumeration. | 
| Modifier and Type | Field and Description | 
|---|---|
| static String | COUNTThe Constant COUNT (value is "count"). | 
| static String | ENDThe Constant END. | 
| static String | RETURNThe Constant String RETURN (value is "return") | 
| static String | STARTThe Constant START. | 
| static String | TIME_SLICEThe Constant TIME_SLICE. | 
ENDPOINT, JSONP, OUTPUT_MODEVERSION| 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, executeRequest, getInputFormat, setAuthenticationconfigureHttpClient, executeWithoutResponse, getApiKey, getEndPoint, getName, getToken, setApiKey, setDefaultHeaders, setEndPoint, setUsernameAndPassword, toStringpublic static final String COUNT
public static final String END
public static final String RETURN
public static final String START
public static final String TIME_SLICE
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–2016. All rights reserved.