other
- userId
-
Brycen Bayer @brycen_bayer60
- label
- other
- recipient
- Don Nicolas
- street1
- 1864 Dare Creek
- street2
- Apt. 192
- city
- Port Susanaside
- region
- North Carolina
- postalCode
- 60276
- countryAlpha2
- PT
- isDefault
- true
- createdAt
Overview
addresses / #6
other
#6
Request
curl example
curl -sS \ "https://example-data.com/api/v1/addresses/6" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/addresses/6" ); 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/6"
);
const address = (await res.json()) as Address; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/addresses/6"
)
addresse = res.json() Response
{
"id": 6,
"userId": 6,
"label": "other",
"recipient": "Don Nicolas",
"street1": "1864 Dare Creek",
"street2": "Apt. 192",
"city": "Port Susanaside",
"region": "North Carolina",
"postalCode": "60276",
"countryAlpha2": "PT",
"isDefault": true,
"createdAt": "2024-06-30T06:49:48.991Z"
}