Phare is a web performance monitoring API, built with Ruby On Rails, to periodically monitor URLs with Google PageSpeed Insights API and provide the most relevant statistics.
- Postgres >= 10
Add an URL to the monitoring pool:
Request: PUT /api/v1/pub/pages
Payload:
{
"url": "https://www.google.com",
"audit_frequency": "hourly"
}
Response:
{
"id": 1,
"url": "https://www.google.com"
}
- If the URL does not exist, it will be created and fetched soon
- If the URL exists, it will be fetched again soon
Find the full documentation of the Phare API on SwaggerHub.
This project is MIT licensed.