|
Project Information
Members
Featured
Downloads
Wiki pages
Links
|
Anyone wanna use Google APIs, read this post frist plzProvides simple, unofficial, .NET Framework APIs for using Google Ajax RestFULL APIs (Search API, Language API etc.) Google Translate API for .NET 0.4 alphaDescription: Provides a simple, unofficial, .NET Framework API for using Google Ajax Language API service. Feature:
Versions: Google Search API for .NET comes in different versions for the various .NET frameworks.
Example: string text = "我喜欢跑步。";
TranslateClient client = new TranslateClient(/* Enter the URL of your site here */);
string translated = client.Translate(text, Language.ChineseSimplified, Language.English);
Console.WriteLine(translated);
// I like running.Google Search API for .NET 0.4 alphaDescription: Provides a simple, unofficial, .NET Framework API for using Google Ajax Search API service. Feature:
Versions: Google Translate API for .NET comes in different versions for the various .NET frameworks.
Example: // Search 32 results of keyword : "Google APIs for .NET"
GwebSearchClient client = new GwebSearchClient(/* Enter the URL of your site here */);
IList<IWebResult> results = client.Search("Google API for .NET", 32);
foreach(IWebResult result in results)
{
Console.WriteLine("[{0}] {1} => {2}", result.Title, result.Content, result.Url);
}
|