Skip to main content

Zenserp Python Client

Project description

Zenserp Python Client

Zenserp Python Client is the official Python Wrapper around the zenserp API.

Installation

Install from pip:

pip install zenserp

Install from code:

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?

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

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

Retrieve Status

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

Retrieve SERPs

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

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

Contact us

Any feedback? Please feel free to contact our team.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for zenserp, version 0.2
Filename, size File type Python version Upload date Hashes
Filename, size zenserp-0.2-py2-none-any.whl (3.1 kB) File type Wheel Python version py2 Upload date Hashes View
Filename, size zenserp-0.2.tar.gz (2.9 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page