I've run my code below in the morning (between 8AM EST - 11AM EST) and no data populates for my urls, however in the evening (at no specific time) data populates.
I'm using the Crux API docs here, specifically looking at daily-updates:https://developer.chrome.com/docs/crux/api/#daily-updates
Which states:
Data is updated daily around 04:00 UTC. There is no service level agreement for update times; it is run on a best-effort basis every day.
More importantly it also states:
Data will not differ within the same day after it has been updated around 04:00 UTC, repeated calls will yield the same results.
Which I feel means should have data always populating for these urls if they had populated for the previous day!
My code:
import requests import json x = {"formFactor":"TABLET", "metrics":["largest_contentful_paint", "experimental_time_to_first_byte", "first_contentful_paint", "cumulative_layout_shift", "first_input_delay", "experimental_interaction_to_next_paint"], "url":"https://www.happy-tests.com/id", } url = "https://chromeuxreport.googleapis.com/v1/records:queryRecord?key={key}" headers = {"Content-Type": "application/json", "Accept": "application/json"} response = requests.post(url, json=x, headers=headers) response_json = response.json() print(response_json)'error': {'code': 404, 'message': 'chrome ux report data not found', 'status': 'NOT_FOUND'}}
--
You received this message because you are subscribed to the Google Groups "Chrome UX Report (Discussions)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chrome-ux-repo...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chrome-ux-report/28f7b46a-27e4-4a4c-b7b2-3146bba73aa1n%40chromium.org.