Ifconfig

data class Ifconfig(val ip: String, val ipDecimal: Long, val country: String, val countryIso: String, val countryEu: Boolean, val regionName: String, val regionCode: String, val zipCode: String, val city: String, val latitude: Double, val longitude: Double, val timeZone: String, val asn: String, val asnOrg: String, val userAgent: UserAgent)

IP 정보 조회(위치 정보 조회)

Constructors

Link copied to clipboard
constructor(ip: String, ipDecimal: Long, country: String, countryIso: String, countryEu: Boolean, regionName: String, regionCode: String, zipCode: String, city: String, latitude: Double, longitude: Double, timeZone: String, asn: String, asnOrg: String, userAgent: UserAgent)

Properties

Link copied to clipboard
val asn: String
Link copied to clipboard
@SerializedName(value = "asn_org")
val asnOrg: String
Link copied to clipboard

도시명

Link copied to clipboard

국가명

Link copied to clipboard
@SerializedName(value = "country_eu")
val countryEu: Boolean

EU 국가 여부

Link copied to clipboard
@SerializedName(value = "country_iso")
val countryIso: String

국가 코드

Link copied to clipboard
val ip: String

IP 주소

Link copied to clipboard
@SerializedName(value = "ip_decimal")
val ipDecimal: Long

IP 주소(10진수)

Link copied to clipboard

위도

Link copied to clipboard

경도

Link copied to clipboard
@SerializedName(value = "region_code")
val regionCode: String

지역 코드

Link copied to clipboard
@SerializedName(value = "region_name")
val regionName: String

지역명

Link copied to clipboard
@SerializedName(value = "time_zone")
val timeZone: String

시간대

Link copied to clipboard
@SerializedName(value = "user_agent")
val userAgent: UserAgent

User Agent 정보

Link copied to clipboard
@SerializedName(value = "zip_code")
val zipCode: String

우편번호