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

All tags

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

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

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

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

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

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

curl "https://api.oanor.com/lobsters-api/v1/tags" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/lobsters-api/v1/tags", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/lobsters-api/v1/tags");
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/lobsters-api/v1/tags",
    headers={"x-oanor-key": "oanor_test_..."}
)

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

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

{
    "data": {
        "tags": [
            {
                "tag": "ruby",
                "category": "languages",
                "description": "Ruby programming",
                "stories_count": null
            },
            {
                "tag": "event",
                "category": "genre",
                "description": "Events, conferences, and meetups",
                "stories_count": null
            },
            {
                "tag": "person",
                "category": "culture",
                "description": "Stories about particular persons",
                "stories_count": null
            },
            {
                "tag": "meta",
                "category": "lobsters",
                "description": "Lobsters-related bikeshedding - report bugs at https://github.com/lobsters/lobsters",
                "stories_count": null
            },
            {
                "tag": "php",
                "category": "languages",
                "description": "PHP programming",
                "stories_count": null
            },
            {
                "tag": "python",
                "category": "languages",
                "description": "Python programming",
                "stories_count": null
            },
            {
                "tag": "news",
                "category": "genre",
                "description": "General news and current events",
                "stories_count": null
            },
            {
                "tag": "design",
                "category": "interaction",
                "description": "Visual design",
                "stories_count": null
            },
            {
                "tag": "science",
                "category": "field",
                "description": "It's \"Science\"",
                "stories_count": null
            },
            {
                "tag": "video",
                "category": "format",
                "description": "Link to a video",
                "stories_count": null
            },
            {
                "tag": "pdf",
                "category": "format",
                "description": "Link to a PDF document",
                "stories_count": null
            },
            {
                "tag": "lua",
                "category": "languages",
                "description": "Lua programming",
                "stories_count": null
            },
            {
                "tag": "lisp",
                "category": "languages",
                "description": "Lisp and Scheme programming",
                "stories_count": null
            },
            {
                "tag": "javascript",
                "category": "languages",
                "description": "Javascript programming",
                "stories_count": null
            },
            {
                "tag": "vim",
                "category": "tools",
                "description": "Vim editor",
                "stories_count": null
            },
…