Nelson Denesik
reporter advocate, model 🔩
- Phone
- +1 202-555-0164 ext 2
Overview
people / #165
reporter advocate, model 🔩
Request
curl example
curl -sS \ "https://example-data.com/api/v1/people/165" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/people/165" ); const person = await res.json();
TypeScript example
// Download once: mkdir -p types && curl -o types/people.d.ts https://example-data.com/types/people.d.ts
import type { Person } from "./types/people";
const res = await fetch(
"https://example-data.com/api/v1/people/165"
);
const person = (await res.json()) as Person; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/people/165"
)
people = res.json() Response
{
"id": 165,
"fullName": "Nelson Denesik",
"firstName": "Nelson",
"lastName": "Denesik",
"email": "nelson.denesik-165@example.com",
"phone": "+1 202-555-0164 ext 2",
"occupation": "Senior Factors Orchestrator",
"city": "Starkville",
"countryAlpha2": "NL",
"bio": "reporter advocate, model 🔩",
"avatarUrl": "https://api.dicebear.com/9.x/avataaars/svg?seed=person-165",
"createdAt": "2021-08-03T06:48:37.586Z"
}