Kamryn Rogahn
@kamryn_rogahn40
spear enthusiast, business owner
- Phone
- +1 202-555-0169 ext 2
- Joined
- 1/6/2025
Overview
users / #170
@kamryn_rogahn40
spear enthusiast, business owner
Request
curl example
curl -sS \ "https://example-data.com/api/v1/users/170" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/users/170" ); 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/170"
);
const user = (await res.json()) as User; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/users/170"
)
user = res.json() Response
{
"id": 170,
"firstName": "Kamryn",
"lastName": "Rogahn",
"fullName": "Kamryn Rogahn",
"username": "kamryn_rogahn40",
"email": "kamryn_rogahn40@example.com",
"phone": "+1 202-555-0169 ext 2",
"bio": "spear enthusiast, business owner",
"avatarUrl": "https://api.dicebear.com/9.x/avataaars/svg?seed=user-170",
"thumbnailUrl": "https://api.dicebear.com/9.x/avataaars/svg?seed=user-170&size=128",
"coverImageUrl": "https://picsum.photos/seed/user-cover-170/1200/400",
"emailVerified": true,
"isActive": true,
"twitterHandle": null,
"createdAt": "2025-01-06T23:30:44.271Z",
"updatedAt": "2025-03-03T00:37:45.003Z"
}