Skip to main content
GET
/
regions
/
{region_id}
Python (SDK)
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": {}
}

Authorizations

Authorization
string
header
required

Path Parameters

region_id
string
required

The region region_ID

Response

200 - application/vnd.api+json

Success

data
object
I