example-data.com
Menu
Browse docs and collections

Overview

activists / #24

Carolyn Roberts

Carolyn Roberts

Vito demulceo turpis molestiae temptatio. Labore averto audeo. Cupiditas creator crux utor vinco quisquam amaritudo vulpes.

Component variants

Request

curl example

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

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/activists/24"
);
const activist = await res.json();

TypeScript example

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

const res = await fetch(
  "https://example-data.com/api/v1/activists/24"
);
const activist = (await res.json()) as Activist;

Python example

import requests

res = requests.get(
    "https://example-data.com/api/v1/activists/24"
)
activist = res.json()

Response

{
  "id": 24,
  "name": "Carolyn Roberts",
  "slug": "carolyn-roberts",
  "bio": "Vito demulceo turpis molestiae temptatio. Labore averto audeo. Cupiditas creator crux utor vinco quisquam amaritudo vulpes.",
  "bornYear": 1985,
  "diedYear": 2019,
  "causes": [
    "Climate change"
  ],
  "country": "Antigua and Barbuda",
  "imageUrl": "https://picsum.photos/seed/activist-24/600/600",
  "accomplishments": [
    "Est capio fugit tener.",
    "Sto averto ciminatio appono adeptio."
  ],
  "createdAt": "2025-05-26T21:18:05.327Z"
}