Skip to content

Library to calculate your page speed through 'Google pagespeed insights' api

Notifications You must be signed in to change notification settings

prashanth-sams/google_pagespeed_insights

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Google Pagespeed insights

Library to calculate your page speed through Google pagespeed insights api

#Python 3.6 Python 3.6

  • Make sure you add all the page urls inside the config.json file
  • Applied performance tests for a specific page url as well multiple pages on a single run

Desktop Web

► single page url

python insights_python_3/single_page.py desktop <your_page>

► all page urls

python insights_python_3/all_pages.py desktop

Mobile Web

► single page url

python insights_python_3/single_page.py mobile <your_page>

► all page urls

python insights_python_3/all_pages.py mobile

#Python 2 Python 2

  • Make sure you add all the page urls inside the config.json file
  • Applied performance tests for multiple pages on a single run

Desktop Web

► all page urls

python insights_python_2/all_pages.py desktop

Mobile Web

► all page urls

python insights_python_2/all_pages.py mobile