Create screenshots via a pip package.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
django_screenshots
sample-screenshots-api-server
.gitignore
CHANGES.txt
LICENSE.txt
MANIFEST
MANIFEST.in
README.txt
setup.py

README.txt

==================
django-screenshots
==================

DM me on github, or @barce on twitter, if
you want to see a working demo.

installation
===========================================
    pip install django-screenshots
    pip install requests

set values for using environment variables: 
===========================================
    export SCREENSHOT_USER=''
    export SCREENSHOT_PASSWORD=''
    export SCREENSHOT_SERVER_URL=''
    export SCREENSHOT_FORCE_ENV='1'


set values for using django settings: 
===========================================
    SCREENSHOT_USER=''
    SCREENSHOT_PASSWORD=''
    SCREENSHOT_SERVER_URL=''


Capture a screen shot and get the URL:
======================================
    from django_screenshots import Builder
    b = Builder('http://www.google.com/')
    b.capture()
    print(b.image_url)

Get info about a screen shot:
=============================
    from django_screenshots import Builder
    b = Builder('http://www.google.com/')
    print(b.info())

Search for a URL:
=================
    from django_dscreenshots import Builder
    b = Builder('http://www.google.com/')
    print(b.search())

For developers:
===============
    How to upload to pypi:
      python setup.py sdist register upload
      # python setup.py sdist
      # twine upload dist/*