webstatus.dev icon indicating copy to clipboard operation
webstatus.dev copied to clipboard

Feature request: make the results available in JSON format

Open mathiasbynens opened this issue 1 year ago • 3 comments
trafficstars

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.

mathiasbynens avatar May 14 '24 20:05 mathiasbynens

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

jcscottiii avatar May 14 '24 20:05 jcscottiii

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.

foolip avatar May 14 '24 21:05 foolip

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.

foolip avatar May 24 '24 07:05 foolip

@mathiasbynens Given we have the CSV export, can we close this?

jcscottiii avatar Apr 09 '25 04:04 jcscottiii