example-data.com

hashtags

hashtags

Page 2 of 5.

curl -sS \
  "https://example-data.com/api/v1/hashtags?limit=25"
const res = await fetch(
  "https://example-data.com/api/v1/hashtags?limit=25"
);
const { data, meta } = await res.json();
import type { Hashtag, ListEnvelope } from "https://example-data.com/types/hashtags.d.ts";

const res = await fetch(
  "https://example-data.com/api/v1/hashtags?limit=25"
);
const { data, meta } = (await res.json()) as ListEnvelope<Hashtag>;
import requests

res = requests.get(
    "https://example-data.com/api/v1/hashtags",
    params={"limit": 25},
)
data = res.json()
{
  "data": [
    {
      "id": 25,
      "tag": "productivity",
      "useCount": 4569
    },
    {
      "id": 26,
      "tag": "movies",
      "useCount": 3221
    },
    {
      "id": 27,
      "tag": "books",
      "useCount": 3551
    }
  ],
  "meta": {
    "page": 2,
    "limit": 24,
    "total": 100,
    "totalPages": 5
  },
  "links": {
    "self": "/api/v1/hashtags?page=2",
    "next": "/api/v1/hashtags?page=3",
    "prev": "/api/v1/hashtags?page=1"
  }
}
Draftbit