Skip to content

Commit 92caa70

Browse files
author
vlad-outscraper
committed
update links to pypi
1 parent bcd894a commit 92caa70

File tree

7 files changed

+20
-20
lines changed

7 files changed

+20
-20
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Python 3+
1010
pip install outscraper
1111
```
1212

13-
[Link to the python package page](https://pypi.org/project/google-services-api/)
13+
[Link to the python package page](https://pypi.org/project/outscraper/)
1414

1515
## Initialization
1616
```python

README.rst

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Python 3+
1515
pip install outscraper
1616
1717
`Link to the python package
18-
page <https://pypi.org/project/google-services-api/>`__
18+
page <https://pypi.org/project/outscraper/>`__
1919

2020
Initialization
2121
---------------
@@ -24,32 +24,32 @@ Initialization
2424
2525
from outscraper import ApiClient
2626
27-
api_client = ApiClient(api_key='SECRET_API_KEY')
27+
client = ApiClient(api_key='SECRET_API_KEY')
2828
2929
Scrape Google Search
3030
---------------------------
3131

3232
.. code:: python
3333
3434
# Search for businesses in specific locations:
35-
result = api_client.google_maps_search('restaurants brooklyn usa', limit=20, language='en')
35+
result = client.google_maps_search('restaurants brooklyn usa', limit=20, language='en')
3636
3737
# Googel Search
38-
result = api_client.google_search('bitcoin')
38+
result = client.google_search('bitcoin')
3939
4040
Scrape Google Maps (Places)
4141
---------------------------
4242

4343
.. code:: python
4444
4545
# Search for businesses in specific locations:
46-
result = api_client.google_maps_search('restaurants brooklyn usa', limit=20, language='en')
46+
result = client.google_maps_search('restaurants brooklyn usa', limit=20, language='en')
4747
4848
# Get data of the specific place by id
49-
result = api_client.google_maps_search('ChIJrc9T9fpYwokRdvjYRHT8nI4', language='en')
49+
result = client.google_maps_search('ChIJrc9T9fpYwokRdvjYRHT8nI4', language='en')
5050
5151
# Search with many queries (batching)
52-
result = api_client.google_maps_search([
52+
result = client.google_maps_search([
5353
'restaurants brooklyn usa',
5454
'bars brooklyn usa',
5555
], language='en')
@@ -60,47 +60,47 @@ Scrape Google Maps Reviews
6060
.. code:: python
6161
6262
# Get reviews of the specific place by id
63-
result = api_client.google_maps_reviews('ChIJrc9T9fpYwokRdvjYRHT8nI4', reviewsLimit=20, language='en')
63+
result = client.google_maps_reviews('ChIJrc9T9fpYwokRdvjYRHT8nI4', reviewsLimit=20, language='en')
6464
6565
# Get reviews for places found by search query
66-
result = api_client.google_maps_reviews('Memphis Seoul brooklyn usa', reviewsLimit=20, limit=500, language='en')
66+
result = client.google_maps_reviews('Memphis Seoul brooklyn usa', reviewsLimit=20, limit=500, language='en')
6767
6868
# Get only new reviews during last 24 hours
6969
from datetime import datetime, timedelta
7070
yesterday_timestamp = int((datetime.now() - timedelta(1)).timestamp())
7171
72-
result = api_client.google_maps_reviews(
72+
result = client.google_maps_reviews(
7373
'ChIJrc9T9fpYwokRdvjYRHT8nI4', sort='newest', cutoff=yesterday_timestamp, reviewsLimit=100, language='en')
7474
7575
Scrape Google Maps Photos
7676
-------------------------
7777

7878
.. code:: python
7979
80-
result = api_client.google_maps_photos(
80+
result = client.google_maps_photos(
8181
'Trump Tower, NY, USA', photosLimit=20, language='en')
8282
8383
Scrape Google Maps Directions
8484
-----------------------------
8585

8686
.. code:: python
8787
88-
result = api_client.google_maps_directions(['29.696596, 76.994928 30.7159662444353, 76.8053887016268', '29.696596, 76.994928 30.723065, 76.770169'])
88+
result = client.google_maps_directions(['29.696596, 76.994928 30.7159662444353, 76.8053887016268', '29.696596, 76.994928 30.723065, 76.770169'])
8989
9090
Scrape Google Play Reviews
9191
--------------------------
9292

9393
.. code:: python
9494
95-
result = api_client.google_play_reviews(
95+
result = client.google_play_reviews(
9696
'com.facebook.katana', reviewsLimit=20, language='en')
9797
9898
Emails And Contacts Scraper
9999
---------------------------
100100

101101
.. code:: python
102102
103-
result = api_client.emails_and_contacts(['outscraper.com'])
103+
result = client.emails_and_contacts(['outscraper.com'])
104104
105105
Responses examples
106106
------------------

examples/Emails And Contacts.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Python 3+
99
pip install outscraper
1010
```
1111

12-
[Link to the Python package page](https://pypi.org/project/google-services-api/)
12+
[Link to the Python package page](https://pypi.org/project/outscraper/)
1313

1414
## Initialization
1515
```python

examples/Google Maps Reviews.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Python 3+
99
pip install outscraper
1010
```
1111

12-
[Link to the Python package page](https://pypi.org/project/google-services-api/)
12+
[Link to the Python package page](https://pypi.org/project/outscraper/)
1313

1414
## Initialization
1515
```python

examples/Google Maps.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Python 3+
99
pip install outscraper
1010
```
1111

12-
[Link to the Python package page](https://pypi.org/project/google-services-api/)
12+
[Link to the Python package page](https://pypi.org/project/outscraper/)
1313

1414
## Initialization
1515
```python

examples/Google SERP.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Python 3+
99
pip install outscraper
1010
```
1111

12-
[Link to the Python package page](https://pypi.org/project/google-services-api/)
12+
[Link to the Python package page](https://pypi.org/project/outscraper/)
1313

1414
## Initialization
1515
```python

examples/Phones Validator.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Python 3+
99
pip install outscraper
1010
```
1111

12-
[Link to the Python package page](https://pypi.org/project/google-services-api/)
12+
[Link to the Python package page](https://pypi.org/project/outscraper/)
1313

1414
## Initialization
1515
```python

0 commit comments

Comments
 (0)