UNPKG

ipgeo_sdk

Version:

A TypeScript SDK for interacting with the IPGeo API, providing fast and reliable geolocation services.

27 lines (26 loc) 579 B
export interface IPGeoResponse { ip_range_start: string; ip_range_end: string; continent_code: string; country_code: string; state: string; city: string; latitude: number; longitude: number; timezone: string; currency: { abbreviation: string; currency_name: string; }; } interface IPGeoSdkOptions { apiKey: string; } export declare class IPGeoSdk { private apiKey; private axiosInstance; private baseUrl; constructor(options: IPGeoSdkOptions); getGeoData(ip: string): Promise<any>; } export {};