Wiley Rodriguez
@wiley.rodriguez19
hydrolyse advocate 🎿
- Phone
- +1 202-555-0150 ext 2
- Joined
- 8/24/2024
Overview
users / #151
@wiley.rodriguez19
hydrolyse advocate 🎿
Request
curl example
curl -sS \ "https://example-data.com/api/v1/users/151" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/users/151" ); 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/151"
);
const user = (await res.json()) as User; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/users/151"
)
user = res.json() Response
{
"id": 151,
"firstName": "Wiley",
"lastName": "Rodriguez",
"fullName": "Wiley Rodriguez",
"username": "wiley.rodriguez19",
"email": "wiley.rodriguez19@example.com",
"phone": "+1 202-555-0150 ext 2",
"bio": "hydrolyse advocate 🎿",
"avatarUrl": "https://api.dicebear.com/9.x/avataaars/svg?seed=user-151",
"thumbnailUrl": "https://api.dicebear.com/9.x/avataaars/svg?seed=user-151&size=128",
"coverImageUrl": "https://picsum.photos/seed/user-cover-151/1200/400",
"emailVerified": false,
"isActive": true,
"twitterHandle": null,
"createdAt": "2024-08-24T15:22:05.591Z",
"updatedAt": "2024-09-06T17:23:28.619Z"
}