Authorizations
Path Parameters
The region region_ID
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.get(region_id="reg_GnzRD5W1dM5yw")
# Handle response
print(res)
{
"data": {
"id": "loc_WVQJDMQlDRbyE",
"type": "regions",
"attributes": {
"name": "MacGyver-Tremblay",
"slug": "macgyver-tremblay",
"facility": "MacGyver-Tremblay",
"country": {
"name": "Breitenberg, Kirlin and Doyle",
"slug": "breitenberg,-kirlin-and-doyle"
},
"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_GnzRD5W1dM5yw")
# Handle response
print(res)
{
"data": {
"id": "loc_WVQJDMQlDRbyE",
"type": "regions",
"attributes": {
"name": "MacGyver-Tremblay",
"slug": "macgyver-tremblay",
"facility": "MacGyver-Tremblay",
"country": {
"name": "Breitenberg, Kirlin and Doyle",
"slug": "breitenberg,-kirlin-and-doyle"
},
"type": "core"
}
},
"meta": {}
}
The region region_ID
Success
Show child attributes
Was this page helpful?