TypeScript
import { Latitudesh } from "latitudesh-typescript-sdk"; const latitudesh = new Latitudesh({ bearer: process.env["LATITUDESH_BEARER"] ?? "", }); async function run() { const result = await latitudesh.plans.getBandwidth({}); for await (const page of result) { console.log(page); } } run();
{ "data": [ { "id": "chile-54", "type": "bandwidth_plan", "attributes": { "region": "Chile 54", "locations": [ "ASH", "SAO" ], "pricing": { "usd": { "monthly": 5000, "yearly": 6000 }, "brl": { "monthly": 8000, "yearly": null } } } } ], "meta": {} }
Lists all bandwidth plans.
The plan ID to filter by
Number of items to return per page
x >= 1
Page number to return (starts at 1)
Success
Show child attributes
Was this page helpful?