TypeScript
import { Latitudesh } from "latitudesh-typescript-sdk"; const latitudesh = new Latitudesh({ bearer: process.env["LATITUDESH_BEARER"] ?? "", }); async function run() { const result = await latitudesh.regions.get({}); for await (const page of result) { console.log(page); } } run();
{ "data": [ { "id": "loc_k0RyqvNvqW36X", "type": "regions", "attributes": { "name": "Luettgen Group", "slug": "luettgen-group", "facility": "Luettgen Group", "country": { "name": "Grant and Sons", "slug": "grant-and-sons" }, "type": "core" } } ], "meta": {} }
Lists all available locations. For server availability by location, please see the Plans API.
Number of items to return per page
x >= 1
Page number to return (starts at 1)
Success
Show child attributes
Was this page helpful?