There are several options for how to start using the PageSpeed Insights API.
The one-minute experience: APIs Explorer
To play around and see what the API can do, without writing any code, visit the APIs Explorer. Instant gratification!
The one-hour experience: Your First App
For a step-by-step tutorial explaining how to get up and running, follow the instructions in Your First App.
To look up a particular resource type or method, see the Reference.