Skip to content
Start here

Geolocations

List Geolocations
radar.geolocations.list(GeolocationListParams**kwargs) -> GeolocationListResponse
GET/radar/geolocations
Get Geolocation details
radar.geolocations.get(strgeo_id, GeolocationGetParams**kwargs) -> GeolocationGetResponse
GET/radar/geolocations/{geo_id}
ModelsExpand Collapse
class GeolocationListResponse:
geolocations: List[Geolocation]
geo_id: str
latitude: str

A numeric string.

longitude: str

A numeric string.

name: str
parent: GeolocationParent
geo_id: str
latitude: str

A numeric string.

longitude: str

A numeric string.

name: str
parent: GeolocationParentParent
geo_id: str
latitude: str

A numeric string.

longitude: str

A numeric string.

name: str
type: Literal["CONTINENT", "COUNTRY", "ADM1"]

The type of the geolocation.

One of the following:
"CONTINENT"
"COUNTRY"
"ADM1"
code: Optional[str]
locale: Optional[str]

BCP 47 locale code used for the geolocation name translation

type: Literal["CONTINENT", "COUNTRY", "ADM1"]

The type of the geolocation.

One of the following:
"CONTINENT"
"COUNTRY"
"ADM1"
code: Optional[str]
locale: Optional[str]

BCP 47 locale code used for the geolocation name translation

type: Literal["CONTINENT", "COUNTRY", "ADM1"]

The type of the geolocation.

One of the following:
"CONTINENT"
"COUNTRY"
"ADM1"
code: Optional[str]
locale: Optional[str]

BCP 47 locale code used for the geolocation name translation

class GeolocationGetResponse:
geolocation: Geolocation
geo_id: str
latitude: str

A numeric string.

longitude: str

A numeric string.

name: str
parent: GeolocationParent
geo_id: str
latitude: str

A numeric string.

longitude: str

A numeric string.

name: str
parent: GeolocationParentParent
geo_id: str
latitude: str

A numeric string.

longitude: str

A numeric string.

name: str
type: Literal["CONTINENT", "COUNTRY", "ADM1"]

The type of the geolocation.

One of the following:
"CONTINENT"
"COUNTRY"
"ADM1"
code: Optional[str]
locale: Optional[str]

BCP 47 locale code used for the geolocation name translation

type: Literal["CONTINENT", "COUNTRY", "ADM1"]

The type of the geolocation.

One of the following:
"CONTINENT"
"COUNTRY"
"ADM1"
code: Optional[str]
locale: Optional[str]

BCP 47 locale code used for the geolocation name translation

type: Literal["CONTINENT", "COUNTRY", "ADM1"]

The type of the geolocation.

One of the following:
"CONTINENT"
"COUNTRY"
"ADM1"
code: Optional[str]
locale: Optional[str]

BCP 47 locale code used for the geolocation name translation