Metadata-Version: 2.1
Name: zenserp
Version: 0.1.1
Summary: Zenserp Python Client
Home-page: https://github.com/zenserp/zenserp-python
Author: zenserp
Author-email: office@zenserp.com
License: MIT
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Description-Content-Type: text/markdown
Requires-Dist: requests

# Zenserp Python Client #

Zenserp Python Client is the official Python Wrapper around the zenserp [API](https://docs.zenserp.com).

## Installation

Install from pip:
````sh
pip install zenserp
````

Install from code:
````sh
pip install git+https://github.com/zenserp/zenserp-python.git
````

## Usage

All zenserp API requests are made using the `Client` class. This class must be initialized with your API access key string. [Where is my API access key?](https://app.zenserp.com/dashboard)

In your Python application, import `zenserp` and pass authentication information to initialize it:

````python
import zenserp
client = zenserp.Client('API_KEY')
````

### Retrieve Status

```python

status = client.status()
print(status['remaining_requests'])

```

### Retrieve SERPs

```python

params = (
    ('q', 'Pied Piper'),
    ('location', 'United States'),
    ('search_engine', 'google.com'),
    ('language', 'English'),
)

result = client.search(params)
print(result)

```

### Contact us
Any feedback? Please feel free to [contact our team](mailto:office@zenserp.com).


