Gerald Lind
@gerald_lind57
philosopher, entrepreneur, gamer 🍃
- Phone
- +1 202-555-0178 ext 2
- Joined
- 10/1/2024
Overview
users / #179
@gerald_lind57
philosopher, entrepreneur, gamer 🍃
Request
curl example
curl -sS \ "https://example-data.com/api/v1/users/179" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/users/179" ); const user = await res.json();
TypeScript example
// Download once: mkdir -p types && curl -o types/users.d.ts https://example-data.com/types/users.d.ts
import type { User } from "./types/users";
const res = await fetch(
"https://example-data.com/api/v1/users/179"
);
const user = (await res.json()) as User; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/users/179"
)
user = res.json() Response
{
"id": 179,
"firstName": "Gerald",
"lastName": "Lind",
"fullName": "Gerald Lind",
"username": "gerald_lind57",
"email": "gerald_lind57@example.com",
"phone": "+1 202-555-0178 ext 2",
"bio": "philosopher, entrepreneur, gamer 🍃",
"avatarUrl": "https://api.dicebear.com/9.x/avataaars/svg?seed=user-179",
"thumbnailUrl": "https://api.dicebear.com/9.x/avataaars/svg?seed=user-179&size=128",
"coverImageUrl": "https://picsum.photos/seed/user-cover-179/1200/400",
"emailVerified": true,
"isActive": true,
"twitterHandle": "gerald_lind57",
"createdAt": "2024-10-01T11:40:39.897Z",
"updatedAt": "2026-01-20T20:53:02.880Z"
}