| 8 | } |
| 9 | |
| 10 | export interface IPWhoIsResponse { |
| 11 | ip: string |
| 12 | success: boolean |
| 13 | type: string |
| 14 | continent: string |
| 15 | continent_code: string |
| 16 | country: string |
| 17 | country_code: string |
| 18 | region: string |
| 19 | region_code: string |
| 20 | city: string |
| 21 | latitude: number |
| 22 | longitude: number |
| 23 | is_eu: boolean |
| 24 | postal: string |
| 25 | calling_code: string |
| 26 | capital: string |
| 27 | borders: string |
| 28 | flag: { |
| 29 | img: string |
| 30 | emoji: string |
| 31 | emoji_unicode: string |
| 32 | } |
| 33 | connection: { |
| 34 | asn: number |
| 35 | org: string |
| 36 | isp: string |
| 37 | domain: string |
| 38 | } |
| 39 | timezone: { |
| 40 | id: string |
| 41 | abbr: string |
| 42 | is_dst: boolean |
| 43 | offset: number |
| 44 | utc: string |
| 45 | current_time: string |
| 46 | } |
| 47 | } |
| 48 | |
| 49 | export interface IPAPIResponse { |
| 50 | ip: string |
nothing calls this directly
no outgoing calls
no test coverage detected