webstatus.dev
webstatus.dev copied to clipboard
Feature request: make the results available in JSON format
For CLIs/scripts to easily consume the results, it would be nice to make the test scores available in JSON format.
Right now webstatus.dev only includes WPT test results and arguably one could use the WPT API to compute the scores from there, but this would especially become helpful once ECMAScript/Test262 and WebAssembly test scores are reported as well.
Hey @mathiasbynens, we do offer an API for our current service. It is accessible at https://api.webstatus.dev
Is this something that would work for your use-case?
On a semi-related note, it would be great to get Test262 scores into the dashboard. But we would need a way of mapping those test scores to web features. If you have any ideas, let me know. Currently, we only have the spec links from web-features. But we probably want a more concrete way.
cc: @foolip
Regarding Test262, I made an attempt in https://github.com/web-platform-dx/web-features/pull/1054 but found that most likely we'll also need to identify some features by path. Then we would also need results from stable browsers, which https://test262.fyi/ doesn't have.
See also https://github.com/GoogleChrome/webstatus.dev/issues/305 about CSV. We probably only need one format, or at least 99% of the implementation should be the same regardless of format.
@mathiasbynens Given we have the CSV export, can we close this?