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.
Source Distribution
screenshotapi-1.1.2.tar.gz
(3.5 kB
view hashes)