Metadata-Version: 2.1
Name: quickscraper-sdk
Version: 1.0.7
Summary: https://quickscraper.co
Home-page: https://quickscraper.co/
Author: QuickScraper
Author-email: app@quickscraper.co
License: BSD
Keywords: quickscraper
Classifier: Development Status :: 3 - Alpha
Classifier: Topic :: Utilities
Classifier: License :: OSI Approved :: BSD License
Description-Content-Type: text/markdown
License-File: LICENSE

# quickscraper-sdk-python

[Register For Free https://www.quickscraper.co](https://www.quickscraper.co)

## Installation

```bash
pip install quickscraper-sdk
```

## Get Free Access (Free Forever)

- Register yourself here [https://app.quickscraper.co/auth/register](https://app.quickscraper.co/auth/register)

## Examples

### Basic Usage

```python
from quickscraper_sdk import QuickScraper
quickscraper_client = QuickScraper('YOUR_ACCESS_TOKEN')
response = quickscraper_client.getHtml('http://httpbin.org/ip')
print(response.text)
```

### Write a HTML to File

```python
from quickscraper_sdk import QuickScraper
quickscraper_client = QuickScraper('YOUR_ACCESS_TOKEN')
quickscraper_client.writeHtmlToFile(
    'http://httpbin.org/ip', file_path='filename.html')
```

### Rendering Javascript

```python
from quickscraper_sdk import QuickScraper
quickscraper_client = QuickScraper('YOUR_ACCESS_TOKEN')
response = quickscraper_client.getHtml('http://httpbin.org/ip', render=True)
print(response.text)
```

### Custom Headers

```python
from quickscraper_sdk import QuickScraper
quickscraper_client = QuickScraper('YOUR_ACCESS_TOKEN')
response = quickscraper_client.getHtml(
    'https://httpbin.org/headers', keep_headers=True, headers={'X-My-Custom-Header': 'QS-APP'})
print(response.text)
```

### Geographic Location

```python
from quickscraper_sdk import QuickScraper
quickscraper_client = QuickScraper('YOUR_ACCESS_TOKEN')
response = quickscraper_client.getHtml(
    'http://httpbin.org/ip', country_code='US')
print(response.text)
```

### Premium Residential/Mobile Proxy Pools

```python
from quickscraper_sdk import QuickScraper
quickscraper_client = QuickScraper('YOUR_ACCESS_TOKEN')
response = quickscraper_client.getHtml('http://httpbin.org/ip', premium=True)
print(response.text)
```

### Device Type

```python
from quickscraper_sdk import QuickScraper
quickscraper_client = QuickScraper('YOUR_ACCESS_TOKEN')
response = quickscraper_client.getHtml('http://httpbin.org/ip', device_type='mobile')
print(response.text)
```

### Account Information

```python
from quickscraper_sdk import QuickScraper
quickscraper_client = QuickScraper('YOUR_ACCESS_TOKEN')
usage = quickscraper_client.account()
print(usage)
```

## Do you need an expert?

Are you finding a developer for your world-class product? If yes, please contact here.
Originally by [QuickScraper Developers - app@quickscraper.co](mailto:app@quickscraper.co).
