Skip to content

Commit 8e1c5aa

Browse files
authored
Rd 217 (#33)
* add transport * code refactoring * renamed api client name * move get_request_archive to client; code refactoring transport * added alias ApiClient * added alias ApiClient
1 parent bfc6704 commit 8e1c5aa

38 files changed

+328
-297
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ pip install outscraper
1717

1818
## Initialization
1919
```python
20-
from outscraper import ApiClient
20+
from outscraper import OutscraperClient
2121

22-
client = ApiClient(api_key='SECRET_API_KEY')
22+
client = OutscraperClient(api_key='SECRET_API_KEY')
2323
```
2424
[Link to the profile page to create the API key](https://auth.outscraper.com/profile)
2525

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ Initialization
2525

2626
.. code:: python
2727
28-
from outscraper import ApiClient
28+
from outscraper import OutscraperClient
2929
30-
client = ApiClient(api_key='SECRET_API_KEY')
30+
client = OutscraperClient(api_key='SECRET_API_KEY')
3131
3232
`Link to the profile page to create the API
3333
key <https://app.outscraper.com/profile>`__

examples/Company Insights.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ pip install outscraper
1313

1414
## Initialization
1515
```python
16-
from outscraper import ApiClient
16+
from outscraper import OutscraperClient
1717

18-
client = ApiClient(api_key='SECRET_API_KEY')
18+
client = OutscraperClient(api_key='SECRET_API_KEY')
1919
```
2020
[Link to the profile page to create the API key](https://app.outscraper.com/profile)
2121

examples/Company Website Finder.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ pip install outscraper
1313

1414
## Initialization
1515
```python
16-
from outscraper import ApiClient
16+
from outscraper import OutscraperClient
1717

18-
client = ApiClient(api_key='SECRET_API_KEY')
18+
client = OutscraperClient(api_key='SECRET_API_KEY')
1919
```
2020
[Link to the profile page to create the API key](https://app.outscraper.com/profile)
2121

examples/Contacts And Leads.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ pip install outscraper
1313

1414
## Initialization
1515
```python
16-
from outscraper import ApiClient
16+
from outscraper import OutscraperClient
1717

18-
client = ApiClient(api_key='SECRET_API_KEY')
18+
client = OutscraperClient(api_key='SECRET_API_KEY')
1919
```
2020
[Link to the profile page to create the API key](https://app.outscraper.cloud/profile)
2121

examples/Email Addresses Finder.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ pip install outscraper
1313

1414
## Initialization
1515
```python
16-
from outscraper import ApiClient
16+
from outscraper import OutscraperClient
1717

18-
client = ApiClient(api_key='SECRET_API_KEY')
18+
client = OutscraperClient(api_key='SECRET_API_KEY')
1919
```
2020
[Link to the profile page to create the API key](https://app.outscraper.com/profile)
2121

examples/Email Validator.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ pip install outscraper
1313

1414
## Initialization
1515
```python
16-
from outscraper import ApiClient
16+
from outscraper import OutscraperClient
1717

18-
client = ApiClient(api_key='SECRET_API_KEY')
18+
client = OutscraperClient(api_key='SECRET_API_KEY')
1919
```
2020
[Link to the profile page to create the API key](https://app.outscraper.com/profile)
2121

examples/Emails And Contacts.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ pip install outscraper
1313

1414
## Initialization
1515
```python
16-
from outscraper import ApiClient
16+
from outscraper import OutscraperClient
1717

18-
client = ApiClient(api_key='SECRET_API_KEY')
18+
client = OutscraperClient(api_key='SECRET_API_KEY')
1919
```
2020
[Link to the profile page to create the API key](https://app.outscraper.com/profile)
2121

examples/Enrichments.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ pip install outscraper
1313

1414
## Initialization
1515
```python
16-
from outscraper import ApiClient
16+
from outscraper import OutscraperClient
1717

18-
client = ApiClient(api_key='SECRET_API_KEY')
18+
client = OutscraperClient(api_key='SECRET_API_KEY')
1919
```
2020
[Link to the profile page to create the API key](https://app.outscraper.com/profile)
2121

examples/Google Directions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ pip install outscraper
1313

1414
## Initialization
1515
```python
16-
from outscraper import ApiClient
16+
from outscraper import OutscraperClient
1717

18-
client = ApiClient(api_key='SECRET_API_KEY')
18+
client = OutscraperClient(api_key='SECRET_API_KEY')
1919
```
2020
[Link to the profile page to create the API key](https://app.outscraper.com/profile)
2121

0 commit comments

Comments
 (0)