Authorizations
Query Parameters
Number of items to return per page
Required range:
x >= 1
Page number to return (starts at 1)
Required range:
x >= 1
Response
200 - application/vnd.api+json
Success
from latitudesh_python_sdk import Latitudesh
import os
with Latitudesh(
bearer=os.getenv("LATITUDESH_BEARER", ""),
) as latitudesh:
res = latitudesh.regions.list(page_size=20, page_number=1)
while res is not None:
# Handle items
res = res.next()
{
"data": [
{
"id": "loc_k0RyqvNvqW36X",
"type": "regions",
"attributes": {
"name": "Mraz, Pagac and Murazik",
"slug": "mraz,-pagac-and-murazik",
"facility": "Mraz, Pagac and Murazik",
"country": {
"name": "Wintheiser, Kreiger and Parisian",
"slug": "wintheiser,-kreiger-and-parisian"
},
"type": "core"
}
}
],
"meta": {}
}
Lists all available locations. For server availability by location, please see the Plans API.
from latitudesh_python_sdk import Latitudesh
import os
with Latitudesh(
bearer=os.getenv("LATITUDESH_BEARER", ""),
) as latitudesh:
res = latitudesh.regions.list(page_size=20, page_number=1)
while res is not None:
# Handle items
res = res.next()
{
"data": [
{
"id": "loc_k0RyqvNvqW36X",
"type": "regions",
"attributes": {
"name": "Mraz, Pagac and Murazik",
"slug": "mraz,-pagac-and-murazik",
"facility": "Mraz, Pagac and Murazik",
"country": {
"name": "Wintheiser, Kreiger and Parisian",
"slug": "wintheiser,-kreiger-and-parisian"
},
"type": "core"
}
}
],
"meta": {}
}
Number of items to return per page
x >= 1
Page number to return (starts at 1)
x >= 1
Success
Show child attributes
Was this page helpful?