striderdi.com apis REST endPoint
Official C# Library for these services.
using Strider.Client.TextMiner.Client;
using Strider.Client.TextMiner.Utils;
// Get the AppSettings section.
ApplicationConfig config = new ApplicationConfig();
// Display synonyms
Console.WriteLine(config.GetSynNetEndPoint());
SynonymService ss = new SynonymService(config.GetSynNetEndPoint());
displaySynonyms(ss, "account");
displaySynonyms(ss, "abc123");
// Display word definitions
Console.WriteLine(config.GetWordDefinitionEndPoint());
WordDefinitionService wds = new WordDefinitionService(config.GetWordDefinitionEndPoint());
displayDefinitions(wds, "account");
displayDefinitions(wds, "abc123");
// Display synonyms
Console.WriteLine(config.GetSynNetEndPoint());
SynonymService ss = new SynonymService(config.GetSynNetEndPoint());
displaySynonyms(ss, "account");
displaySynonyms(ss, "abc123");
// Get TextMiner response
TextMinerService API_KEY";
displayResults(tms, apiKey, 243);
displayResults(tms, apiKey, 9876542);
// Post a new article for data mining
tms = new TextMinerService(config.GetTextMinerEndPoint());
// Displaying the result
private static void displaySubmittedarticleResponse(TextMinerService tms)
{
Console.WriteLine("Submit article");
string text = "Hundreds of thousands of British teachers, air traffic controllers, customs officers and other public sector workers went on strike Thursday, causing potential chaos for schoolchildren and travellers.";
TextMinerResponse dto = tms.Post(
"Bjørn Lomborg",
"The Best Investments",
new Uri("http://edition.cnn.com/2011/BUSINESS/06/30/uk.strike/index.html?hpt=hp_t2"),
text,
"us",
"social_thought",
"",
"API_KEY");
Console.WriteLine(dto);
}
partners@striderdi.com @happystrider