A lightning fast, portable library for fetching Google autocomplete suggestions at just 6kb.
After downloading the library, add it to the application's references. Then, import the library. C#:
using GSearch;
VB.NET:
Imports GSearch
Declare an array to store the Google Search results. C#:
string[] suggestions = GSearch.GetResultsAsArray(your_query);
VB.NET:
Dim suggestions As String() = GSearch.GetResultsAsArray(your_query)
To get the raw XML, just call GSearch.GetResultsAsString(your_query);
.
- VB.Net sample
- Option to change locales in tester application
- Sample with UI