crypto-holdings / #133
- userId
-
Autumn Bartell @autumn.bartell95
- cryptoId
- 20
- quantity
- 32.56892147
- costBasis
- 7.94540448
- purchasedAt
Component variants
Medium
#133
#133
Small
crypto-holdings/133 Related
References
curl -sS \
"https://example-data.com/api/v1/crypto-holdings/133" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/crypto-holdings/133"
);
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/133"
);
const cryptoHolding = (await res.json()) as CryptoHolding;import requests
res = requests.get(
"https://example-data.com/api/v1/crypto-holdings/133"
)
crypto_holding = res.json() {
"id": 133,
"userId": 58,
"cryptoId": 20,
"quantity": 32.56892147,
"costBasis": 7.94540448,
"purchasedAt": "2024-08-26T17:23:17.074Z"
}