# Google Search Results in Python
This Python package allows you to scrape and parse Google Search Results using [SerpWow](https://serpwow.com). In addition to [Search](https://serpwow.com/docs/search/overview) you can also use this package to access the SerpWow [Locations API](https://serpwow.com/docs/locations/overview) and [Account API](https://serpwow.com/docs/account/overview).
## Simple Example
```python
from google_search_results import GoogleSearchResults
serpwow = GoogleSearchResults("demo")
params = {
"q" : "pizza",
"location" : "New York,New York,United States"
}
result = serpwow.get_json(params)
print result
```
## Getting an API Key
To get a free API Key head over to [app.serpwow.com/signup](https://app.serpwow.com/signup). No credit card is required and you get 100 free searches to get started.
## Searching with a location
```python
from google_search_results import GoogleSearchResults
import json
# create the serpwow object, passing in our API key
serpwow = GoogleSearchResults("demo")
# set up a dict for the search parameters
params = {
"q" : "pizza",
"location" : "New York,New York,United States"
}
# retrieve the search results as JSON
result = serpwow.get_json(params)
# pretty-print the result
print(json.dumps(result, indent=2, sort_keys=True)
```
## Account API Example
The [Account API](https://serpwow.com/docs/account/overview) allows you to check your current SerpWow usage and billing information.
```python
from google_search_results import GoogleSearchResults
import json
# create the serpwow object, passing in our API key
serpwow = GoogleSearchResults("demo")
# get our account info
result = serpwow.get_account()
# pretty-print the result
print(json.dumps(result, indent=2, sort_keys=True)
```
This Python package allows you to scrape and parse Google Search Results using [SerpWow](https://serpwow.com). In addition to [Search](https://serpwow.com/docs/search/overview) you can also use this package to access the SerpWow [Locations API](https://serpwow.com/docs/locations/overview) and [Account API](https://serpwow.com/docs/account/overview).
## Simple Example
```python
from google_search_results import GoogleSearchResults
serpwow = GoogleSearchResults("demo")
params = {
"q" : "pizza",
"location" : "New York,New York,United States"
}
result = serpwow.get_json(params)
print result
```
## Getting an API Key
To get a free API Key head over to [app.serpwow.com/signup](https://app.serpwow.com/signup). No credit card is required and you get 100 free searches to get started.
## Searching with a location
```python
from google_search_results import GoogleSearchResults
import json
# create the serpwow object, passing in our API key
serpwow = GoogleSearchResults("demo")
# set up a dict for the search parameters
params = {
"q" : "pizza",
"location" : "New York,New York,United States"
}
# retrieve the search results as JSON
result = serpwow.get_json(params)
# pretty-print the result
print(json.dumps(result, indent=2, sort_keys=True)
```
## Account API Example
The [Account API](https://serpwow.com/docs/account/overview) allows you to check your current SerpWow usage and billing information.
```python
from google_search_results import GoogleSearchResults
import json
# create the serpwow object, passing in our API key
serpwow = GoogleSearchResults("demo")
# get our account info
result = serpwow.get_account()
# pretty-print the result
print(json.dumps(result, indent=2, sort_keys=True)
```
Release files for google-search-results-serpwow 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| google-search-results-serpwow-1.0.1.tar.gz | 1.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| google_search_results_serpwow-1.0.1-py2-none-any.whl | Python 2 | none | any | Details |
Total release size:3.6 kB
Release files / google-search-results-serpwow-1.0.1.tar.gz
| Download URL | google-search-results-serpwow-1.0.1.tar.gz |
|---|---|
| Size | 1.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e333723eb5f5ef949eb6aed30733822bfbeeb6bc0171850e51a1abf556e9033c
|
|
BLAKE2b-256 checksum How to use checksums |
a9cfaae560907f350913f3fd26e356d49ae6d2352d51fcd6b4e46b2b9c35d7a3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/18.5 requests-toolbelt/0.9.1 tqdm/4.30.0 CPython/2.7.10
|
Release files / google_search_results_serpwow-1.0.1-py2-none-any.whl
| Download URL | google_search_results_serpwow-1.0.1-py2-none-any.whl |
|---|---|
| Size | 1.9 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
53156b583cbe0ec723d62ee47cb948459a58e9f805531b44af2a98feb6574431
|
|
BLAKE2b-256 checksum How to use checksums |
e336b36d610b5f79f768c94819895f0b93b3e00ba88156cad51136fa2e2d4ef7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/18.5 requests-toolbelt/0.9.1 tqdm/4.30.0 CPython/2.7.10
|