Lazaro Herzog
@lazaro_herzog
nucleotidase junkie 👱🏼
- Phone
- +1 202-555-0180 ext 2
- Joined
- 9/28/2024
Overview
users / #181
@lazaro_herzog
nucleotidase junkie 👱🏼
Request
curl example
curl -sS \ "https://example-data.com/api/v1/users/181" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/users/181" ); 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/181"
);
const user = (await res.json()) as User; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/users/181"
)
user = res.json() Response
{
"id": 181,
"firstName": "Lazaro",
"lastName": "Herzog",
"fullName": "Lazaro Herzog",
"username": "lazaro_herzog",
"email": "lazaro_herzog@example.com",
"phone": "+1 202-555-0180 ext 2",
"bio": "nucleotidase junkie 👱🏼",
"avatarUrl": "https://api.dicebear.com/9.x/avataaars/svg?seed=user-181",
"thumbnailUrl": "https://api.dicebear.com/9.x/avataaars/svg?seed=user-181&size=128",
"coverImageUrl": "https://picsum.photos/seed/user-cover-181/1200/400",
"emailVerified": true,
"isActive": true,
"twitterHandle": "lazaro_herzog",
"createdAt": "2024-09-28T21:29:27.945Z",
"updatedAt": "2024-11-24T03:38:35.139Z"
}