Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Screenshotbase Python Client

screenshotbase Python Client is the official Python wrapper around the Screenshotbase API.

Installation

Install from pip (after release):

pip install screenshotbase

Install from code:

pip install git+https://github.com/everapihq/screenshotbase-python.git

Usage

All Screenshotbase API requests are made using the Screenshotbase class. This class must be initialized with your API access key string. Where is my API access key?

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

from screenshotbase import Screenshotbase
client = Screenshotbase("API_KEY")

Retrieve Status

print(client.status())

Take a Screenshot

See docs at https://screenshotbase.com.

img = client.take("https://bbc.com", format="png", full_page=True)
with open("screenshot.png", "wb") as f:
    f.write(img)

Contact us

Any feedback? Please feel free to contact our team.

About

A simple wrapper for screenshotbase.com - a screenshot API

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages