screenshotbase Python Client is the official Python wrapper around the Screenshotbase API.
Install from pip (after release):
pip install screenshotbaseInstall from code:
pip install git+https://github.com/everapihq/screenshotbase-python.gitAll 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")print(client.status())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)Any feedback? Please feel free to contact our team.