crypto-holdings / #66
- userId
-
Jensen Bashirian @jensen_bashirian
- cryptoId
- 33
- quantity
- 71.3100771
- costBasis
- 31.14957807
- purchasedAt
Component variants
Medium
#66
#66
Small
crypto-holdings/66 Related
References
curl -sS \
"https://example-data.com/api/v1/crypto-holdings/66" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/crypto-holdings/66"
);
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/66"
);
const cryptoHolding = (await res.json()) as CryptoHolding;import requests
res = requests.get(
"https://example-data.com/api/v1/crypto-holdings/66"
)
crypto_holding = res.json() {
"id": 66,
"userId": 29,
"cryptoId": 33,
"quantity": 71.3100771,
"costBasis": 31.14957807,
"purchasedAt": "2024-10-07T01:56:59.836Z"
}