from latitudesh_python_sdk import Latitudesh
import os
with Latitudesh(
bearer=os.getenv("LATITUDESH_BEARER", ""),
) as latitudesh:
res = latitudesh.regions.get(region_id="reg_GMy1DbYLqN50m")
# Handle response
print(res){
"data": {
"id": "loc_WVQJDMQlDRbyE",
"type": "regions",
"attributes": {
"name": "Durgan-Wunsch",
"slug": "durgan-wunsch",
"facility": "Durgan-Wunsch",
"country": {
"name": "Kreiger-Muller",
"slug": "kreiger-muller"
},
"type": "core"
}
},
"meta": {}
}from latitudesh_python_sdk import Latitudesh
import os
with Latitudesh(
bearer=os.getenv("LATITUDESH_BEARER", ""),
) as latitudesh:
res = latitudesh.regions.get(region_id="reg_GMy1DbYLqN50m")
# Handle response
print(res){
"data": {
"id": "loc_WVQJDMQlDRbyE",
"type": "regions",
"attributes": {
"name": "Durgan-Wunsch",
"slug": "durgan-wunsch",
"facility": "Durgan-Wunsch",
"country": {
"name": "Kreiger-Muller",
"slug": "kreiger-muller"
},
"type": "core"
}
},
"meta": {}
}Was this page helpful?