example-data.com

hashtags / #12

#coding

Component variants

Medium

#coding

Small
#coding
curl -sS \
  "https://example-data.com/api/v1/hashtags/12" \
  -H "Accept: application/json"
const res = await fetch(
  "https://example-data.com/api/v1/hashtags/12"
);
const hashtag = await res.json();
import type { Hashtag } from "https://example-data.com/types/hashtags.d.ts";

const res = await fetch(
  "https://example-data.com/api/v1/hashtags/12"
);
const hashtag = (await res.json()) as Hashtag;
import requests

res = requests.get(
    "https://example-data.com/api/v1/hashtags/12"
)
hashtag = res.json()
{
  "id": 12,
  "tag": "coding",
  "useCount": 2853
}
Draftbit