An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

# Google Pagespeed insights
> Library to calculate your page speed through Google pagespeed insights api

## ![#Python 3.6](https://placehold.it/15/1589F0/000000?text=+) `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](https://placehold.it/15/c5f015/000000?text=+) `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
```