Click or drag to resize

AlchemyAPIGetNews Method

Namespace:  IBM.Watson.DeveloperCloud.Services.AlchemyAPI.v1
Assembly:  UnityDocumentationBuilder (in UnityDocumentationBuilder.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public bool GetNews(
	AlchemyAPISuccessCallback<NewsResponse> successCallback,
	AlchemyAPIFailCallback failCallback,
	string[] returnFields = null,
	Dictionary<string, string> queryFields = null,
	string startDate = "now-1d",
	string endDate = "now",
	int maxResults = 10,
	string timeSlice = null,
	Dictionary<string, Object> customData = null
)

Parameters

successCallback
Type: IBM.Watson.DeveloperCloud.Services.AlchemyAPI.v1AlchemyAPISuccessCallbackNewsResponse
failCallback
Type: IBM.Watson.DeveloperCloud.Services.AlchemyAPI.v1AlchemyAPIFailCallback
returnFields (Optional)
Type: SystemString
queryFields (Optional)
Type: System.Collections.GenericDictionaryString, String
startDate (Optional)
Type: SystemString
endDate (Optional)
Type: SystemString
maxResults (Optional)
Type: SystemInt32
timeSlice (Optional)
Type: SystemString
customData (Optional)
Type: System.Collections.GenericDictionaryString, Object

Return Value

Type: Boolean
See Also