crypto-holdings / #149
- userId
-
Tiara Wilderman @tiara_wilderman
- cryptoId
- 34
- quantity
- 59.06084022
- costBasis
- 65.14987355
- purchasedAt
Component variants
Medium
#149
#149
Small
crypto-holdings/149 Related
References
curl -sS \
"https://example-data.com/api/v1/crypto-holdings/149" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/crypto-holdings/149"
);
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/149"
);
const cryptoHolding = (await res.json()) as CryptoHolding;import requests
res = requests.get(
"https://example-data.com/api/v1/crypto-holdings/149"
)
crypto_holding = res.json() {
"id": 149,
"userId": 66,
"cryptoId": 34,
"quantity": 59.06084022,
"costBasis": 65.14987355,
"purchasedAt": "2024-06-12T08:41:54.830Z"
}