https://github.com/g0rbe/go-pagespeed
Golang module to the PageSpeed Insights API v5
https://github.com/g0rbe/go-pagespeed
go google-api pagespeed pagespeed-insights
Last synced: 11 days ago
JSON representation
Golang module to the PageSpeed Insights API v5
- Host: GitHub
- URL: https://github.com/g0rbe/go-pagespeed
- Owner: g0rbe
- License: mit
- Created: 2024-07-19T15:23:11.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-24T18:06:03.000Z (almost 2 years ago)
- Last Synced: 2025-03-07T13:52:06.931Z (over 1 year ago)
- Topics: go, google-api, pagespeed, pagespeed-insights
- Language: Go
- Homepage:
- Size: 19.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# go-pagespeed
[](https://goreportcard.com/report/github.com/g0rbe/go-pagespeed)
[](https://pkg.go.dev/github.com/g0rbe/go-pagespeed)
Golang module to the PageSpeed Insights API v5.
Google Docs: [Get Started with the PageSpeed Insights API](https://developers.google.com/speed/docs/insights/v5/get-started)
Get:
```bash
go get github.com/g0rbe/go-pagespeed@latest
```
Get the latest tag (if Go module proxy is not updated):
```bash
go get "github.com/g0rbe/go-pagespeed@$(curl -s 'https://api.github.com/repos/g0rbe/go-pagespeed/tags' | jq -r '.[0].name')"
```
Get the latest commit (if Go module proxy is not updated):
```bash
go get "github.com/g0rbe/go-pagespeed@$(curl -s 'https://api.github.com/repos/g0rbe/go-pagespeed/commits' | jq -r '.[0].sha')"
```
## TODO
- `LighthouseResult.i18n`
- `LighthouseResult.fullPageScreenshot`