Kennith Hahn
@kennith.hahn
geek
- kennith.hahn@example.com
- Phone
- (760) 699-7174
- Joined
- 4/30/2025
users / #201
@kennith.hahn
geek
curl -sS \
"https://example-data.com/api/v1/users/201" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/users/201"
);
const user = await res.json();import type { User } from "https://example-data.com/types/users.d.ts";
const res = await fetch(
"https://example-data.com/api/v1/users/201"
);
const user = (await res.json()) as User;import requests
res = requests.get(
"https://example-data.com/api/v1/users/201"
)
user = res.json() {
"id": 201,
"firstName": "Kennith",
"lastName": "Hahn",
"fullName": "Kennith Hahn",
"username": "kennith.hahn",
"email": "kennith.hahn@example.com",
"phone": "(760) 699-7174",
"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"
}