Skip to content

Latest commit

 

History

History
26 lines (16 loc) · 498 Bytes

README.md

File metadata and controls

26 lines (16 loc) · 498 Bytes

GTMetrixAPI-Python

A Python client for the GTMetrixAPI. Allows for extraction of gtmetrix metrics of applications through the RESTful interface provided by the GTMetrix team. https://gtmetrix.com/api/

Dependencies

pip install requests

How to use

import GTMetrix

# The email and api token associated with the gtmetrix account
api = GTMetrix.GTMetrixAPI(email, apiToken)

api.requestTest("http://example.com")

api.getTestResults()