from latitudesh_python_sdk import Latitudesh
import os
with Latitudesh(
bearer=os.getenv("LATITUDESH_BEARER", ""),
) as latitudesh:
res = latitudesh.plans.list_storage()
# Handle response
print(res)
{
"data": [
{
"id": "plan_MLGXPdWgdnNWk",
"type": "storage_plans",
"attributes": {
"name": "Filesystem",
"regions": [
{
"name": "United States",
"locations": [
"DAL"
],
"pricing": {
"USD": {
"month": 0.12
},
"BRL": {
"month": 0.68
}
}
}
]
}
}
]
}
from latitudesh_python_sdk import Latitudesh
import os
with Latitudesh(
bearer=os.getenv("LATITUDESH_BEARER", ""),
) as latitudesh:
res = latitudesh.plans.list_storage()
# Handle response
print(res)
{
"data": [
{
"id": "plan_MLGXPdWgdnNWk",
"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?