crypto-holdings / #136
- userId
-
Jarrell Flatley @jarrell_flatley39
- cryptoId
- 49
- quantity
- 27.46138481
- costBasis
- 35.03270289
- purchasedAt
Component variants
Medium
#136
#136
Small
crypto-holdings/136 Related
References
curl -sS \
"https://example-data.com/api/v1/crypto-holdings/136" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/crypto-holdings/136"
);
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/136"
);
const cryptoHolding = (await res.json()) as CryptoHolding;import requests
res = requests.get(
"https://example-data.com/api/v1/crypto-holdings/136"
)
crypto_holding = res.json() {
"id": 136,
"userId": 61,
"cryptoId": 49,
"quantity": 27.46138481,
"costBasis": 35.03270289,
"purchasedAt": "2024-10-21T04:40:49.276Z"
}