other
- userId
-
Orrin Grant @orrin.grant42
- label
- other
- recipient
- Jasmine Schaden-Hagenes
- street1
- 597 W 4th Avenue
- street2
- Suite 454
- city
- South Rosalinda
- region
- Georgia
- postalCode
- 74878-2725
- countryAlpha2
- KR
- isDefault
- true
- createdAt
Overview
addresses / #205
other
#205
Request
curl example
curl -sS \ "https://example-data.com/api/v1/addresses/205" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/addresses/205" ); const address = await res.json();
TypeScript example
// Download once: mkdir -p types && curl -o types/addresses.d.ts https://example-data.com/types/addresses.d.ts
import type { Address } from "./types/addresses";
const res = await fetch(
"https://example-data.com/api/v1/addresses/205"
);
const address = (await res.json()) as Address; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/addresses/205"
)
addresse = res.json() Response
{
"id": 205,
"userId": 152,
"label": "other",
"recipient": "Jasmine Schaden-Hagenes",
"street1": "597 W 4th Avenue",
"street2": "Suite 454",
"city": "South Rosalinda",
"region": "Georgia",
"postalCode": "74878-2725",
"countryAlpha2": "KR",
"isDefault": true,
"createdAt": "2024-10-17T11:34:34.731Z"
}