example-data.com
Menu
Browse docs and collections

Overview

hashtags / #95

#acer

Component variants

Medium

#acer

Small
#acer

Request

curl example

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

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/hashtags/95"
);
const hashtag = await res.json();

TypeScript example

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

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

Python example

import requests

res = requests.get(
    "https://example-data.com/api/v1/hashtags/95"
)
hashtag = res.json()

Response

{
  "id": 95,
  "tag": "acer",
  "useCount": 4005
}