Μετάβαση στο περιεχόμενο
GET /v1/features

List features

Δοκιμάστε το ζωντανά

10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.

Προσαρμοσμένες κεφαλίδες (προαιρετικά)
api.oanor.com/caniuse-api

Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.

Λάβετε ένα κλειδί API

Αποσπάσματα κώδικα

curl "https://api.oanor.com/caniuse-api/v1/features" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/caniuse-api/v1/features", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/caniuse-api/v1/features");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/caniuse-api/v1/features",
    headers={"x-oanor-key": "oanor_test_..."}
)

Παράδειγμα απόκρισης

Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.

{
    "data": {
        "count": 554,
        "category": null,
        "features": [
            {
                "id": "audio",
                "title": "Audio element",
                "status": "ls",
                "categories": [
                    "HTML5"
                ],
                "usage_total": 96.28
            },
            {
                "id": "css-page-break",
                "title": "CSS page-break properties",
                "status": "rec",
                "categories": [
                    "CSS"
                ],
                "usage_total": 96.28
            },
            {
                "id": "getboundingclientrect",
                "title": "Element.getBoundingClientRect()",
                "status": "wd",
                "categories": [
                    "JS API"
                ],
                "usage_total": 96.28
            },
            {
                "id": "mp3",
                "title": "MP3 audio format",
                "status": "other",
                "categories": [
                    "Other"
                ],
                "usage_total": 96.28
            },
            {
                "id": "online-status",
                "title": "Online/offline status",
                "status": "ls",
                "categories": [
                    "JS API"
                ],
                "usage_total": 96.28
            },
            {
                "id": "svg-css",
                "title": "SVG in CSS backgrounds",
                "status": "cr",
                "categories": [
                    "CSS3",
                    "SVG"
                ],
                "usage_total": 96.28
            },
            {
                "id": "video",
                "title": "Video element",
                "status": "ls",
                "categories": [
                    "HTML5"
                ],
                "usage_total": 96.28
            },
            {
                "id": "wordwrap",
                "title": "CSS3 Overflow-wrap",
                "status": "cr",
                "categories": [
                    "CSS3"
                ],
                "usage_total": 96.28
            },
            {
                "id": "addeventlistener",
                "title": "EventTarget.addEventListener()",
                "status": "ls",
                "categories": [
                    "DOM"
                ],
                "usage_total": 96.27
            },
            {
                "id": "background-img-opts",
                "title": "CSS3 Background-image options",
                "status": "cr",
                "categories": [
                    "CSS3"
                ],
                "usage_total": 96.27
            },
            {
                "id": "border-radius",
                "title": "CSS3 Border-radius (rounded corners)",
                "status": "cr",
                "categories": [
                    "CSS3"
                ],
           
…