You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using enrichments with [Outscraper API](https://app.outscraper.com/api-docs#tag/Google-Maps).
4
+
5
+
## Installation
6
+
7
+
Python 3+
8
+
```bash
9
+
pip install outscraper
10
+
```
11
+
12
+
[Link to the Python package page](https://pypi.org/project/outscraper/)
13
+
14
+
## Initialization
15
+
```python
16
+
from outscraper import ApiClient
17
+
18
+
client = ApiClient(api_key='SECRET_API_KEY')
19
+
```
20
+
[Link to the profile page to create the API key](https://app.outscraper.com/profile)
21
+
22
+
## Usage
23
+
24
+
```python
25
+
# Enriching data from Google Maps with Emails & Contacts Scraper (domains_service) and validating emails with Email Validator (emails_validator_service):
26
+
results = client.google_maps_search('bars ny usa', enrichment=['domains_service', 'emails_validator_service'])
drop_duplicates (bool): parameter specifies whether the bot will drop the same organizations from different queries. Using the parameter combines results from each query inside one big array.
enrichment (list): parameter defines enrichments you want to apply to the results. Available values: "domains_service", "emails_validator_service", "disposable_email_checker", "whatsapp_checker", "imessage_checker", "phones_enricher_service", "trustpilot_service", "companies_data".
225
226
fields (list): parameter defines which fields you want to include with each item returned in the response. By default, it returns all fields.
226
227
async_request (bool): parameter defines the way you want to submit your task to Outscraper. It can be set to `False` (default) to send a task and wait until you got your results, or `True` to submit your task and retrieve the results later using a request ID with `get_request_archive`. Each response is available for `2` hours after a request has been completed.
0 commit comments