Ken Towne
@ken.towne
artist, activist, environmentalist
- ken.towne@example.com
- Phone
- +1 202-555-0147 ext 3
- Joined
- 9/17/2024
Overview
users / #248
@ken.towne
artist, activist, environmentalist
Request
curl example
curl -sS \ "https://example-data.com/api/v1/users/248" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/users/248" ); 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/248"
);
const user = (await res.json()) as User; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/users/248"
)
user = res.json() Response
{
"id": 248,
"firstName": "Ken",
"lastName": "Towne",
"fullName": "Ken Towne",
"username": "ken.towne",
"email": "ken.towne@example.com",
"phone": "+1 202-555-0147 ext 3",
"bio": "artist, activist, environmentalist",
"avatarUrl": "https://api.dicebear.com/9.x/avataaars/svg?seed=user-248",
"thumbnailUrl": "https://api.dicebear.com/9.x/avataaars/svg?seed=user-248&size=128",
"coverImageUrl": "https://picsum.photos/seed/user-cover-248/1200/400",
"emailVerified": true,
"isActive": true,
"twitterHandle": "ken.towne",
"createdAt": "2024-09-17T09:41:46.691Z",
"updatedAt": "2025-01-28T08:10:17.754Z"
}