IT Notes : Experimenting Google PageSpeed Insights API
Google PageSpeed Insights is a valuable tool for analysing web page speed and performance Google PageSpeed Insights API URL: “https://www.googleapis.com/pagespeedonline/v5/runPagespeed” Test web page URL = www.abovethcloud.com Parameters For Mobile device : https://www.googleapis.com/pagespeedonline/v5/runPagespeed?url=https://www.abovethcloud.com/&strategy=mobile&locale=en For Desktop device : https://www.googleapis.com/pagespeedonline/v5/runPagespeed?url=https://www.abovethcloud.com/&strategy=desktop&locale=en Return for mobile device Return for desktop device Relevant data can be read from return JSON file. Extend Reading Get the most out of PageSpeed Insights API with Python