https://github.com/prashanth-sams/google_pagespeed_insights
Library to calculate your page speed through 'Google pagespeed insights' api
https://github.com/prashanth-sams/google_pagespeed_insights
google google-page-speed google-pagespeed google-pagespeed-insights insights load-test pagespeed performance-analysis performance-test
Last synced: 11 months ago
JSON representation
Library to calculate your page speed through 'Google pagespeed insights' api
- Host: GitHub
- URL: https://github.com/prashanth-sams/google_pagespeed_insights
- Owner: prashanth-sams
- Created: 2019-05-21T11:48:39.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-05-23T14:00:32.000Z (about 7 years ago)
- Last Synced: 2025-04-06T23:27:44.705Z (about 1 year ago)
- Topics: google, google-page-speed, google-pagespeed, google-pagespeed-insights, insights, load-test, pagespeed, performance-analysis, performance-test
- Language: Python
- Size: 6.84 KB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Google Pagespeed insights
> Library to calculate your page speed through Google pagespeed insights api
##  `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
```
► all page urls
```
python insights_python_3/all_pages.py desktop
```
**Mobile Web**
► single page url
```
python insights_python_3/single_page.py mobile
```
► all page urls
```
python insights_python_3/all_pages.py mobile
```
##  `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
```