mirror of
https://github.com/LukeHagar/plexjs.git
synced 2025-12-06 04:20:46 +00:00
5.0 KiB
5.0 KiB
GetTokenByPinIdGeoData
Geo location data
Example Usage
import { GetTokenByPinIdGeoData } from "@lukehagar/plexjs/sdk/models/operations";
let value: GetTokenByPinIdGeoData = {
code: "VI",
continentCode: "NA",
country: "United States Virgin Islands",
city: "Amsterdam",
europeanUnionMember: true,
timeZone: "America/St_Thomas",
postalCode: "802",
inPrivacyRestrictedCountry: true,
inPrivacyRestrictedRegion: true,
subdivisions: "Saint Thomas",
coordinates: "18.3381, -64.8941",
};
Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
code |
string | ✔️ | The ISO 3166-1 alpha-2 code of the country. | VI |
continentCode |
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 |
europeanUnionMember |
boolean | ➖ | Indicates if the country is a member of the European Union. | true |
timeZone |
string | ✔️ | The time zone of the country. | America/St_Thomas |
postalCode |
string | ✔️ | The postal code of the location. | 802 |
inPrivacyRestrictedCountry |
boolean | ➖ | Indicates if the country has privacy restrictions. | true |
inPrivacyRestrictedRegion |
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 |