Kennith Hahn
@kennith.hahn
geek
- kennith.hahn@example.com
- Phone
- +1 202-555-0100 ext 3
- Joined
- 4/30/2025
Overview
users / #201
@kennith.hahn
geek
Request
curl example
curl -sS \ "https://example-data.com/api/v1/users/201" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/users/201" ); 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/201"
);
const user = (await res.json()) as User; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/users/201"
)
user = res.json() Response
{
"id": 201,
"firstName": "Kennith",
"lastName": "Hahn",
"fullName": "Kennith Hahn",
"username": "kennith.hahn",
"email": "kennith.hahn@example.com",
"phone": "+1 202-555-0100 ext 3",
"bio": "geek",
"avatarUrl": "https://api.dicebear.com/9.x/avataaars/svg?seed=user-201",
"thumbnailUrl": "https://api.dicebear.com/9.x/avataaars/svg?seed=user-201&size=128",
"coverImageUrl": "https://picsum.photos/seed/user-cover-201/1200/400",
"emailVerified": true,
"isActive": true,
"twitterHandle": null,
"createdAt": "2025-04-30T15:04:33.952Z",
"updatedAt": "2025-06-05T16:50:07.763Z"
}