tornado-scripts/dist/ip.d.ts
tornadocontrib 8d5658ee7a
🖕
They are only public IP echo provider with CORS fuck
2025-01-21 18:24:20 +00:00

21 lines
686 B
TypeScript
Vendored

import { fetchDataOptions } from './providers';
export interface IPResult {
ip: string;
iso?: string;
country?: string;
country_iso?: string;
tor?: boolean;
}
export declare function fetchIp(ipEcho: string, fetchOptions?: fetchDataOptions): Promise<IPResult>;
export interface IPResultFuck {
YourFuckingIPAddress: string;
YourFuckingLocation: string;
YourFuckingHostname: string;
YourFuckingISP: string;
YourFuckingTorExit: boolean;
YourFuckingCity?: string;
YourFuckingCountry: string;
YourFuckingCountryCode: string;
}
export declare function fetchFuckingIp(ipFuck?: string, fetchOptions?: fetchDataOptions): Promise<IPResultFuck>;