Skip to main content

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.

Metadata

Release files for zenserp 0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for zenserp 0.2
File Size Uploaded
zenserp-0.2.tar.gz 2.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for zenserp 0.2
File Interpreter ABI Platform
zenserp-0.2-py2-none-any.whl Python 2 none any Details

Total release size: 6.0 kB

Release files / zenserp-0.2.tar.gz

Download URL zenserp-0.2.tar.gz
Size 2.9 kB
Tags Source
SHA-256 checksum
How to use checksums
d476b3ae046ee2ac0a3820fd94714779eb6197c4c196031ae68721c6ef9cf57b
BLAKE2b-256 checksum
How to use checksums
c1124218f8a062eb79078550407ba11783a5c66a202ccb133e72e7c7f4395acf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/2.7.16

Release files / zenserp-0.2-py2-none-any.whl

Download URL zenserp-0.2-py2-none-any.whl
Size 3.1 kB
Tags Python 2
SHA-256 checksum
How to use checksums
c1e7bc0c411e70b72b2f7e40267b4de2d8da1f1be8a0a625fe61ba54913cfaaa
BLAKE2b-256 checksum
How to use checksums
efab79d1d1f565e84e792b27e86fb265433f1e10c629c762415c9ab40271714d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/2.7.16

Release history Release notifications | RSS feed

This release

0.2 This release

2 release files

0.1.1

2 release files

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page