Zenserp Python Client is the official Python Wrapper around the zenserp API.
Install from pip:
pip install zenserp
Install from code:
pip install git+https://github.com/zenserp/zenserp-python.git
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')
status = client.status()
print(status['remaining_requests'])
params = (
('q', 'Pied Piper'),
('location', 'United States'),
('search_engine', 'google.com'),
)
result = client.search(params)
print(result)
Any feedback? Please feel free to contact our team.