import { Latitudesh } from "latitudesh-typescript-sdk";
const latitudesh = new Latitudesh({
bearer: process.env["LATITUDESH_BEARER"] ?? "",
});
async function run() {
const result = await latitudesh.plans.listStorage();
console.log(result);
}
run();{
"data": [
{
"id": "plan_059EqY7kOQj8p",
"type": "storage_plans",
"attributes": {
"name": "Filesystem",
"regions": [
{
"name": "United States",
"locations": [
"DAL"
],
"pricing": {
"USD": {
"month": 0.12
},
"BRL": {
"month": 0.68
}
}
}
]
}
}
]
}import { Latitudesh } from "latitudesh-typescript-sdk";
const latitudesh = new Latitudesh({
bearer: process.env["LATITUDESH_BEARER"] ?? "",
});
async function run() {
const result = await latitudesh.plans.listStorage();
console.log(result);
}
run();{
"data": [
{
"id": "plan_059EqY7kOQj8p",
"type": "storage_plans",
"attributes": {
"name": "Filesystem",
"regions": [
{
"name": "United States",
"locations": [
"DAL"
],
"pricing": {
"USD": {
"month": 0.12
},
"BRL": {
"month": 0.68
}
}
}
]
}
}
]
}Was this page helpful?