mirror of
https://github.com/LukeHagar/plexruby.git
synced 2025-12-06 04:20:52 +00:00
4.5 KiB
4.5 KiB
GeoData
Geo location data
Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
code |
::String | ✔️ | The ISO 3166-1 alpha-2 code of the country. | VI |
continent_code |
::String | ✔️ | The continent code where the country is located. | NA |
country |
::String | ✔️ | The official name of the country. | United States Virgin Islands |
city |
::String | ✔️ | The name of the city. | Amsterdam |
european_union_member |
T::Boolean | ✔️ | Indicates if the country is a member of the European Union. | true |
time_zone |
::String | ✔️ | The time zone of the country. | America/St_Thomas |
postal_code |
::String | ✔️ | The postal code of the location. | 802 |
in_privacy_restricted_country |
T::Boolean | ✔️ | Indicates if the country has privacy restrictions. | true |
in_privacy_restricted_region |
T::Boolean | ✔️ | Indicates if the region has privacy restrictions. | true |
subdivisions |
::String | ✔️ | The name of the primary administrative subdivision. | Saint Thomas |
coordinates |
::String | ✔️ | The geographical coordinates (latitude, longitude) of the location. | 18.3381, -64.8941 |