Lawrence Rogahn
@lawrence_rogahn33
educator, leader, student
- Phone
- +1 202-555-0144 ext 3
- Joined
- 4/12/2025
Overview
users / #245
@lawrence_rogahn33
educator, leader, student
Request
curl example
curl -sS \ "https://example-data.com/api/v1/users/245" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/users/245" ); 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/245"
);
const user = (await res.json()) as User; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/users/245"
)
user = res.json() Response
{
"id": 245,
"firstName": "Lawrence",
"lastName": "Rogahn",
"fullName": "Lawrence Rogahn",
"username": "lawrence_rogahn33",
"email": "lawrence_rogahn33@example.com",
"phone": "+1 202-555-0144 ext 3",
"bio": "educator, leader, student",
"avatarUrl": "https://api.dicebear.com/9.x/avataaars/svg?seed=user-245",
"thumbnailUrl": "https://api.dicebear.com/9.x/avataaars/svg?seed=user-245&size=128",
"coverImageUrl": "https://picsum.photos/seed/user-cover-245/1200/400",
"emailVerified": true,
"isActive": true,
"twitterHandle": null,
"createdAt": "2025-04-12T08:19:41.742Z",
"updatedAt": "2025-07-26T00:51:06.966Z"
}