crypto-holdings / #32
- userId
-
Judy Hackett @judy_hackett49
- cryptoId
- 16
- quantity
- 4.49151642
- costBasis
- 22.1888304
- purchasedAt
Component variants
Medium
#32
#32
Small
crypto-holdings/32 Related
References
curl -sS \
"https://example-data.com/api/v1/crypto-holdings/32" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/crypto-holdings/32"
);
const cryptoHolding = await res.json();import type { CryptoHolding } from "https://example-data.com/types/crypto-holdings.d.ts";
const res = await fetch(
"https://example-data.com/api/v1/crypto-holdings/32"
);
const cryptoHolding = (await res.json()) as CryptoHolding;import requests
res = requests.get(
"https://example-data.com/api/v1/crypto-holdings/32"
)
crypto_holding = res.json() {
"id": 32,
"userId": 13,
"cryptoId": 16,
"quantity": 4.49151642,
"costBasis": 22.1888304,
"purchasedAt": "2024-07-29T10:08:09.232Z"
}