Skip to content
Python module for the Qualys SSL Labs Server Test
Python
Branch: master
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.
.DS_Store
LICENSE
README.md
SSL Labs API Documentation.docx
ssllabsscanner.py

README.md

ssllabs.py

Python module for the Qualys SSL Labs Server Test

Dependencies:

Requires the third-party Python Requests library - http://docs.python-requests.org/en/latest/

Developed with support of Python 2/3.

Use:

Download module and navigate inside ssllabs folder.

Then:

import ssllabsscanner

For results from cache:

data = ssllabsscanner.resultsFromCache("www.qualys.com")

data now contains a JSON object that can be parsed for your needs.

Parse the object to determine your grade:

print(data['endpoints'][0]['grade'])

For retrieving the data from a new scan:

data = ssllabsscanner.newScan("www.qualys.com")

data now contains a JSON object that can be parsed for your needs.

You can’t perform that action at this time.