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.

Source Distribution

zenserp-0.2.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

zenserp-0.2-py2-none-any.whl (3.1 kB view details)

Uploaded Python 2

File details

Details for the file zenserp-0.2.tar.gz.

File metadata

  • Download URL: zenserp-0.2.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for zenserp-0.2.tar.gz
Algorithm Hash digest
SHA256 d476b3ae046ee2ac0a3820fd94714779eb6197c4c196031ae68721c6ef9cf57b
MD5 4ea7d3ae4272a965a38e1e62438b8d98
BLAKE2b-256 c1124218f8a062eb79078550407ba11783a5c66a202ccb133e72e7c7f4395acf

See more details on using hashes here.

File details

Details for the file zenserp-0.2-py2-none-any.whl.

File metadata

  • Download URL: zenserp-0.2-py2-none-any.whl
  • Upload date:
  • Size: 3.1 kB
  • Tags: Python 2
  • Uploaded using 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

File hashes

Hashes for zenserp-0.2-py2-none-any.whl
Algorithm Hash digest
SHA256 c1e7bc0c411e70b72b2f7e40267b4de2d8da1f1be8a0a625fe61ba54913cfaaa
MD5 b5705d1f1d6784507d26ee43698b9089
BLAKE2b-256 efab79d1d1f565e84e792b27e86fb265433f1e10c629c762415c9ab40271714d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page