To get data from the Google PageSpeed, Mobile-Friendly Test and Safe Browsing services in Netpeak Checker, it is necessary to obtain a public API-key. This key is free and fits all these services.
This guide will show you how to get the key and activate the access to required services.
- Create a project
- Enable API
- Create an API key
- Copy the key
- Paste the key in Netpeak Checker
- Limits on API usage
1. Create a Project
First of all, it is necessary to create a project in the Google Developers Console. To do it, head to the developers console and choose the 'Credentials' section located on the left navigational panel.
Then enter 'Netpeak Checker 'as the project name on the 'New Project' textbox and save by clicking the blue button 'Create.'
2. Enable API
Before creating the key, enable APIs of the required services for the project. To do it, use the search available on the top of the page. Enter the name of the required service in the search line:
- PageSpeed Insights.
- Safe Browsing API.
- URL Testing Tools (Mobile-Friendly Test)
Choose the appropriate service in the search results and then use the blue button ‘Enable‘ to activate access to it via API.
It is recommended to enable three services at once even if you don't need to use all of them now. It will allow you to save time on enabling API in the future.
Press the ‘Enable’ button to open the page with service settings.
3. Create an API Key
To create a key, head to the 'Credentials' section of the service settings and click on the blue dropdown list 'Create credentials '.
Choose the 'API key' option there.
4. Copy the Key
The API key will be specified in the pop-up window. Copy it and close the pop-up window.
Note that this key fits all Google services, so you don’t need to create it for other ones. Simply enable the access to them the way you did in the 2nd paragraph of this manual.
You can check what services are enabled for the project in the API dashboard.
5. Paste the Key in Netpeak Checker
Open the ‘Google API Services‘ tab in Netpeak Checker settings, paste the key in the ‘API key‘ field and press ‘OK‘.
Congratulations! You have successfully connected Google services in Netpeak Checker! Now you can get data from PageSpeed Insights, Mobile-Friendly Test and Safe Browsing services.
6. Limits on API Usage
When working with Google services in Netpeak Checker, be aware of the limits on API usage. These are mentioned in the ‘Quotas‘ section of each service’s settings.
At the time of writing this manual, the limits in the services are:
1) PageSpeed Insight:
- 25 000 requests per day;
- 1 000 requests per 100 seconds;
- 60 requests per 100 seconds per user.
2) Mobile-Friendly Test:
- 1 request per 100 seconds.
Note that checking Mobile-Friendly Test for a big number of pages may take plenty of time.
3) Safe Browsing:
- 10 000 requests per day;
- 3 000 requests per 100 seconds per user.