Python API Client for Screenshotapi.io
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.
pip install screenshotapi
Command Line Usage
The installer also provids a command line interface. You can use it as follows.
$ export SCREENSHOTAPI_KEY=your-key-goes-here $ screenshotapi --url http://amazon.com \ --viewport 1200x800 \ --webdriver firefox \ --save-path ./
Note that you can provide a SCREENSHOTAPI_KEY environment variable that can then be used for subsequent calls, or you can use an --apikey argument on each call.
To get a free API key, go to www.screenshotapi.io.
Copyright (c) 2018 Competitor Archive, LLC
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size screenshotapi-1.1.3.tar.gz (4.6 kB)||File type Source||Python version None||Upload date||Hashes View|