Skip to content

A python script that runs an internet connection test and posts the results to a rest endpoint.

License

Notifications You must be signed in to change notification settings

mitchmckenzie/speed-test-isp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

speed-test-isp

A python script that runs an internet connection speed test and posts the results to a rest endpoint.

The script is intended to be used with a rest api generated by this cdk stack.

Installation

Please be sure you have python 3 installed:

python3 --version

To install dependencies run :

pip3 install -r requirements.txt

Update config.py with the the api gateway url and api key created by this cdk stack:

# AWS API GATEWAY SETTINGS
URL = 'AWS-API-GATEWAY-URL-FROM-CDK-STACK'
API_KEY = 'AWS-API-GATEWAY-KEY-FROM-CDK-STACK'
CUSTOMER_NAME = "YOUR-NAME"

Example:

# AWS API GATEWAY SETTINGS
URL = 'https://00xyzabc123.execute-api.us-east-1.amazonaws.com/prod/v1/save-results'
API_KEY = 'lMngHsABCy8jBarlpsFOO8QvNwuyd45X2nC9hza2'
CUSTOMER_NAME = "Joe Customer"

Releases

No releases published

Packages

No packages published

Languages