example-data.com
Menu
Browse docs and collections

Overview

tags / #60

admoveo

Component variants

Medium

admoveo

Small
admoveo

Request

curl example

curl -sS \
  "https://example-data.com/api/v1/tags/60" \
  -H "Accept: application/json"

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/tags/60"
);
const tag = await res.json();

TypeScript example

// Download once: mkdir -p types && curl -o types/tags.d.ts https://example-data.com/types/tags.d.ts
import type { Tag } from "./types/tags";

const res = await fetch(
  "https://example-data.com/api/v1/tags/60"
);
const tag = (await res.json()) as Tag;

Python example

import requests

res = requests.get(
    "https://example-data.com/api/v1/tags/60"
)
tag = res.json()

Response

{
  "id": 60,
  "name": "admoveo",
  "slug": "admoveo",
  "color": "#2cda8f",
  "useCount": 128
}