Skip to main content

Python API Client for Screenshotapi.io

Project description

An API Client for ScreenshotAPI.io (www.screenshotapi.io)

Will perform a screenshot capture using ScreenshotAPI.io and store the resulting screenshot png file locally on disk given the path prefix specified in the save_path argument.

Usage

# pip install screenshotapi
import screenshotapi

screenshotapi.get_screenshot(
    apikey='get your free apikey at www.screenshotapi.io',
    capture_request = {
          'url': 'http://www.amazon.com',
          'viewport': '1200x800',
          'fullpage': False,
          'webdriver': 'firefox',
          'javascript': True,
          'fresh': False
        },
        save_path = './'
)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for screenshotapi, version 1.1.2
Filename, size File type Python version Upload date Hashes
Filename, size screenshotapi-1.1.2.tar.gz (3.5 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page