Return caniuse data when searching for css rules.

Log in to Vote
3
3 Votes • 4 Comments
When a user searches for a css rule, say "box-sizing:border-box" it would be nice to have canisuse.com data on that rule. I often search for "caniuse box-sizing", which gives me the caniuse.com page as a top result, but it would still be nice to have it be an instant answer.
Source:
Data is available at http://caniuse.com/ but there does not appear to be an api.
• posted 3 years and 10 months ago • type: Fathead (keyword data) Needs a Developer

anonymous
There is not an API, but the data is available in raw JSON form in a github repo. I'll be taking a look at implementing this, as it doesn't seem too hard.
posted by <hidden> • 3 years and 10 months ago Link
bibhasdn
There is an API that uses caniuse data at http://api.html5please.com/ as mentioned by the author here https://github.com/Fyrd/caniuse/issues/5...
posted by bibhasdn Community Leader3 years and 9 months ago Link
anonymous
There is currently already a fathead Instant Answer for caniuse.com however a Spice could improve results.

Example: https://duckduckgo.com/?q=caniuse+css-gr...

Code: https://github.com/duckduckgo/zeroclicki...
posted by <hidden> • 3 years and 8 months ago Link
anonymous
Ideally, this would also give some more detailed info on browser support. Right now, this seems to be more focused on describing the feature, but if you are searching for it, you probably already know what it is.
posted by <hidden> • 3 years and 8 months ago Link