https://github.com/spiderpig86/gsearch
:zap: A portable library for fetching Google Search suggestions for .NET applications.
https://github.com/spiderpig86/gsearch
csharp google google-search netframework portable-library search
Last synced: about 1 year ago
JSON representation
:zap: A portable library for fetching Google Search suggestions for .NET applications.
- Host: GitHub
- URL: https://github.com/spiderpig86/gsearch
- Owner: Spiderpig86
- Created: 2017-08-01T02:35:59.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-08-26T05:47:03.000Z (almost 9 years ago)
- Last Synced: 2025-02-15T02:43:20.404Z (over 1 year ago)
- Topics: csharp, google, google-search, netframework, portable-library, search
- Language: C#
- Homepage:
- Size: 75.2 KB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# GSearch
A lightning fast, portable library for fetching Google autocomplete suggestions at just 6kb.
## Setting Up
After downloading the library, add it to the application's references.
Then, import the library.
C#:
```csharp
using GSearch;
```
VB.NET:
```vb
Imports GSearch
```
## Usage
Declare an array to store the Google Search results.
C#:
```csharp
string[] suggestions = GSearch.GetResultsAsArray(your_query);
```
VB.NET:
```vb
Dim suggestions As String() = GSearch.GetResultsAsArray(your_query)
```
To get the raw XML, just call `GSearch.GetResultsAsString(your_query);`.
## Future Updates
* VB.Net sample
* Option to change locales in tester application
* Sample with UI